This repository contains examples to help you get started with the Inworld APIs. These examples are short snippets that demonstrate best-practices in using Inworld and accelerating your development process.
| Requirement | |
|---|---|
| Python | 3.10+ |
| Node.js | 20+ |
| API key | Get one at inworld.ai |
inworld-api-examples/ ├── stt/ │ ├── python/ │ └── js/ ├── tts/ │ ├── python/ │ └── js/ └── realtime/ ├── python/ └── js/ STT (Speech-to-Text)
Transcribe audio via synchronous HTTP or real-time WebSocket streaming.
- Python — Sync and streaming STT examples in Python
- JavaScript — Sync and streaming STT examples in JavaScript
Covers synthesis, HTTP & WebSocket streaming, word/phoneme timestamps, long-text chunking, low-latency benchmarks, voice cloning, and voice design.
- Python — Text-to-speech examples in Python
- JavaScript — Text-to-speech examples in JavaScript
Covers WebSocket and WebRTC-based real-time voice agents with both basic and JWT authentication.
- Python — Real-time voice agent examples in Python
- JavaScript — Real-time voice agent examples in JavaScript
