Make a talking avatar video
kling_avatar_videoA talking-head video: an avatar (avatarId from kling_list_avatars) or any portrait (imageUrl) speaking an audio file (audioUrl) or text read by a voice (text + speakerId; an avatar brings its own voice). The video is as long as the speech. 4 credits a second at std, 8 at pro. A job, like kling_text_to_video. POST /avatars/video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | std (default) or pro. | |
| text | No | Text to speak (instead of audioUrl). | |
| No | The Kling account email. Optional: by default the account with the most free job slots; results name the account used. Pass it whenever an input belongs to one account (an uploaded file, a voice, an element, your own avatar or motion, a task_id). | ||
| speed | No | Speech speed 0.8-2 (default 1). | |
| prompt | No | How the person moves and looks (default: the avatar's prompt). | |
| emotion | No | Speech emotion, if the voice has it. | |
| audioUrl | No | A public URL of the speech audio (instead of text). | |
| avatarId | No | An avatar id (instead of imageUrl). | |
| imageUrl | No | A portrait (instead of avatarId): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| speakerId | No | The voice for text (an avatar's own voice by default). |