API reference · Media

Transcription

Transcribe an audio file to text.

POST/v1/audio/transcriptions5 per request
view as markdown

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

filefilerequired

The audio to transcribe (wav or mp3).

modelstring

Only eroq-scribe-one today.

languagestring

ISO language hint, e.g. en, fr.

curl https://eroq.ai/v1/audio/transcriptions \
  -H "Authorization: Bearer $EROQ_API_KEY" \
  -F model=eroq-scribe-one \
  -F [email protected]
/v1/audio/transcriptions
→ POST /v1/audio/transcriptions
Press run — this replays a real exchange from the docs' own data. No key, no request, no charge.

Response

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