usamaehsan/boogu-image-0.1-edit-turbo
image edit bench
Public
5
runs
Run usamaehsan/boogu-image-0.1-edit-turbo 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 |
|---|---|---|---|
| image |
array
|
Input image to edit (Turbo supports ONE reference image; extras ignored)
|
|
| prompt |
string
|
Remove the background
|
Text prompt describing the edit
|
| negative_prompt |
string
|
|
Negative instruction (usually empty for Turbo)
|
| width |
integer
|
0
Max: 2048 |
Output width (0 = follow input image)
|
| height |
integer
|
0
Max: 2048 |
Output height (0 = follow input image)
|
| preserve_aspect_ratio |
boolean
|
True
|
Treat width x height as a pixel budget and keep the input's aspect ratio
|
| num_inference_steps |
integer
|
4
Min: 1 Max: 50 |
Steps (Turbo is DMD-distilled for 4)
|
| seed |
integer
|
-1
|
Random seed (-1 = random)
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 7,
"description": "Random seed (-1 = random)"
},
"image": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Image",
"x-order": 0,
"description": "Input image to edit (Turbo supports ONE reference image; extras ignored)"
},
"width": {
"type": "integer",
"title": "Width",
"default": 0,
"maximum": 2048,
"minimum": 0,
"x-order": 3,
"description": "Output width (0 = follow input image)"
},
"height": {
"type": "integer",
"title": "Height",
"default": 0,
"maximum": 2048,
"minimum": 0,
"x-order": 4,
"description": "Output height (0 = follow input image)"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "Remove the background",
"x-order": 1,
"description": "Text prompt describing the edit"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 2,
"description": "Negative instruction (usually empty for Turbo)"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 4,
"maximum": 50,
"minimum": 1,
"x-order": 6,
"description": "Steps (Turbo is DMD-distilled for 4)"
},
"preserve_aspect_ratio": {
"type": "boolean",
"title": "Preserve Aspect Ratio",
"default": true,
"x-order": 5,
"description": "Treat width x height as a pixel budget and keep the input's aspect ratio"
}
}
}
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"
}