smoretalk
/
deblur
- Public
- 65 runs
Run smoretalk/deblur 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 |
---|---|---|---|
init_image |
string
|
Input original image for inpainting.
|
|
prompt |
string
|
Input prompt.
|
|
negative_prompt |
string
|
Input negative prompt.
|
|
num_inference_steps |
integer
|
40
Min: 1 Max: 50 |
Number of denoising steps.
|
num_images_per_prompt |
integer
|
1
Min: 1 Max: 4 |
Number of outputs.
|
guidance_scale |
number
|
6
Max: 20 |
Scale for classifier-free guidance.
|
strength |
number
|
0.1
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": 7,
"description": "Random seed. Leave blank to randomize the seed."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "Input prompt."
},
"strength": {
"type": "number",
"title": "Strength",
"default": 0.1,
"maximum": 1,
"minimum": 0,
"x-order": 6,
"description": "Scale for denoising."
},
"init_image": {
"type": "string",
"title": "Init Image",
"format": "uri",
"x-order": 0,
"description": "Input original image for inpainting."
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 6,
"maximum": 20,
"minimum": 0,
"x-order": 5,
"description": "Scale for classifier-free guidance."
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"x-order": 2,
"description": "Input negative prompt."
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 40,
"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.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}