Creates a new replica from a training video or image URL for use in conversations—see Which training path? for preparation, consent, and media requirements.
Documentation Index
Fetch the complete documentation index at: https://docs.tavus.io/llms.txt
Use this file to discover all available pages before exploring further.
Optional direct link to a separate video that contains only the consent statement when it is not spoken at the start of train_video_url.
Required when your flow uses a standalone consent recording alongside train_video_url for likeness-based training from video. See Training from a video and consent statement requirements for exact wording and troubleshooting.
If omitted, the opening of train_video_url must include the consent statement instead (see train_video_url).
"https://my-example-bucket.s3.us-east-1.amazonaws.com/your-consent-video.mp4"
A direct download link such as a presigned S3 URL or other publicly reachable file used for video-based replica training. Do not send train_image_url in the same request.
The file must meet training video requirements.
When you do not send consent_video_url, this training clip must open with the following statement (verbatim), or training will fail:
I, [FULL NAME], am currently speaking and consent Tavus to create an AI clone of me by using the audio and video samples I provide. I understand that this AI clone can be used to create videos that look and sound like me.
See consent statement requirements for formatting tips and troubleshooting.
"https://my-example-bucket.s3.us-east-1.amazonaws.com/your-train-video.mp4"
A direct link to a publicly accessible image used for image-to-replica training. Requires voice_name. Do not send train_video_url in the same request. See Training from an image for image training, voice selection, and consent.
"https://my-example-bucket.s3.us-east-1.amazonaws.com/your-train-image.png"
Required when train_image_url is set. Slug that selects the voice from an existing Tavus stock replica (case-insensitive, e.g. anna). If supplied with train_video_url, the name is still validated when present. Use List Voices to discover valid slugs; see also example voice_name values.
"anna"
When set to true, Tavus's AI Image Fixer instantly fixes any uploaded image to fit our image requirements, eliminating the need for editing or recapturing photos. Only applies to image-based training (train_image_url).
true
A url that will receive a callback on completion of replica training or on error.
"https://yourwebsite.com/webhook"
A name for the replica.
"Rio"
The Phoenix model version used to train the replica. Defaults to phoenix-4; set to phoenix-3 for the older model.
"phoenix-4"