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

FieldTypeDescription
filerequiredfileThe audio to transcribe (wav or mp3).
modelstringOnly eroq-scribe-one today.
languagestringISO 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.webm

Response

application/json
{
  "model": "eroq-scribe-one",
  "text": "That noise is the reactor missing its coolant flush.",
  "usage": { "credits_spent": 5, "credits_remaining": 882 }
}