Add Avatar
Create a new avatar training job from a media URL.
Supported image formats: jpg, jpeg, png, bmp, webp.
Supported video formats: mp4, mov, webm, avi, m4v.
Video constraints:
- Minimum duration:
2seconds - Maximum resolution:
1920x1080
Returns a jobId (for polling status) and an avatarId (for referencing the avatar in sessions).
The license key can be passed as either a query parameter or a request header.
Media Requirements
Theurl field now supports both image and video files:
- Images:
jpg,jpeg,png,bmp,webp - Videos:
mp4,mov,webm,avi,m4v
- Minimum duration: 2 seconds
- Maximum resolution: 1920x1080
Authorizations
NavTalk API license key (e.g. sk_navtalk_...)
Body
Display name for the avatar. Must be unique per account.
"my-video-avatar"
URL of the source media file.
Supported image formats: jpg, jpeg, png, bmp, webp.
Supported video formats: mp4, mov, webm, avi, m4v.
Video constraints: minimum duration 2 seconds; maximum resolution 1920x1080.
"https://example.com/avatar.mp4"
The provider ID to use (obtained from /provider/list).
"b92a28fb2ea737457c7f13ba554759c0"
The model key to use (obtained from /model/list). For ElevenLabs agents, see ElevenLabs Agents Quickstart. For Cartesia agents, see Cartesia Voices Agents Quickstart.
"agent_3201khcbet2vf349gpmtfg83q0hy"
The voice key to use (obtained from /voice/list).
"CwhRBWXzGAHq8TQ4Fs17"
Optional opening message the avatar says at the start of a conversation.
"Hi! How can I help you today?"
Optional system prompt that controls the avatar's behavior and personality.
"You are a helpful assistant."