You're looking at a specific version of this model. Jump to the model overview.
yan-ops /ai_face_swap:2e13d731
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 |
---|---|---|---|
source_image |
string
|
source image
|
|
request_id |
string
|
|
request_id
|
det_thresh |
number
|
0.1
|
det_thresh default 0.1
|
local_source |
string
|
local source image
|
|
prompt |
string
|
|
prompt
|
negative_prompt |
string
|
|
negative_prompt
|
batch_size |
integer
|
1
|
batch_size, default 1
|
width |
integer
|
512
|
width, default 512
|
height |
integer
|
640
|
width, default 640
|
sampling_steps |
integer
|
4
|
sampling_steps, default 4
|
cfg_scale |
number
|
1.5
|
cfg_scale default 1.5
|
sampling_method |
string
(enum)
|
Euler
Options: DDIM, DPM++ 2M, HeunDiscrete, Euler A, Euler, LCM, DPM2 |
sampling_method, default Euler
|
disable_safety_checker |
boolean
|
True
|
prompt
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'title': 'Output'}