You're looking at a specific version of this model. Jump to the model overview.
expa-ai /diffuser-c-c-2024:325ab6cd
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 |
---|---|---|---|
category |
string
(enum)
|
hiphop
Options: hiphop, future |
Choose a category.
|
process_type |
string
(enum)
|
generate
Options: generate, generate_swap |
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
|
25
|
Number of inference steps.
|
seed |
integer
|
-1
|
None
|
cfg_scale |
integer
|
5
|
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.
|
reduce_size |
number
|
0.8
|
Reduce the size of the 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'}