smoretalk
/
avatar-generator
- Public
- 84.6K runs
Run smoretalk/avatar-generator 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 |
---|---|---|---|
face_image |
string
|
Input face image
|
|
pose_image |
string
|
Reference pose image
|
|
prompt |
string
|
Portrait photo, hyperrealistic art, extremely high resolution details, detailed, photographic, realism pushed to extreme, fine texture, incredibly lifelike, intimidate mood, 8k
|
Input prompt
|
negative_prompt |
string
|
|
Input negative prompt
|
gender |
string
(enum)
|
No choice
Options: Male, Female, No choice |
Pick the character's gender
|
num_inference_steps |
integer
|
8
Min: 1 Max: 500 |
Number of denoising steps
|
guidance_scale |
number
|
1
Min: 1 Max: 20 |
Scale for classifier-free guidance
|
ip_adapter_scale |
number
|
0.8
Max: 1.5 |
Scale for image adapter strength (for detail)
|
face_strength |
number
|
0.8
Max: 1.5 |
Scale for strength of IdentityNet (for fidelity)
|
composition_strength |
number
|
0.5
Max: 1 |
Scale for strength of ControlNet
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
|
resemblance |
number
|
0.8
Max: 1 |
Conditioning scale for controlnet
|
creativity |
number
|
0.8
Max: 1 |
Denoising strength. 1 means total destruction of the original image
|
hdr |
number
|
0
Max: 1 |
HDR improvement over the original image
|
{
"type": "object",
"title": "Input",
"properties": {
"hdr": {
"type": "number",
"title": "Hdr",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 13,
"description": "HDR improvement over the original image"
},
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 10,
"description": "Random seed. Leave blank to randomize the seed"
},
"gender": {
"enum": [
"Male",
"Female",
"No choice"
],
"type": "string",
"title": "gender",
"description": "Pick the character's gender",
"default": "No choice",
"x-order": 4
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "Portrait photo, hyperrealistic art, extremely high resolution details, detailed, photographic, realism pushed to extreme, fine texture, incredibly lifelike, intimidate mood, 8k",
"x-order": 2,
"description": "Input prompt"
},
"creativity": {
"type": "number",
"title": "Creativity",
"default": 0.8,
"maximum": 1,
"minimum": 0,
"x-order": 12,
"description": "Denoising strength. 1 means total destruction of the original image"
},
"face_image": {
"type": "string",
"title": "Face Image",
"format": "uri",
"x-order": 0,
"description": "Input face image"
},
"pose_image": {
"type": "string",
"title": "Pose Image",
"format": "uri",
"x-order": 1,
"description": "Reference pose image"
},
"resemblance": {
"type": "number",
"title": "Resemblance",
"default": 0.8,
"maximum": 1,
"minimum": 0,
"x-order": 11,
"description": "Conditioning scale for controlnet"
},
"face_strength": {
"type": "number",
"title": "Face Strength",
"default": 0.8,
"maximum": 1.5,
"minimum": 0,
"x-order": 8,
"description": "Scale for strength of IdentityNet (for fidelity)"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 1,
"maximum": 20,
"minimum": 1,
"x-order": 6,
"description": "Scale for classifier-free guidance"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": " ",
"x-order": 3,
"description": "Input negative prompt"
},
"ip_adapter_scale": {
"type": "number",
"title": "Ip Adapter Scale",
"default": 0.8,
"maximum": 1.5,
"minimum": 0,
"x-order": 7,
"description": "Scale for image adapter strength (for detail)"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 8,
"maximum": 500,
"minimum": 1,
"x-order": 5,
"description": "Number of denoising steps"
},
"composition_strength": {
"type": "number",
"title": "Composition Strength",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"x-order": 9,
"description": "Scale for strength of ControlNet"
}
}
}
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"
}