You're looking at a specific version of this model. Jump to the model overview.
zsxkib /instant-id-basic:5225e059
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
|
An input image
|
|
| prompt |
string
|
|
None
|
| negative_prompt |
string
|
|
Things you do not want to see in your image
|
| seed |
integer
|
Set a seed for reproducibility. Random by default.
|
|
| steps |
integer
|
30
|
Number of sampling steps
|
| cfg |
number
|
4.5
|
Classifier-free guidance scale
|
| sampler_name |
string
|
ddpm
|
Name of the sampler
|
| scheduler |
string
|
karras
|
Name of the scheduler
|
| denoise |
number
|
1
|
Denoising strength
|
| width |
integer
|
1016
|
Width of the output image
|
| height |
integer
|
1016
|
Height of the output image
|
| batch_size |
integer
|
1
|
Batch size for generation
|
| instantid_weight |
number
|
0.8
|
Weight of the InstantID effect
|
| instantid_start_at |
number
|
0
|
Start point of InstantID effect
|
| instantid_end_at |
number
|
1
|
End point of InstantID effect
|
| noise_offset |
number
|
0
|
Noise offset for InstantID
|
| ip_adapter_scale |
number
|
0.8
|
Scale for IP-Adapter in InstantID
|
| reference_image_scale |
number
|
1
|
Scale for the reference image in InstantID
|
| identity_scale |
number
|
1
|
Scale for identity preservation in InstantID
|
| output_format |
None
|
webp
|
Format of the output images
|
| output_quality |
integer
|
80
Max: 100 |
Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
|
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'}