Generate new images based on input images and text descriptions.
Bearer authentication format: Bearer {{API Key}}.
Request Body
Mask image URL or Base64 encoding
The size of the generated imagePossible values: 1x1, 2x3, 3x2, 3x4, 4x3, 4x5, 5x4, 9x16, 16x9, 21x9
List of input images to processArray length: 1 - 10Image URL or Base64 encoding
Text description of the desired image. Maximum length is 1000 characters.
Select image generation qualityPossible values: 1k, 2k, 4k
The format of the returned generated image. Currently only b64_json is supported.Possible values: url, b64_json
Response
List of generated images
Image URL (when response_format is url)
Base64-encoded image data (when response_format is b64_json)
The revised prompt (if applicable)