OpenAI-kompatibler Speech-Endpoint
Realtime TTS stellt nun POST /v1/audio/speech im OpenAI-Format bereit, sodass bestehende OpenAI-SDKs unverändert mit Inworld-Modellen und -Stimmen funktionieren.
OpenAI-compatible speech endpoint
Realtime TTS now serves POST /v1/audio/speech in OpenAI's format. Apps built on OpenAI's text-to-speech can switch by pointing the SDK at Inworld and choosing an Inworld model and voice. See OpenAI Compatibility.
- Works with the OpenAI SDKs: The official Python and Node.js SDKs work unchanged, including streaming responses.
- Formats:
mp3,opus,flac,wav, andpcm, plus server-sent events withstream_format: "sse". - One base URL:
https://api.inworld.ai/v1also serves the Inworld Router, so one client configuration covers LLM and TTS.