Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

Stable caller-generated key. Reusing it with the same body returns the original resource; a different body returns 409.

Required string length: 1 - 255

Body

application/json
script
string
required

Exact text spoken through TTS; the brain is never invoked.

Required string length: 1 - 20000
personaId
string
required

Saved persona to snapshot. Mutually exclusive with direct configuration fields.

avatarId
string
voiceId
string
avatarModel
string
Example:

"cara-4-latest"

directorNotes
object | null
languageCode
string
Example:

"en"

voiceSpeed
number
Required range: -1 <= x <= 1
voiceGenerationOptions
Cartesia Sonic-3 · object

Voice generation options for Cartesia Sonic-3 models.

videoWidth
integer
Required range: x >= 1
videoHeight
integer
Required range: x >= 1
metadata
object

Caller metadata, up to 16 KB serialized.

Response

Accepted. Poll the returned resource.

id
string
required
Example:

"avv_123"

status
enum<string>
required
Available options:
pending,
running,
finalizing,
completed,
failed,
cancelled
truncated
boolean
required
effectiveMaxDurationSeconds
integer
required
content
object
required
createdAt
string<date-time>
required
metadata
object
required
completionReason
enum<string> | null
Available options:
script_completed,
max_duration_reached,
cancelled,
null
durationSeconds
number | null
sessionId
string | null

Underlying normal EngineSession ID. Use its recording deletion endpoint for deletion.

failure
object | null
retryOf
string | null
startedAt
string<date-time> | null
completedAt
string<date-time> | null
Last modified on August 7, 2026