shanginn
/
face-to-sticker
- Public
- 2 runs
Run shanginn/face-to-sticker 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
|
An image of a person to be converted to a sticker
|
|
prompt |
string
|
a person
|
None
|
negative_prompt |
string
|
|
Things you do not want in the image
|
width |
integer
|
1024
|
None
|
height |
integer
|
1024
|
None
|
steps |
integer
|
20
|
None
|
seed |
integer
|
Fix the random seed for reproducibility
|
|
prompt_strength |
number
|
7
|
Strength of the prompt. This is the CFG scale, higher numbers lead to stronger prompt, lower numbers will keep more of a likeness to the original.
|
instant_id_strength |
number
|
1
Max: 1 |
How strong the InstantID will be.
|
ip_adapter_weight |
number
|
0.2
Max: 1 |
How much the IP adapter will influence the image
|
ip_adapter_noise |
number
|
0.5
Max: 1 |
How much noise is added to the IP adapter input
|
upscale |
boolean
|
False
|
2x upscale the sticker
|
upscale_steps |
integer
|
10
|
Number of steps to upscale
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 6,
"description": "Fix the random seed for reproducibility"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "An image of a person to be converted to a sticker"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 20,
"x-order": 5
},
"width": {
"type": "integer",
"title": "Width",
"default": 1024,
"x-order": 3
},
"height": {
"type": "integer",
"title": "Height",
"default": 1024,
"x-order": 4
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "a person",
"x-order": 1
},
"upscale": {
"type": "boolean",
"title": "Upscale",
"default": false,
"x-order": 11,
"description": "2x upscale the sticker"
},
"upscale_steps": {
"type": "integer",
"title": "Upscale Steps",
"default": 10,
"x-order": 12,
"description": "Number of steps to upscale"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 2,
"description": "Things you do not want in the image"
},
"prompt_strength": {
"type": "number",
"title": "Prompt Strength",
"default": 7,
"x-order": 7,
"description": "Strength of the prompt. This is the CFG scale, higher numbers lead to stronger prompt, lower numbers will keep more of a likeness to the original."
},
"ip_adapter_noise": {
"type": "number",
"title": "Ip Adapter Noise",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"x-order": 10,
"description": "How much noise is added to the IP adapter input"
},
"ip_adapter_weight": {
"type": "number",
"title": "Ip Adapter Weight",
"default": 0.2,
"maximum": 1,
"minimum": 0,
"x-order": 9,
"description": "How much the IP adapter will influence the image"
},
"instant_id_strength": {
"type": "number",
"title": "Instant Id Strength",
"default": 1,
"maximum": 1,
"minimum": 0,
"x-order": 8,
"description": "How strong the InstantID will be."
}
}
}
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"
}