smoretalk
/
flux-upscaler
- Public
- 137 runs
Run smoretalk/flux-upscaler 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 |
string
|
Input image for upscale.
|
|
prompt |
string
|
Input prompt, text what you want to put on.
|
|
upscale_factor |
number
|
4
|
Scale how much you want to upscale an image.
|
steps |
integer
|
10
Min: 1 Max: 30 |
Number of denoising steps.
|
guidance_scale |
number
|
2
Max: 20 |
Scale for classifier-free guidance.
|
denoise_scale |
number
|
0.2
Max: 1 |
Scale for denoising.
|
seed |
integer
|
Random seed. Leave blank to randomize the seed.
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 6,
"description": "Random seed. Leave blank to randomize the seed."
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image for upscale."
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 10,
"maximum": 30,
"minimum": 1,
"x-order": 3,
"description": "Number of denoising steps."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "Input prompt, text what you want to put on."
},
"denoise_scale": {
"type": "number",
"title": "Denoise Scale",
"default": 0.2,
"maximum": 1,
"minimum": 0,
"x-order": 5,
"description": "Scale for denoising."
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 2,
"maximum": 20,
"minimum": 0,
"x-order": 4,
"description": "Scale for classifier-free guidance."
},
"upscale_factor": {
"type": "number",
"title": "Upscale Factor",
"default": 4,
"x-order": 2,
"description": "Scale how much you want to upscale an image."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}