How it works
Withinworld/inworld-stt-1 streaming, turn detection runs by default — no configuration required:
- As you stream audio, the server returns interim (partial) transcription results.
- When the server detects end-of-turn (for example, a sustained pause), it finalizes the transcript for that turn (
isFinal: true). - Speech after the turn boundary starts a new transcript.
Tuning automatic turn detection
Adjust sensitivity viatranscribeConfig in the first WebSocket message:
Turn-detection tuning fields are also available for AssemblyAI models via
assemblyaiConfig (minEndOfTurnSilenceWhenConfident, maxTurnSilence, vadThreshold). Turn-detection behavior for third-party models follows the capabilities of each provider.Manual turn control
To hand turn control fully to the client, disable server-side voice activity detection by settingvadThreshold to 0:
- Send an
endTurnmessage at the end of each speaker turn to finalize the transcript. - Send
closeStreamwhen you are done sending audio.
With manual turn control, a single turn has a maximum length (currently around 30 seconds; subject to change). Send
endTurn regularly at natural turn boundaries rather than relying on the limit.Choosing a mode
Next steps
WebSocket API Reference
Full message and configuration schema for the streaming endpoint.
Developer Quickstart
Make your first STT API call and get a transcript.