expa-ai
/
happy-kpop
- Public
- 1.6K runs
Run expa-ai/happy-kpop with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
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
|
512
|
None
|
height |
integer
|
512
|
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
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 7
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 1,
"description": "Image for Faceswap."
},
"width": {
"type": "integer",
"title": "Width",
"default": 512,
"x-order": 4
},
"height": {
"type": "integer",
"title": "Height",
"default": 512,
"x-order": 5
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 2,
"description": "Prompt for the image."
},
"sampler": {
"enum": [
"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"
],
"type": "string",
"title": "sampler",
"description": "Good samplers: Heun, DPM2 a, DPM fast, DPM++ SDE Karras",
"default": "DPM++ SDE Karras",
"x-order": 9
},
"cfg_scale": {
"type": "integer",
"title": "Cfg Scale",
"default": 7,
"x-order": 8
},
"process_type": {
"enum": [
"generate",
"generate_swap",
"generate_swap_upscale"
],
"type": "string",
"title": "process_type",
"description": "Choose a process type.",
"default": "generate",
"x-order": 0
},
"inference_steps": {
"type": "integer",
"title": "Inference Steps",
"default": 20,
"x-order": 6,
"description": "Number of inference steps."
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 3,
"description": "Negative prompts."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}