← All models
images
Details
- Accepts
- text + image
Pricing
- Price
- 3.75 cr / megapixel
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| seed | — | The seed to use for the generation. |
| prompt | string | The prompt to generate an image from. |
| 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. |
| output_format | stringenum: jpeg, png | The format of the generated image. |
| safety_tolerance | stringenum: 1, 2, 3, 4, 5 | The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive. |
| enable_safety_checker | boolean | Whether to enable the safety checker. Disabling it requires account authorization; unauthorized requests are always checked. |
| image_urls | array | List of URLs of input images for editing |
| mode | stringenum: high, fast | Quality/speed trade-off for outpainting. `high` (default) delivers the highest-fidelity results; `fast` is significantly faster and extends most scenes well but may produce lower fidelity. |
| auto_crop | boolean | Whether to automatically crop the reference image when the expanded canvas does not fully contain it. |
| image_url | string | The image URL to expand using outpainting. |
| expand_top | integer | Pixels to expand at the top of the image. |
| expand_left | integer | Pixels to expand on the left of the image. |
| expand_right | integer | Pixels to expand on the right of the image. |
| expand_bottom | integer | Pixels to expand at the bottom of the image. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | The seed used for the generation. |
| images | array | The generated images. |