
lightweight-ai / multi_ref_img_f
- Public
- 6 runs
Run lightweight-ai/multi_ref_img_f 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
|
Text prompt
|
|
image_ref1 |
string
|
Upload an input image
|
|
image_ref2 |
string
|
Upload an input image
|
|
image_ref3 |
string
|
Upload an input image
|
|
image_ref4 |
string
|
Upload an input image
|
|
width |
integer
|
512
|
Output image width
|
height |
integer
|
512
|
Output image height
|
steps |
integer
|
25
|
Sampling steps
|
guidance |
number
|
4
|
Guidance scale
|
seed |
integer
|
-1
|
Seed for reproducibility (-1 for random)
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 9,
"description": "Seed for reproducibility (-1 for random)"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 25,
"x-order": 7,
"description": "Sampling steps"
},
"width": {
"type": "integer",
"title": "Width",
"default": 512,
"x-order": 5,
"description": "Output image width"
},
"height": {
"type": "integer",
"title": "Height",
"default": 512,
"x-order": 6,
"description": "Output image height"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Text prompt"
},
"guidance": {
"type": "number",
"title": "Guidance",
"default": 4,
"x-order": 8,
"description": "Guidance scale"
},
"image_ref1": {
"type": "string",
"title": "Image Ref1",
"format": "uri",
"x-order": 1,
"description": "Upload an input image"
},
"image_ref2": {
"type": "string",
"title": "Image Ref2",
"format": "uri",
"x-order": 2,
"description": "Upload an input image"
},
"image_ref3": {
"type": "string",
"title": "Image Ref3",
"format": "uri",
"x-order": 3,
"description": "Upload an input image"
},
"image_ref4": {
"type": "string",
"title": "Image Ref4",
"format": "uri",
"x-order": 4,
"description": "Upload an input image"
}
}
}
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"
}