fater-ai / ffcd
- Public
- 32 runs
-
A100 (80GB)
Run fater-ai/ffcd 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 |
---|---|---|---|
prompt |
string
|
|
The text prompt that guides image generation
|
canny_image |
string
|
Preprocessed canny image. Required.
|
|
depth_image |
string
|
Preprocessed depth image. Required.
|
|
canny_strength |
number
|
0.6
Max: 2 |
Strength for canny conditionning.
|
depth_strength |
number
|
0.6
Max: 2 |
Strength for depth conditionning.
|
guidance_scale |
number
|
3.5
Max: 50 |
Controls how closely the image follows the prompt.
|
steps |
integer
|
8
Min: 1 Max: 50 |
Number of denoising steps.
|
seed |
integer
|
Random seed for reproducibility.
|
|
masked_image |
string
|
Input image for inpainting. Optionnal.
|
|
mask_image |
string
|
Mask image for inpainting (white pixels will be repainted). Optionnal.
|
|
fill_strength |
number
|
0.6
Max: 1 |
Strength of inpainting (how much to repaint masked area).
|
control_guidance_start |
number
|
0
Max: 1 |
Percentage of steps at which conditionning starts applying.
|
control_guidance_end |
number
|
1
Max: 1 |
Percentage of steps at which conditionning stops applying.
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 7,
"description": "Random seed for reproducibility."
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 8,
"maximum": 50,
"minimum": 1,
"x-order": 6,
"description": "Number of denoising steps."
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 0,
"description": "The text prompt that guides image generation"
},
"mask_image": {
"type": "string",
"title": "Mask Image",
"format": "uri",
"x-order": 9,
"description": "Mask image for inpainting (white pixels will be repainted). Optionnal."
},
"canny_image": {
"type": "string",
"title": "Canny Image",
"format": "uri",
"x-order": 1,
"description": "Preprocessed canny image. Required."
},
"depth_image": {
"type": "string",
"title": "Depth Image",
"format": "uri",
"x-order": 2,
"description": "Preprocessed depth image. Required."
},
"masked_image": {
"type": "string",
"title": "Masked Image",
"format": "uri",
"x-order": 8,
"description": "Input image for inpainting. Optionnal."
},
"fill_strength": {
"type": "number",
"title": "Fill Strength",
"default": 0.6,
"maximum": 1,
"minimum": 0,
"x-order": 10,
"description": "Strength of inpainting (how much to repaint masked area)."
},
"canny_strength": {
"type": "number",
"title": "Canny Strength",
"default": 0.6,
"maximum": 2,
"minimum": 0,
"x-order": 3,
"description": "Strength for canny conditionning."
},
"depth_strength": {
"type": "number",
"title": "Depth Strength",
"default": 0.6,
"maximum": 2,
"minimum": 0,
"x-order": 4,
"description": "Strength for depth conditionning."
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 3.5,
"maximum": 50,
"minimum": 0,
"x-order": 5,
"description": "Controls how closely the image follows the prompt."
},
"control_guidance_end": {
"type": "number",
"title": "Control Guidance End",
"default": 1,
"maximum": 1,
"minimum": 0,
"x-order": 12,
"description": "Percentage of steps at which conditionning stops applying."
},
"control_guidance_start": {
"type": "number",
"title": "Control Guidance Start",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 11,
"description": "Percentage of steps at which conditionning starts applying."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}