Skip to main content

Installation

Initialization

Text-to-Speech

Basic TTS

Speech-to-Text

Transcribe Audio

With Context Refinement

Supply a context string to enable server-side LLM polishing — proper nouns, filler removal, and punctuation are cleaned on the response text:
Omit context entirely to skip refinement. Note: this is the REST shape — the WebSocket streaming endpoint takes a {general, text, terms} object instead.

Get Supported Languages

Voice Management

List All Voices

Get Specific Voice

Create Custom Voice

Update Voice

Delete Voice

LLM Chat

Memory

Models & Languages

Music

Create a Song

Wait for Completion

Download Song

Judge

Scores content against a rubric you define, and parses conversational turns. A classifier, not a generator — every answer is a probability distribution over your options. Authenticated with the same 60db API key as the rest of the SDK — the client you already constructed works; there is no separate Judge credential.

Evaluate content

Save a rubric and re-run it

Extract from a turn

start/end are Unicode code point offsets. Slice "".join(list(text)[start:end]), not text[start:end] — the naive version lands in the wrong place once the turn contains an emoji.

The review queue

Models and spend

Pricing

Billed per input token. The upstream re-encodes the shared content once per question, so a 10-question rubric costs ten times the transcript. Context is 200,000 tokens per question; an over-long request raises a 400 before anything is charged (in practice the 512 KiB whole-request cap binds first). Failed runs — 429 busy, 503 unavailable, 400 invalid rubric — are refunded automatically.

Dialer

Check Status

Buy a Number

List Calls

Get Recording

Authentication

Sign Up

Sign In

Get Profile

Update Profile

Workspace Management

List Workspaces

Create Workspace

Billing

Get Available Plans

Analytics

Get Usage Statistics

API Key Management

List API Keys

Create API Key

Delete API Key

Webhooks

List Webhooks

Create Webhook

Delete Webhook

Error Handling

Type Hints

The SDK includes type hints for better IDE support:

Async Support

For async applications, you can use the SDK with asyncio: