expa-ai
/
happy-future
- Public
- 671 runs
Run expa-ai/happy-future 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 |
---|---|---|---|
category |
string
(enum)
|
hiphop
Options: hiphop, future |
Choose a category.
|
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.
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 8
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 2,
"description": "Image for Faceswap."
},
"width": {
"type": "integer",
"title": "Width",
"default": 576,
"x-order": 5
},
"height": {
"type": "integer",
"title": "Height",
"default": 768,
"x-order": 6
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 3,
"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": 10
},
"category": {
"enum": [
"hiphop",
"future"
],
"type": "string",
"title": "category",
"description": "Choose a category.",
"default": "hiphop",
"x-order": 0
},
"cfg_scale": {
"type": "integer",
"title": "Cfg Scale",
"default": 7,
"x-order": 9
},
"replace_bg": {
"type": "boolean",
"title": "Replace Bg",
"default": true,
"x-order": 11,
"description": "Remove background from the generated image."
},
"process_type": {
"enum": [
"generate",
"generate_swap",
"generate_swap_upscale"
],
"type": "string",
"title": "process_type",
"description": "Choose a process type.",
"default": "generate",
"x-order": 1
},
"inference_steps": {
"type": "integer",
"title": "Inference Steps",
"default": 20,
"x-order": 7,
"description": "Number of inference steps."
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 4,
"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"
}