Use speech APIs
Hear, Speak, Clone, Cast or Dub. Mint a sandbox key and make a first call.
Build a voice agent
Build through the console or API, test with Omni, then connect your website, phone or application.
Keep your framework
LiveKit or Pipecat owns the loop. PyAI is the speech layer:
pyai.STT and pyai.TTS.API primitives
Use this when you already own transport, the LLM, or turn policy.- Mint a sandbox key (
POST /v1/sandbox/keys). - Choose Speech To Text (Hear) for transcription, Text To Speech (Speak) for synthesis, or Clone for a custom voice.
- Open Omni yourself with the browser voice agent guide when you want the full loop in code.
pip install pyai-sdk and
npm install @pyai/sdk. Pricing lists current
rates and included usage.
Before launch, complete the production-readiness checklist.
Dub an existing recording
Use Dub to turn an English recording into Hindi audio. Submit the source, poll the job, then download its WAV output. Hindi is the currently enabled target; this is an asynchronous workflow.Agents through UI or API
Use Agents for a complete voice conversation, powered by the Omni realtime runtime. Choose the builder or API to manage the same saved profile.- Build an Agent in the console or create one through the API.
- Add a hosted knowledge base so answers come from your pages and files. Paste a site URL and PyAI crawls the public pages.
- Publish the website Call Now button, or assign a number.
Framework adapters
Use this when LiveKit Agents or Pipecat should keep the session, tools, and LLM. These adapters use Hear and Speak. They do not create or select an Omni agent.Next
Get an instant key
Mint a sandbox key without signup, email, card, or billing.
SDKs
pip install pyai-sdk, npm install @pyai/sdk, plus LiveKit and Pipecat.
Omni overview
One WebSocket for speech, reasoning, tools, and knowledge.
Errors and limits
First-call failures, stable codes, and when not to retry.