POST
/
v2
/
replicas
curl --request POST \
--url https://tavusapi.com/v2/replicas \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"callback_url": "https://yourwebsite.com/webhook",
"replica_name": "Rio",
"train_video_url": "https://my-example-bucket.s3.us-east-1.amazonaws.com/your-train-video.mp4",
"consent_video_url": "https://my-example-bucket.s3.us-east-1.amazonaws.com/your-consent-video.mp4"
}'
{
  "replica_id": "r783537ef5",
  "status": "started"
}
By default, all new replicas are trained using the phoenix-3 model.
To use the older phoenix-2 model, set the model_name parameter to phoenix-2.

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200
application/json

The response is of type object.