⚠️ ALPHA FEATURE: Generates an image from a text prompt using an image generation model. This endpoint is in alpha state and not recommended for production use. The API and functionality may change without notice.
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | The text prompt describing the image to generate |
| Field | Type | Description |
|---|---|---|
output | array | Array containing the generated image URL(s) |
400 Bad Request: Invalid or missing prompt401 Unauthorized: Invalid or missing API key429 Too Many Requests: Rate limit exceeded500 Internal Server Error: Image generation service errorcheck_image_generation is enabledBearer authentication header of the form Bearer <token>, where <token> is your auth token.
The text prompt describing the image to generate
"A woman checking her phone"
Successfully generated image
Array containing the generated image URL(s)
URL of the generated image
["https://somesite.com/image.png"]