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 |
|---|---|---|---|
| image |
string
|
Image file
|
|
| mask |
string
|
Mask file
|
|
| prompt |
string
|
Text prompt for image generation
|
|
| negative_prompt |
string
|
Negative prompt for image generation
|
|
| sync |
boolean
|
True
|
Synchronous response mode
|
| seed |
integer
|
Random seed. Set for reproducible generation
|
|
| content_moderation |
boolean
|
False
|
Enable content moderation
|
| mask_type |
None
|
manual
|
[DEPRECATED] Type of mask: manual or automatic. No longer used in V2 API.
|
| preserve_alpha |
boolean
|
True
|
Preserve alpha channel in output. When true, maintains original transparency. When false, output is fully opaque.
|
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'}