Hamsa STT supports two language codes:Documentation Index
Fetch the complete documentation index at: https://docs.tryhamsa.com/llms.txt
Use this file to discover all available pages before exploring further.
| Code | Language | Notes |
|---|---|---|
ar | Arabic | All dialects — auto-detected |
en | English | — |
Arabic dialect detection
When you setlanguage to ar, the model automatically detects the specific Arabic dialect being spoken. You do not need to specify the dialect. Supported dialects include Egyptian, Gulf, Levantine, Iraqi, and others.
Code-switching
The models handle speech that naturally switches between Arabic and English, which is common in many Arabic-speaking regions.Setting the language
Batch API
Set thelanguage field in your request body. Defaults to ar if omitted.
Realtime API
Set thelanguage field in your request body. Defaults to ar if omitted.
WebSocket
Set thelanguage field in the STT payload. Defaults to ar if omitted.