tripathiarpan20 / pixel-portrait-lcm-anythingv3.0
Convert any image to pixel portraits
Run tripathiarpan20/pixel-portrait-lcm-anythingv3.0 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
|
prompt |
string
|
A person, pixel art
|
Input prompt
|
negative_prompt |
string
|
bad quality, low quality
|
Specify things to not see in the output
|
strength |
number
|
0.5
Max: 1 |
Denoising strength
|
guidance_scale |
number
|
8
Max: 10 |
CFG scale for guidance
|
num_inference_steps |
integer
|
10
Min: 1 Max: 50 |
Number of inference steps
|
seed |
integer
|
42
|
Random seed. Leave blank to randomize the seed
|
canny_low_threshold |
number
|
0.31
Max: 1 |
Canny low threshold
|
canny_high_threshold |
number
|
0.78
Max: 1 |
Canny high threshold
|
controlnet_scale |
number
|
0.8
Max: 1 |
Controlnet scale
|
controlnet_start |
number
|
0
Max: 1 |
Controlnet start
|
controlnet_end |
number
|
1
Max: 1 |
Controlnet end
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 42,
"x-order": 6,
"description": "Random seed. Leave blank to randomize the seed"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"default": "",
"x-order": 0,
"description": "Input image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "A person, pixel art",
"x-order": 1,
"description": "Input prompt"
},
"strength": {
"type": "number",
"title": "Strength",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"x-order": 3,
"description": "Denoising strength"
},
"controlnet_end": {
"type": "number",
"title": "Controlnet End",
"default": 1,
"maximum": 1,
"minimum": 0,
"x-order": 11,
"description": "Controlnet end"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 8,
"maximum": 10,
"minimum": 0,
"x-order": 4,
"description": "CFG scale for guidance"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "bad quality, low quality",
"x-order": 2,
"description": "Specify things to not see in the output"
},
"controlnet_scale": {
"type": "number",
"title": "Controlnet Scale",
"default": 0.8,
"maximum": 1,
"minimum": 0,
"x-order": 9,
"description": "Controlnet scale"
},
"controlnet_start": {
"type": "number",
"title": "Controlnet Start",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 10,
"description": "Controlnet start"
},
"canny_low_threshold": {
"type": "number",
"title": "Canny Low Threshold",
"default": 0.31,
"maximum": 1,
"minimum": 0,
"x-order": 7,
"description": "Canny low threshold"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 10,
"maximum": 50,
"minimum": 1,
"x-order": 5,
"description": "Number of inference steps"
},
"canny_high_threshold": {
"type": "number",
"title": "Canny High Threshold",
"default": 0.78,
"maximum": 1,
"minimum": 0,
"x-order": 8,
"description": "Canny high threshold"
}
}
}
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"
}