Endpoint
Request body
string
required
The text description of the image you want to generate. Be descriptive for best results.
Response
string
The generated image data returned from the AI model. This typically contains the image URL or base64-encoded image data.
Example request
Example response
Error codes
error
Bad request - The prompt parameter is missing or invalid
error
Internal server error - The image generation service failed to process the request