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
|
Text prompt for generation
|
|
| aspect_ratio |
None
|
1:1
|
Image aspect ratio
|
| number_of_images |
integer
|
1
Min: 1 Max: 9 |
Number of images to generate
|
| prompt_optimizer |
boolean
|
True
|
Use prompt optimizer
|
| subject_reference |
string
|
An optional character reference image (human face) to use as the subject in the generated image(s).
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}