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 |
|---|---|---|---|
| instruction |
string
|
|
The instruction for editing or generating!
|
| lora |
None
|
fft
|
The task/lora type
|
| output_w |
integer
|
1440
|
The width of output image
|
| output_h |
integer
|
1440
|
The height of output image
|
| input_image |
string
|
The input image (optional)
|
|
| input_mask |
string
|
The input mask (optional)
|
|
| input_reference_image |
string
|
The input reference image (optional)
|
|
| seed |
integer
|
-1
|
The seed for generation (default: -1 for random)
|
| sample_steps |
integer
|
50
|
The sample step for generation (optional, default: 50)
|
| guide_scale |
number
|
50
|
The guide scale for generation (optional, default: 50)
|
| repainting_scale |
number
|
0
|
The repainting scale for content filling generation (optional, default: 0.0)
|
| use_change |
boolean
|
True
|
Use change (optional, default: True)
|
| keep_pixels |
boolean
|
True
|
Keep pixels (optional, default: True)
|
| keep_pixels_rate |
number
|
0.8
|
Keep pixels rate (optional, default: 0.8)
|
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'}