Create image
Changed onCreates an image given a prompt. Internally routes to a chat completions model with image generation capabilities.
post/v1/images/generations
Request
- Base URLhttps://api.llmgateway.io
- AuthHTTP bearer
Request body
Example request
{
"prompt": "A white siamese cat",
"model": "gemini-3.1-flash-image",
"n": 1,
"size": "1024x1024",
"quality": "standard",
"response_format": "b64_json",
"style": "vivid",
"aspect_ratio": "16:9",
"moderation": "low",
"service_tier": "flex"
}Response
Image generation response.
Changes
- info
added the optional property
to the response with the status
- info
- info
added the new optional request property
- info