Skip to main content
POST
Add Avatar

Media Requirements

The url field now supports both image and video files:
  • Images: jpg, jpeg, png, bmp, webp
  • Videos: mp4, mov, webm, avi, m4v
When using a video URL, the backend enforces:
  • Minimum duration: 2 seconds
  • Maximum resolution: 1920x1080

Authorizations

license
string
header
required

NavTalk API license key (e.g. sk_navtalk_...)

Body

application/json
name
string
required

Display name for the avatar. Must be unique per account.

Example:

"my-video-avatar"

url
string
required

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.

Example:

"https://example.com/avatar.mp4"

providerId
string
required

The provider ID to use (obtained from /provider/list).

Example:

"b92a28fb2ea737457c7f13ba554759c0"

model
string
required

The model key to use (obtained from /model/list). For ElevenLabs agents, see ElevenLabs Agents Quickstart. For Cartesia agents, see Cartesia Voices Agents Quickstart.

Example:

"agent_3201khcbet2vf349gpmtfg83q0hy"

voice
string
required

The voice key to use (obtained from /voice/list).

Example:

"CwhRBWXzGAHq8TQ4Fs17"

firstMessage
string

Optional opening message the avatar says at the start of a conversation.

Example:

"Hi! How can I help you today?"

prompt
string

Optional system prompt that controls the avatar's behavior and personality.

Example:

"You are a helpful assistant."

Response

Avatar training job created successfully

code
integer
Example:

200

message
string
Example:

"SUCCESS"

data
object