Creates variations of an image. Request must be sent as multipart/form-data with model and image (or image[]).
Does not support streaming.
Model identifier in format provider/model
Image file to create variations of. Use field name image for a single file or image[] for multiple (first image is used).
Number of variations to generate
1 <= x <= 10Size of the output images
256x256, 512x512, 1024x1024, 1792x1024, 1024x1792, 1536x1024, 1024x1536, auto Format of the response
url, b64_json User identifier for tracking
Fallback models to try if primary model fails
Successful response. Returns JSON with generated image variation(s).
Unique identifier for the generation request
Unix timestamp when the image was created
Model used for generation
Array of generated images
Background type for the image
Output image format
png, webp, jpeg Quality of the generated image
Size of the generated image
256x256, 512x512, 1024x1024, 1792x1024, 1024x1792, 1536x1024, 1024x1536, auto Additional fields included in responses