Speech to Text
Stream live transcripts or transcribe finished audio files.
Kotoba’s Speech-to-Text (ASR) lets you turn audio into text in either of two complementary modes:
- Live (WebSocket) — push PCM16 chunks as they arrive, read transcript
deltas back the same connection. Built for microphones and any
latency-sensitive pipeline where the first words matter before the
utterance ends. Deployments with a diarization service also attribute
the live transcript to speakers (on fal:
kotoba-streaming-stt). - File (REST) — POST an audio file and get the transcript back in the response, optionally with per-segment timestamps and speaker attribution. Best for offline workflows and anything that doesn’t need partial results. A long file goes in the same request: the server transcribes it in pieces and joins the text. Private endpoints add an asynchronous job API.
Supported input languages:
Pick a transport
Where to go next
- Python SDK for ASR —
client.asr.transcribe(...)for files,client.asr.transcribe_stream(...)for live. - API reference — Live (WebSocket) — the AsyncAPI spec for the streaming channel.
- API reference — File (REST) — the OpenAPI spec for the
one-request
POST /v1/speech-to-textendpoint (on fal:kotoba-stt). - API reference — Job API (REST) — the OpenAPI spec for the asynchronous job endpoints (private endpoints only).