Content!; use
tasks and results to follow their output.
For reusable files or voice scripts in Chat drafts, see
Chat audio inputs. Those Chat capabilities
currently prepare inputs only; the direct mutations below retain their generation flow.
Text to speech
TextToSpeech
Variables
prompt: String! supplies the speech and voiceModelId: String! selects a ready
voice model. Optional emotion: Text2SpeechEmotion and speed: Text2SpeechSpeed
use enums; this speed is different from the numeric voiceSpeed used below.
Talking Avatar with existing audio
Withbest and ultra, select up to 180 seconds of target speech. For long videos, these tiers split near sentence endings, animate the same source image for each speech
segment and join the clips in speech order. With ultraS, each segment continues
the motion from the end of the previous clip. All three tiers preserve the source
image’s aspect ratio and the selected audio interval. The ultra tier and the
QHD option on ultraS upscale the complete video after assembly.
Single-segment ultraS avatars also preserve the source image’s aspect ratio.
For example, a 4:5 portrait is padded for generation and the padding is removed
before delivery or QHD upscaling. Output dimensions are rounded to even pixels.
Animate a source image with an accessible audio media reference:
TalkingAvatar
Variables
ultraSFast at SD, HD, FHD and QHD. Supply 4–180 seconds of audio or estimated speech. FHD and QHD are upscaled after generation.
Lip Sync with existing audio
UseoutputQuality: ultraSFast with SD, HD, FHD or QHD, or outputQuality: ultraS with HD, FHD or QHD. These options edit the source video using 4–900 seconds of target speech. The duration limit applies to the selected audio interval. Each video segment must pass source-material verification before generation. Recordings with multiple segments are delivered after all segments finish. The source repeats when the recording outlasts it. Small reference videos are resized before submission. The final video uses the target recording and the requested output resolution.
With ultra at FHD, select up to 180 seconds of target speech. Long recordings are divided near sentence endings. Each segment follows the corresponding interval of the source video. Assembly uses the selected recording as a continuous soundtrack. When the recording extends beyond the source video, its last frame supplies the remaining visuals.
Provide a video source and the audio to synchronize:
LipSync
Variables
Use a script instead of existing audio
Talking Avatar and Lip Sync support script synthesis with a selected voice. Request a duration quote for the exact script and speed before submission:QuoteAvatarScript
Variables
id as voiceScriptQuoteId. Omit existing-audio inputs when choosing
script synthesis. For example, the variables for TalkingAvatar become:
TalkingAvatar variables
voiceScriptQuoteId is omitted, the generation flow
calculates a quote during submission.
Shared avatar and lip-sync metadata
Both operations useSimpleAudio2VideoContentMetadata:
Ordinary image to video and
Extend place dialogue in prompt text. Their input
contracts differ from the script synthesis contract on this page.