Integrate World-Class Voice AI with 10 Lines of Code.
Official SDKs for Python, Node.js, and Next.js. Bi-directional WebSockets for real-time streaming, comprehensive webhooks, and predictable per-character pricing.
Integrate World-Class Voice AI with 10 Lines of Code.
Official SDKs for Python, Node.js, and Next.js. Bi-directional WebSockets for real-time streaming, comprehensive webhooks, and predictable per-character pricing.
Audio Infrastructure is Hard, Fragile, and High Latency
Connecting audio codecs, buffer underruns, WebRTC handshakes, and phone trunking requires specialized systems engineering. Sono packages state-of-the-art acoustic models into idiomatic developer SDKs that just work.
import { SonoClient } from "@zunn/sono-sdk";
const sono = new SonoClient({ apiKey: process.env.SONO_API_KEY });
// Stream generative speech with real-time audio playback
const audioStream = await sono.textToSpeech.stream({
voiceId: "farhan-conversational-bn",
text: "স্বাগতম! যুন সোনোর এপিআই ব্যবহার করে অ্যাপ্লিকেশনে যোগ করুন বাস্তবসম্মত ভয়েস।",
outputFormat: "mp3_44100_128",
voiceSettings: { stability: 0.75, similarityBoost: 0.85 }
});
audioStream.pipe(responseStream);Developer Infrastructure Specifications
Stream raw PCM audio frames over persistent WebSockets, eliminating HTTP handshake latency for live voice agents.
Type-safe client libraries for TypeScript/Node.js, Python (uv-compatible), and Go with built-in retry and streaming helpers.
Automate high-volume audiobook conversion or transcription pipelines with HMAC-signed webhooks upon completion.
Track character counts and streaming minutes in real time. Set budget hard limits to ensure total cost predictability.
Ten Lines of Code from Zero to Audio Stream
From terminal package install to streaming audio bytes in your application.
Install the Official SDK
Run `pnpm add @zunn/sono-sdk` or `pip install zunn-sono` in your existing terminal project.
Initialize Client with API Key
Authenticate with your scoped developer API key using secure environment variables.
Dispatch Streaming Request
Send text with voice ID and prosody settings. Receive a readable binary audio stream immediately.
Pipe Directly to Speakers or WebRTC
Stream output chunks directly into audio elements, telephone SIP bridges, or disk storage.
Generative Text-to-Speech (TTS) API
Control emotion, pacing, breath intervals, and pitch inflection with granular precision. Synthesize audiobooks, video narrations, and in-game dialogue in seconds.
Real-Time Conversational Voice AI Agents
Sub-300ms glass-to-glass latency, natural turn-taking, intelligent interruption handling, and native SIP/PBX integration for customer service phone lines.
Audio Showcase & Voice Library Samples
Listen to raw studio exports synthesized with Zunn Sono across genres, accents, and emotional deliveries. Zero post-processing, zero artificial enhancements.