xiankgx
/
controlnet-tile-image-detailer
- Public
- 158 runs
Run xiankgx/controlnet-tile-image-detailer 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 |
---|---|---|---|
prompt |
string
|
Prompt for the model
|
|
image |
string
|
Control image for scribble controlnet
|
|
resolution |
integer
(enum)
|
2560
Options: 2048, 2560, 4096 |
Image resolution
|
resemblance |
number
|
0.85
Max: 1 |
Conditioning scale for controlnet
|
creativity |
number
|
0.35
Min: 0.1 Max: 1 |
Denoising strength. 1 means total destruction of the original image
|
hdr |
number
|
0
Max: 1 |
HDR improvement over the original image
|
scheduler |
string
(enum)
|
DDIM
Options: DDIM, DPMSolverMultistep, K_EULER_ANCESTRAL, K_EULER |
Choose a scheduler.
|
steps |
integer
|
20
|
Steps
|
guidance_scale |
number
|
7
Min: 0.1 Max: 30 |
Scale for classifier-free guidance
|
seed |
integer
|
Seed
|
|
negative_prompt |
string
|
teeth, tooth, open mouth, longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, mutant
|
Negative prompt
|
guess_mode |
boolean
|
False
|
In this mode, the ControlNet encoder will try best to recognize the content of the input image even if you remove all prompts. The `guidance_scale` between 3.0 and 5.0 is recommended.
|
tile_size |
integer
(enum)
|
512
Options: 128, 256, 374, 512, 768, 1024, 1280 |
Size of partitions of the image. A 1/4 of the final resolution is recommended for optimal.
|
lora_sharpness_strength |
number
|
4.5
Min: -3 Max: 10 |
Strength of the image's sharpness. For it to be noticeable, it is recommended to use values between 2 and 5.
|
lora_details_strength |
number
|
1.25
Min: -3 Max: 3 |
Strength of the image's details
|
{
"type": "object",
"title": "Input",
"properties": {
"hdr": {
"type": "number",
"title": "Hdr",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 5,
"description": "HDR improvement over the original image"
},
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 9,
"description": "Seed"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 1,
"description": "Control image for scribble controlnet"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 20,
"x-order": 7,
"description": "Steps"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt for the model"
},
"scheduler": {
"enum": [
"DDIM",
"DPMSolverMultistep",
"K_EULER_ANCESTRAL",
"K_EULER"
],
"type": "string",
"title": "scheduler",
"description": "Choose a scheduler.",
"default": "DDIM",
"x-order": 6
},
"tile_size": {
"enum": [
128,
256,
374,
512,
768,
1024,
1280
],
"type": "integer",
"title": "tile_size",
"description": "Size of partitions of the image. A 1/4 of the final resolution is recommended for optimal.",
"default": 512,
"x-order": 12
},
"creativity": {
"type": "number",
"title": "Creativity",
"default": 0.35,
"maximum": 1,
"minimum": 0.1,
"x-order": 4,
"description": "Denoising strength. 1 means total destruction of the original image"
},
"guess_mode": {
"type": "boolean",
"title": "Guess Mode",
"default": false,
"x-order": 11,
"description": "In this mode, the ControlNet encoder will try best to recognize the content of the input image even if you remove all prompts. The `guidance_scale` between 3.0 and 5.0 is recommended."
},
"resolution": {
"enum": [
2048,
2560,
4096
],
"type": "integer",
"title": "resolution",
"description": "Image resolution",
"default": 2560,
"x-order": 2
},
"resemblance": {
"type": "number",
"title": "Resemblance",
"default": 0.85,
"maximum": 1,
"minimum": 0,
"x-order": 3,
"description": "Conditioning scale for controlnet"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 7,
"maximum": 30,
"minimum": 0.1,
"x-order": 8,
"description": "Scale for classifier-free guidance"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "teeth, tooth, open mouth, longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, mutant",
"x-order": 10,
"description": "Negative prompt"
},
"lora_details_strength": {
"type": "number",
"title": "Lora Details Strength",
"default": 1.25,
"maximum": 3,
"minimum": -3,
"x-order": 14,
"description": "Strength of the image's details"
},
"lora_sharpness_strength": {
"type": "number",
"title": "Lora Sharpness Strength",
"default": 4.5,
"maximum": 10,
"minimum": -3,
"x-order": 13,
"description": "Strength of the image's sharpness. For it to be noticeable, it is recommended to use values between 2 and 5."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}