← All models
images
Details
- Accepts
- text + image
Pricing
- Price
- 9.38 cr / image
Prices in credits (1 credit = $0.01).
Data schema
approximateInput
| Field | Type | Description |
|---|---|---|
| n | integer | Number of outputs. |
| size | stringenum: 1024*1024, 1280*1280, 1440*1440, 1024*1440, 1440*1024, 1080*1920… | |
| image | string | Input image (URL or data URI). |
| promptrequired | string | The text prompt. |
| aspect_ratio | stringenum: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2… | |
| seed | — | Random seed for reproducibility (0-2147483647). |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. |
| image_size | — | The size of the generated image. If not provided, the size of the final input image will be used. |
| image_urls | array | Reference images for editing (1-3 images required). Order matters: reference as 'image 1', 'image 2', 'image 3' in prompt. Resolution: 384-5000px each dimension. Max size: 10MB each. Formats: JPEG, JPG, PNG (no alpha), WEBP. |
| num_images | integer | The number of images to generate. |
| output_format | stringenum: jpeg, png, webp | The format of the generated image. |
| negative_prompt | — | Content to avoid in the generated image. Max 500 characters. |
| enable_safety_checker | boolean | Enable content moderation for input and output. Disabling it requires account authorization; unauthorized requests are always checked. |
| enable_prompt_expansion | boolean | Enable LLM prompt optimization for better results. |
Output
| Field | Type | Description |
|---|---|---|
| images | array | Generated images ([{ url }]). |