Endpoint
Request body
The text description of the image you want to generate. Be descriptive for best results.
Response
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
Bad request - The prompt parameter is missing or invalid
Internal server error - The image generation service failed to process the request