Media Generation
Generate Images
Generate images from text prompts using the Theo Create engine.
POST
Generate Images
Generate one or more images from a text prompt. This is a synchronous endpoint — images are returned directly in the response.
Authentication
Requires a Bearer token. See Authentication.Request Body
Text description of the image(s) to generate.
Visual style hint (e.g.,
"photorealistic", "illustration", "watercolor", "3d-render"). Appended to the prompt for the image engine.Aspect ratio (e.g.,
"1:1", "16:9", "9:16", "4:3"). Defaults to the engine’s native ratio.Number of images to generate (1–4).
Request Examples
Response
Unique image generation ID (prefixed
img_).ISO 8601 timestamp.
Array of generated images.
Example Response
Errors
| Status | Code | Description |
|---|---|---|
| 400 | missing_prompt | prompt is required |
| 401 | invalid_api_key | Missing or invalid API key |
| 429 | rate_limit_exceeded | Too many requests |
Generate Images
