krunalmangroliya/lbm-fill
Public
4
runs
Run krunalmangroliya/lbm-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 |
|---|---|---|---|
| foreground_image |
string
|
Foreground image with the object.
|
|
| background_prompt |
string
|
Text prompt for the background generation.
|
|
| num_sampling_steps |
integer
|
1
Min: 1 Max: 4 |
Number of inference steps for LBM model.
|
| num_flux_steps |
integer
|
25
Min: 1 Max: 25 |
Number of inference steps for FLUX.1-Fill model.
|
{
"type": "object",
"title": "Input",
"required": [
"foreground_image",
"background_prompt"
],
"properties": {
"num_flux_steps": {
"type": "integer",
"title": "Num Flux Steps",
"default": 25,
"maximum": 25,
"minimum": 1,
"x-order": 3,
"description": "Number of inference steps for FLUX.1-Fill model."
},
"foreground_image": {
"type": "string",
"title": "Foreground Image",
"format": "uri",
"x-order": 0,
"description": "Foreground image with the object."
},
"background_prompt": {
"type": "string",
"title": "Background Prompt",
"x-order": 1,
"description": "Text prompt for the background generation."
},
"num_sampling_steps": {
"type": "integer",
"title": "Num Sampling Steps",
"default": 1,
"maximum": 4,
"minimum": 1,
"x-order": 2,
"description": "Number of inference steps for LBM model."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}