Skip to main content
Inworld AI provides a WebRTC-based Realtime speech-to-speech API. Uses native Opus over UDP for lower latency than WebSocket alternatives.
Vision Agents uses Stream Video for real-time WebRTC transport by default. External WebRTC transports are supported as well. Most AI providers offer free tiers to get started.
Inworld also provides standalone text-to-speech.

Installation

Get your API key from the Inworld Portal and set INWORLD_API_KEY in your environment (or pass api_key= explicitly).

Quick Start

Pair Inworld Realtime with a WebRTC-capable edge transport like getstream.Edge().

Parameters

Registering Tools

Inworld’s Realtime API is protocol-compatible with OpenAI’s Realtime API, so registered functions follow the OpenAI function-calling schema.
v1 is WebRTC only; a WebSocket transport may be added later. Video input is not currently supported by Inworld’s Realtime API.

Next Steps

Inworld TTS

Standalone text-to-speech

Build a Voice Agent

Get started with voice