fater-ai / ace
- Public
- 112 runs
Run fater-ai/ace 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 instructions for editing or generating!
|
output_w |
integer
|
1440
|
The width of output image
|
output_h |
integer
|
1440
|
The height of output image
|
image |
string
|
The image to fill
|
|
mask |
string
|
The mask image
|
|
ref |
string
|
The reference image
|
|
seed |
integer
|
-1
|
The seed for generation (default: -1 for random)
|
sample_steps |
integer
|
50
|
The sample step for generation (optional, default: 50)
|
guide_scale |
number
|
50
|
The guide scale for generation (optional, default: 50)
|
keep_pixels_rate |
number
|
0.8
|
Keep pixels rate (optional, default: 0.8)
|
{
"type": "object",
"title": "Input",
"properties": {
"ref": {
"type": "string",
"title": "Ref",
"format": "uri",
"x-order": 5,
"description": "The reference image"
},
"mask": {
"type": "string",
"title": "Mask",
"format": "uri",
"x-order": 4,
"description": "The mask image"
},
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 6,
"description": "The seed for generation (default: -1 for random)"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 3,
"description": "The image to fill"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 0,
"description": "The instructions for editing or generating!"
},
"output_h": {
"type": "integer",
"title": "Output H",
"default": 1440,
"x-order": 2,
"description": "The height of output image"
},
"output_w": {
"type": "integer",
"title": "Output W",
"default": 1440,
"x-order": 1,
"description": "The width of output image"
},
"guide_scale": {
"type": "number",
"title": "Guide Scale",
"default": 50,
"x-order": 8,
"description": "The guide scale for generation (optional, default: 50)"
},
"sample_steps": {
"type": "integer",
"title": "Sample Steps",
"default": 50,
"x-order": 7,
"description": "The sample step for generation (optional, default: 50)"
},
"keep_pixels_rate": {
"type": "number",
"title": "Keep Pixels Rate",
"default": 0.8,
"x-order": 9,
"description": "Keep pixels rate (optional, default: 0.8)"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}