f9e42d/j8fs9m
Run f9e42d/j8fs9m 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 |
|---|---|---|---|
| product_image |
string
|
Product image to condition the model
|
|
| prompt |
string
|
Text prompt
|
|
| ip_adapter_scale |
number
|
0.5
|
IP-Adapter scale
|
| negative_prompt |
string
|
(too many fingers, face asymmetry, eyes asymmetry, deformed eyes, open mouth), worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch
|
Negative prompt
|
| inference_steps |
integer
|
33
Min: 1 Max: 100 |
None
|
| guidance_scale |
number
|
6
Max: 20 |
None
|
| width |
integer
|
1024
Min: 64 |
None
|
| height |
integer
|
1024
Min: 64 |
None
|
| seed |
integer
|
0
|
Random seed; 0 means random
|
| num_images |
integer
|
2
Min: 1 Max: 8 |
None
|
| strength |
number
|
0.3
Max: 1 |
None
|
{
"type": "object",
"title": "Input",
"required": [
"product_image",
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"x-order": 8,
"description": "Random seed; 0 means random"
},
"width": {
"type": "integer",
"title": "Width",
"default": 1024,
"minimum": 64,
"x-order": 6
},
"height": {
"type": "integer",
"title": "Height",
"default": 1024,
"minimum": 64,
"x-order": 7
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "Text prompt"
},
"strength": {
"type": "number",
"title": "Strength",
"default": 0.3,
"maximum": 1,
"minimum": 0,
"x-order": 10
},
"num_images": {
"type": "integer",
"title": "Num Images",
"default": 2,
"maximum": 8,
"minimum": 1,
"x-order": 9
},
"product_image": {
"type": "string",
"title": "Product Image",
"format": "uri",
"x-order": 0,
"description": "Product image to condition the model"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 6,
"maximum": 20,
"minimum": 0,
"x-order": 5
},
"inference_steps": {
"type": "integer",
"title": "Inference Steps",
"default": 33,
"maximum": 100,
"minimum": 1,
"x-order": 4
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "(too many fingers, face asymmetry, eyes asymmetry, deformed eyes, open mouth), worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch",
"x-order": 3,
"description": "Negative prompt"
},
"ip_adapter_scale": {
"type": "number",
"title": "Ip Adapter Scale",
"default": 0.5,
"x-order": 2,
"description": "IP-Adapter scale"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}