kling_talking_photo
Create a talking-head video by animating a portrait photo to match an audio track, syncing lips, expressions, and head movements.
Instructions
Animate a portrait photo to match a provided audio track (talking-photo).
Given a face image and an audio file, generates a short video where the
portrait's lips, expressions, and head movements are synchronized to the audio.
Use this when:
- You want to create a talking-head video from a static photo
- You want to make a person in a photo appear to speak
- You need a quick avatar video without real footage
Returns:
Task ID and talking-photo video information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Generation quality mode. 'pro' (default) for higher quality; 'std' for faster generation. | pro |
| model | No | Kling model version. Default is 'kling-v2-1-master'. Options: kling-v1, kling-v1-6, kling-v2-master, kling-v2-1-master, kling-v2-5-turbo, kling-v2-6. | kling-v2-1-master |
| prompt | No | Optional text description to guide the animation style or content. | |
| duration | No | Video duration in seconds. Options: 5 (default) or 10. | |
| audio_url | Yes | URL of the audio file that drives the talking animation. | |
| image_url | Yes | URL of the portrait image to animate. Should be a clear frontal face photo. | |
| callback_url | No | Webhook URL that receives a POST when the talking-photo task completes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |