You're looking at a specific version of this model. Jump to the model overview.
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| prompt |
string
|
Instruction describing the image to generate, or the edit to make. For edits, say what should change and what should stay the same.
|
|
| images |
array
|
[]
|
Up to 8 input images to edit or combine. Leave empty for text-to-image generation. When using several images, refer to each by what it shows in the prompt.
|
| thinking_mode |
None
|
fast
|
How much planning happens before generation. 'fast' is quicker and works for most requests. 'high' plans complex or multi-step edits more carefully, but is slower and costs more.
|
| resolution |
None
|
2k
|
Output resolution.
|
| aspect_ratio |
None
|
auto
|
Aspect ratio of the output. 'auto' picks the framing from your input images and prompt.
|
| regional_edit |
boolean
|
False
|
Experimental. Change only the parts of the image that need to change and keep the rest unchanged. Needs at least one input image. Quality may be lower and generation slower than a regular edit.
|
| negative_prompt |
string
|
What to avoid in the output.
|
|
| seed |
integer
|
Random seed. Reusing a seed does not guarantee identical results, because the prompt is expanded before generation.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}