Create a new replica using the latest phoenix-4 model.
This endpoint creates a new replica using the latestDocumentation Index
Fetch the complete documentation index at: https://docs.tavus.io/llms.txt
Use this file to discover all available pages before exploring further.
phoenix-4 model, which can be used in real-time conversations. To ensure high-quality replica creation, follow the steps in the Replica Training guide.
phoenix-4 model.phoenix-3 model, set the model_name parameter to phoenix-3.Required Parameters
train_video_urlconsent_video_urltrain_video_urltrain_image_urlvoice_name (slug for a stock replica’s voice—see example values)train_video_url or train_image_url, not both.A direct link to a video that contains the consent statement. You may optionally send the consent statement in a separate video from your training video. If you do not provide a consent video, the consent statement must be present at the beginning of the training video. Required when your training flow uses a standalone consent recording alongside train_video_url for likeness-based training from video (see Replica Training).
"https://my-example-bucket.s3.us-east-1.amazonaws.com/your-consent-video.mp4"
A direct link to a publicly accessible storage location such as an S3 bucket. This video will be used for replica training. Do not send train_image_url in the same request.
"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.
"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"
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 that will be used to train the replica. The current default is phoenix-4.
"phoenix-4"