Content!; use
tasks and results to follow their output.
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
Animate a source image with an accessible audio media reference:TalkingAvatar
Variables
Lip Sync with existing audio
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.