Generate Content
API Reference
Generate Content
Create a content generation job from text input
POST
Generate Content
Endpoint
Authentication
Requires API key inx-api-key header.
Request Body
The text content to transform into social media content
Content format. Options:
image, carousel, reelVisual style template. Options:
infographic, screenshot, meme, minimal, magazine, neon, news, autoTarget platform. Options:
instagram, tiktok, youtube_shortsNumber of slides for carousel format. Range: 1-5. Only applicable when
format is carouselMaximum video duration in seconds. Range: 15-180. Only applicable when
format is reelCustom instructions for content generation
Enable captions for video reels. Only applicable when
format is reelCaption style. Options:
modern, minimal. Requires captionsEnabled: trueCaption position. Options:
bottom, center. Requires captionsEnabled: trueCaption font size. Options:
small, medium, large. Requires captionsEnabled: trueAdditional style variant for customization
Response
Indicates if the request was successful
Human-readable status message
Example Request
Example Response
Error Responses
Notes
- Jobs are processed asynchronously. Use the returned
jobIdto check status and retrieve results - Processing time varies by format: images (~30s), carousels (~1-2min), reels (~2-5min)
- The
visualTemplateparameter is optional. If set toautoor omitted, the system will choose the best template