Talking Avatar Video
talking_avatar_videoTurn a face photo into a lip-synced talking-head video that speaks your text (or your audio). Provide image_url (a clear face photo) and either script (text to speak, max 2500 characters) or audio_url. Optional voice_id / language / voice_settings. Renders in ~1-5 minutes (single call, returns the finished branded video) and is saved to your library. PRICE: Priced per second of the speech (your audio, or the script once spoken; a part second counts as a whole one), charged when the speech is ready and before the video is made, and returned if it fails. Pass seconds with quote_only for a total (suggest_speech_seconds tells you how long a script runs). Pass quote_only: true first to get the exact price; nothing is made and nothing is charged. To run it (not for a quote) send image_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | No | Text the avatar speaks. Max 2500 characters. Required unless audio_url is given. | |
| seconds | No | quote_only: how many seconds of speech, for a total price. | |
| language | No | Optional language code (default en). | |
| voice_id | No | Optional voice id (from clone_voice / your library). | |
| audio_url | No | Pre-recorded audio to lip-sync instead of generating speech from script: an https link, a Switch audio take id (from generate_speech or generate_audio), or the asset_id of an audio upload. | |
| image_url | No | A clear face photo: a picture id from list_my_assets (a made or uploaded picture) or an https link. Required. | |
| quote_only | No | true answers the price only: nothing is made and nothing is charged. | |
| voice_settings | No | Optional: { stability, similarityBoost, style, useSpeakerBoost } 0-1. |