krunalmangroliya/old-lbm-plus-fill
Public
13
runs
Run krunalmangroliya/old-lbm-plus-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.
|
|
| lbm_num_sampling_steps |
integer
|
1
Min: 1 Max: 4 |
Number of inference steps for LBM model.
|
| output_width |
integer
|
Min: 1 |
Optional. Desired width for the final output image. If not provided, defaults to original foreground width.
|
| output_height |
integer
|
Min: 1 |
Optional. Desired height for the final output image. If not provided, defaults to original foreground height.
|
{
"type": "object",
"title": "Input",
"required": [
"foreground_image",
"background_prompt"
],
"properties": {
"output_width": {
"type": "integer",
"title": "Output Width",
"minimum": 1,
"x-order": 3,
"description": "Optional. Desired width for the final output image. If not provided, defaults to original foreground width."
},
"output_height": {
"type": "integer",
"title": "Output Height",
"minimum": 1,
"x-order": 4,
"description": "Optional. Desired height for the final output image. If not provided, defaults to original foreground height."
},
"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."
},
"lbm_num_sampling_steps": {
"type": "integer",
"title": "Lbm 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"
}