datong-new / f-fill
- Public
- 17 runs
Run datong-new/f-fill 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
|
Prompt for generated image
|
|
image |
string
|
Input image for image to image mode. The aspect ratio of your output will match this image
|
|
mask_image |
string
|
Input image for image to image mode. The aspect ratio of your output will match this image
|
|
guidance_scale |
number
|
3.5
Max: 10 |
Guidance scale for the diffusion process
|
seed |
integer
|
1
|
Random seed. Set for reproducible generation
|
num_inference_steps |
integer
|
28
Min: 1 Max: 50 |
Number of inference steps
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 1,
"x-order": 4,
"description": "Random seed. Set for reproducible generation"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 1,
"description": "Input image for image to image mode. The aspect ratio of your output will match this image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt for generated image"
},
"mask_image": {
"type": "string",
"title": "Mask Image",
"format": "uri",
"x-order": 2,
"description": "Input image for image to image mode. The aspect ratio of your output will match this image"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 3.5,
"maximum": 10,
"minimum": 0,
"x-order": 3,
"description": "Guidance scale for the diffusion process"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 28,
"maximum": 50,
"minimum": 1,
"x-order": 5,
"description": "Number of inference steps"
}
}
}
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"
}