smoretalk
/
exp
- Public
- 89.3K runs
Run smoretalk/exp 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 |
---|---|---|---|
style_image |
string
|
Input reference image for style.
|
|
structure_image |
string
|
An optional input reference image for composition.
|
|
prompt |
string
|
Input prompt.
|
|
negative_prompt |
string
|
text, watermark, lowres, low quality, worst quality, deformed, glitch, low contrast, noisy, saturation, blurry
|
Input negative prompt.
|
width |
integer
|
1024
|
Width of an output image (ignored if structure image given).
|
height |
integer
|
1024
|
Height of an output image (ignored if structure image given).
|
model |
string
(enum)
|
fast
Options: fast, high-quality, realistic, cinematic, animated |
Model to use for the generation
|
num_images_per_prompt |
integer
|
1
Min: 1 Max: 10 |
Number of images to generate
|
weight |
number
|
0.9
Max: 1 |
Strength of ip_adapter
|
start_at |
number
|
0
Max: 1 |
Starting point of ip_adapter
|
end_at |
number
|
1
Max: 1 |
Ending point of ip_adapter
|
structure_depth_strength |
number
|
1
Max: 2 |
Strength of the depth controlnet
|
structure_denoising_strength |
number
|
1
Max: 1 |
How much of the original image (and colors) to preserve (0 is all, 1 is none, 0.65 is a good balance)
|
output_format |
string
(enum)
|
png
Options: webp, jpg, png |
Format of the output images
|
output_quality |
integer
|
80
Max: 100 |
Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
|
seed |
integer
|
Set a seed for reproducibility. Random by default.
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 15,
"description": "Set a seed for reproducibility. Random by default."
},
"model": {
"enum": [
"fast",
"high-quality",
"realistic",
"cinematic",
"animated"
],
"type": "string",
"title": "model",
"description": "Model to use for the generation",
"default": "fast",
"x-order": 6
},
"width": {
"type": "integer",
"title": "Width",
"default": 1024,
"x-order": 4,
"description": "Width of an output image (ignored if structure image given)."
},
"end_at": {
"type": "number",
"title": "End At",
"default": 1,
"maximum": 1,
"minimum": 0,
"x-order": 10,
"description": "Ending point of ip_adapter"
},
"height": {
"type": "integer",
"title": "Height",
"default": 1024,
"x-order": 5,
"description": "Height of an output image (ignored if structure image given)."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 2,
"description": "Input prompt."
},
"weight": {
"type": "number",
"title": "Weight",
"default": 0.9,
"maximum": 1,
"minimum": 0,
"x-order": 8,
"description": "Strength of ip_adapter"
},
"start_at": {
"type": "number",
"title": "Start At",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 9,
"description": "Starting point of ip_adapter"
},
"style_image": {
"type": "string",
"title": "Style Image",
"format": "uri",
"x-order": 0,
"description": "Input reference image for style."
},
"output_format": {
"enum": [
"webp",
"jpg",
"png"
],
"type": "string",
"title": "output_format",
"description": "Format of the output images",
"default": "png",
"x-order": 13
},
"output_quality": {
"type": "integer",
"title": "Output Quality",
"default": 80,
"maximum": 100,
"minimum": 0,
"x-order": 14,
"description": "Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality."
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "text, watermark, lowres, low quality, worst quality, deformed, glitch, low contrast, noisy, saturation, blurry",
"x-order": 3,
"description": "Input negative prompt."
},
"structure_image": {
"type": "string",
"title": "Structure Image",
"format": "uri",
"x-order": 1,
"description": "An optional input reference image for composition."
},
"num_images_per_prompt": {
"type": "integer",
"title": "Num Images Per Prompt",
"default": 1,
"maximum": 10,
"minimum": 1,
"x-order": 7,
"description": "Number of images to generate"
},
"structure_depth_strength": {
"type": "number",
"title": "Structure Depth Strength",
"default": 1,
"maximum": 2,
"minimum": 0,
"x-order": 11,
"description": "Strength of the depth controlnet"
},
"structure_denoising_strength": {
"type": "number",
"title": "Structure Denoising Strength",
"default": 1,
"maximum": 1,
"minimum": 0,
"x-order": 12,
"description": "How much of the original image (and colors) to preserve (0 is all, 1 is none, 0.65 is a good balance)"
}
}
}
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"
}