API reference
Transcription
POST/v1/audio/transcriptions5 per request
Send multipart/form-data with a file part — **wav or mp3** (other containers return unsupported_format; re-encode client-side or record WAV via WebAudio). Language is detected automatically; pass language (ISO code) as a hint to improve accuracy.
Built for voice-message-length clips: files are capped at 8MB (about 8 minutes of compressed audio).
Request body
| Field | Type | Description |
|---|---|---|
| filerequired | file | The audio to transcribe (wav or mp3). |
| model | string | Only eroq-scribe-one today. |
| language | string | ISO language hint, e.g. en, fr. |
Example
curl https://eroq.ai/v1/audio/transcriptions \
-H "Authorization: Bearer $EROQ_API_KEY" \
-F model=eroq-scribe-one \
-F file=@clip.webmResponse
application/json
{
"model": "eroq-scribe-one",
"text": "That noise is the reactor missing its coolant flush.",
"usage": { "credits_spent": 5, "credits_remaining": 882 }
}