venislathiya814092/longcat-avatar
Public
2
runs
Run venislathiya814092/longcat-avatar 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
|
Reference face/portrait image.
|
|
| audio |
string
|
Driving audio clip (wav/mp3). Output length tracks num_segments, not the audio's own duration.
|
|
| prompt |
string
|
A person is talking, with natural facial expressions and head movement.
|
Text prompt describing the desired scene/motion.
|
| negative_prompt |
string
|
Negative prompt.
|
|
| resolution |
None
|
480p
|
Output resolution.
|
| num_segments |
integer
|
4
Min: 1 Max: 25 |
None
|
| ref_img_index |
integer
|
10
|
Reference frame index used when conditioning later segments.
|
| mask_frame_range |
integer
|
3
|
Frame-mask range used when conditioning later segments.
|
| seed |
integer
|
42
|
Random seed.
|
{
"type": "object",
"title": "Input",
"required": [
"image",
"audio",
"negative_prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 42,
"x-order": 8,
"description": "Random seed."
},
"audio": {
"type": "string",
"title": "Audio",
"format": "uri",
"x-order": 1,
"description": "Driving audio clip (wav/mp3). Output length tracks num_segments, not the audio's own duration."
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Reference face/portrait image."
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "A person is talking, with natural facial expressions and head movement.",
"x-order": 2,
"description": "Text prompt describing the desired scene/motion."
},
"resolution": {
"enum": [
"480p",
"720p"
],
"type": "string",
"title": "resolution",
"description": "Output resolution.",
"default": "480p",
"x-order": 4
},
"num_segments": {
"type": "integer",
"title": "Num Segments",
"default": 4,
"maximum": 25,
"minimum": 1,
"x-order": 5
},
"ref_img_index": {
"type": "integer",
"title": "Ref Img Index",
"default": 10,
"x-order": 6,
"description": "Reference frame index used when conditioning later segments."
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"x-order": 3,
"description": "Negative prompt."
},
"mask_frame_range": {
"type": "integer",
"title": "Mask Frame Range",
"default": 3,
"x-order": 7,
"description": "Frame-mask range used when conditioning later segments."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}