- Raw Audio Bytes (
application/octet-stream) - Send raw audio data with all parameters as query parameters - Audio URL (
application/json) - Provide only a URL to an audio file in the JSON body, with all other parameters as query parameters
Authentication
This endpoint requires authentication using a Bearer token in the Authorization header:Input Methods
Choose the input method that best fits your use case:| Method | Content Type | Use Case | Parameters |
|---|---|---|---|
| Raw Bytes | application/octet-stream | Streaming audio data, real-time processing | Query parameters |
| Audio URL | application/json | Remote audio files, webhook processing | Query parameters |
Code Examples
Method 1: Raw Audio Bytes (application/octet-stream)
Method 2: Audio URL (application/json)
Supported Languages
The Lightning ASR model supports automatic language detection and transcription across 30+ languages. For the full list of supported languages, please check ASR Supported Languages.Specify the language of the input audio using its ISO
639-1 code. Use
multi to
enable automatic language detection from the supported list. The default is
en (English).Authorizations
Query Parameters
Available options:
lightning Example:
Available options:
it, es, en, pt, hi, de, fr, uk, ru, kn, ml, pl, mr, gu, cs, sk, te, or, nl, bn, lv, et, ro, pa, fi, sv, bg, ta, hu, da, lt, mt, multi Example:
Example:
Available options:
true, false Available options:
true, false Available options:
true, false 
