1
Voice the script
generate_audio (a TTS model, your script, a voiceId). Capture the audio output id.2
Lip-sync
generate_lip_sync (a portrait image plus the audio output id) for the talking-head video.3
Assemble and publish
create_post, add_post_asset (the video), add_post_destination, then schedule_post.