Speech to Text Quickstart
Hamsa offers two STT endpoints:- Batch API (
/v1/jobs/transcribe) — Async job-based. Accepts a media URL and delivers the transcription via webhook or polling. - Realtime API (
/v1/realtime/stt) — Synchronous. Accepts base64-encoded audio and returns the transcription directly.
Prerequisites
Batch Transcription
Submit a media URL for transcription. Results are delivered asynchronously.Realtime Transcription (synchronous)
Send base64-encoded audio and receive the transcription directly.Parameters
Batch API
SRT Options
WhenreturnSrtFormat is true, you can customize the subtitle formatting: