Faces
Update Face
Changed onJSON Merge Patch on the face. Send face_name, default_voice_id, or both.
Use this to change which Voice a face speaks with after it has been created. original_voice_id is read-only, so setting default_voice_id back to it reverts the face to the voice it started with.
<Note> `PATCH /v2/faces/{face_id}/name` is a legacy route that renames a face and nothing else. It still works, so existing integrations are unaffected, but this endpoint replaces it and can change the name and the default voice in one call. </Note>patch/v2/faces/{face_id}
Request
- Base URLhttps://tavusapi.com
- URLhttps://tavusapi.com/v2/faces/{face_id}
- AuthAPI key in header x-api-key
Path parameters
face_idstring required
The face identifier, e.g. rc9cff32ceba.
Request body
Example request
{
"face_name": "Ana",
"default_voice_id": "v0a1b2c3d4e5f"
}Response
Example response
{
"face_id": "rc9cff32ceba",
"face_name": "Ana",
"default_voice_id": "v0a1b2c3d4e5f",
"original_voice_id": "v000000000001"
}Changes
- info
endpoint added
- info