Voice
Build fluid, conversational voice applications with sub-200ms audio turnaround. The Voice API powers Realtime bidirectional streaming, high-fidelity neural speech synthesis, and whisper-accurate transcriptions.
Create client secret
Issues an ephemeral session token with restricted scopes that browser and mobile clients can safely use to establish direct WebRTC or WebSocket connections without exposing master API keys.
Realtime WebSocket API
Full duplex streaming connection for continuous speech-to-speech interactions, audio interrupts, and simultaneous function dispatching.
Text to speech - REST
Generates audio from the input text in MP3, Opus, AAC, or WAV format.
curl https://api.plannix.web.id/v1/audio/speech \
-H "Authorization: Bearer ${PLANNIX_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "plannix-tts-v1",
"input": "System integrity check passed with zero anomalies.",
"voice": "echo"
}' --output response.mp3Text to speech - Streaming
Pass header Accept: audio/mpeg or audio/opus to receive audio bytes streamed directly as they synthesize for ultra-low first-sound latency.
Text to speech - List voices
Retrieves the catalog of standard system voices (alloy, ash, coral, echo, fable, onyx, nova, shimmer) and their linguistic specialties.
Text to speech - Get voice
Gets details, sample audio clips, and pitch/speed calibration parameters for a specific voice ID.
Speech to text - REST
Transcribes audio files into text with word and segment timestamps across 98 languages.
Speech to text - Streaming
Stream raw PCM audio chunks via chunked transfer encoding and receive live transcription tokens in real time.
Custom voices - Create
Clones an authorized voice persona using 30 seconds of clean reference speech audio.
Custom voices - List
List all custom cloned voices registered to your organization.
Custom voices - Get
Retrieve metadata for a specific custom voice.
Custom voices - Update
Update name, description, or baseline pitch for a custom voice.
Custom voices - Delete
Permanently remove a cloned voice and its audio embeddings.
Custom voices - Get audio
Download the reference verification sample audio.