smoretalk
/
flamel-style-transfer
- Public
- 66.1K runs
Run smoretalk/flamel-style-transfer 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.
|
|
prompt |
string
|
Input prompt.
|
|
negative_prompt |
string
|
Input negative prompt.
|
|
num_inference_steps |
integer
|
8
Min: 1 Max: 50 |
Number of denoising steps.
|
num_images_per_prompt |
integer
|
1
Min: 1 Max: 4 |
Number of outputs.
|
guidance_scale |
number
|
1
Max: 20 |
Scale for classifier-free guidance.
|
seed |
integer
|
Random seed. Leave blank to randomize the seed.
|
|
width |
integer
|
1024
Min: 1 Max: 2048 |
Width of an output.
|
height |
integer
|
1024
Min: 1 Max: 2048 |
Height of an output.
|
style_strength |
number
|
1.1
Max: 2 |
Conditioning scale for style.
|
eta |
number
|
0
Max: 1 |
A stochastic parameter referred to as 'gamma' used to control the stochasticity in every step.
|
strength |
number
|
0.4
Max: 1 |
Scale for denoising during i2i.
|
denoising_start |
number
|
0.7
Max: 1 |
Starting point for denoising during i2i.
|
{
"type": "object",
"title": "Input",
"properties": {
"eta": {
"type": "number",
"title": "Eta",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 10,
"description": "A stochastic parameter referred to as 'gamma' used to control the stochasticity in every step."
},
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 6,
"description": "Random seed. Leave blank to randomize the seed."
},
"width": {
"type": "integer",
"title": "Width",
"default": 1024,
"maximum": 2048,
"minimum": 1,
"x-order": 7,
"description": "Width of an output."
},
"height": {
"type": "integer",
"title": "Height",
"default": 1024,
"maximum": 2048,
"minimum": 1,
"x-order": 8,
"description": "Height of an output."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "Input prompt."
},
"strength": {
"type": "number",
"title": "Strength",
"default": 0.4,
"maximum": 1,
"minimum": 0,
"x-order": 11,
"description": "Scale for denoising during i2i."
},
"style_image": {
"type": "string",
"title": "Style Image",
"format": "uri",
"x-order": 0,
"description": "Input reference image for style."
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 1,
"maximum": 20,
"minimum": 0,
"x-order": 5,
"description": "Scale for classifier-free guidance."
},
"style_strength": {
"type": "number",
"title": "Style Strength",
"default": 1.1,
"maximum": 2,
"minimum": 0,
"x-order": 9,
"description": "Conditioning scale for style."
},
"denoising_start": {
"type": "number",
"title": "Denoising Start",
"default": 0.7,
"maximum": 1,
"minimum": 0,
"x-order": 12,
"description": "Starting point for denoising during i2i."
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"x-order": 2,
"description": "Input negative prompt."
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 8,
"maximum": 50,
"minimum": 1,
"x-order": 3,
"description": "Number of denoising steps."
},
"num_images_per_prompt": {
"type": "integer",
"title": "Num Images Per Prompt",
"default": 1,
"maximum": 4,
"minimum": 1,
"x-order": 4,
"description": "Number of outputs."
}
}
}
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"
}