You're looking at a specific version of this model. Jump to the model overview.

yan-ops /ai_face_swap:eb5fab74

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
640
width, default 640
height
integer
800
width, default 800
sampling_steps
integer
7
sampling_steps, default 7
cfg_scale
number
1.8
cfg_scale default 1.8
sampling_method
string (enum)
Euler A

Options:

DDIM, DPM++ 2M, HeunDiscrete, Euler A, Euler, LCM, DPM2

sampling_method, default Euler A
disable_safety_checker
boolean
True
prompt
seed
integer
generator seed
model
string
control_v11p_sd15_openpose
model, default control_v11p_sd15_openpose
local_control_image
string
local_control_image
control_image
string
control_image
control_guidance_start
number
0
control_guidance_start
control_guidance_end
number
1
control_guidance_start
controlnet_conditioning_scale
number
0.5
control_guidance_start
token_merging_ratio
number
0.5
token_merging_ratio

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'title': 'Output'}