You're looking at a specific version of this model. Jump to the model overview.
expa-ai /diffuser-c-c-2024:5b6770af
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 |
---|---|---|---|
process_type |
string
(enum)
|
generate
Options: generate, generate_swap, generate_swap_upscale |
Choose a process type.
|
image |
string
|
Image for Faceswap.
|
|
prompt |
string
|
|
Prompt for the image.
|
negative_prompt |
string
|
|
Negative prompts.
|
width |
integer
|
576
|
None
|
height |
integer
|
768
|
None
|
inference_steps |
integer
|
20
|
Number of inference steps.
|
seed |
integer
|
-1
|
None
|
cfg_scale |
integer
|
7
|
None
|
sampler |
string
(enum)
|
DPM++ SDE Karras
Options: Euler a, Euler, LMS, Heun, DPM2, DPM2 a, DPM++ 2S a, DPM++ 2M, DPM++ SDE, DPM++ 2M SDE, DPM fast, DPM adaptive, LMS Karras, DPM2 Karras, DPM2 a Karras, DPM++ 2S a Karras, DPM++ 2M Karras, DPM++ SDE Karras, DPM++ 2M SDE Karras |
Good samplers: Heun, DPM2 a, DPM fast, DPM++ SDE Karras
|
replace_bg |
boolean
|
True
|
Remove background from the generated image.
|
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'}