Evom Labs API Reference

Loli 2.0

Batch Speech-to-Text

Send multipart/form-data and receive the full transcription when it finishes.

POST/api/v1/stt/transcriptions
On this page

Code examples

curl -X POST "https://studio.evomlabs.com/api/v1/stt/transcriptions" \
  -H "Authorization: Bearer stt_sk_live_YOUR_KEY" \
  -F "audio=@recording.wav" \
  -F "language=auto"

Authorization

Bearer credential

Send the credential in the Authorization header. Account and voice keys are accepted only where the endpoint contract permits them.

Request

FieldTypeRequiredDefaultDescription
audiofileYes-Audio file, up to 100 MiB. file is accepted as an alias.
languagestringNoautoauto, one of the 30 single-language modes, or one of the three bilingual modes listed below.

Containers recognised at present: WAV 16-bit PCM, MP3, WebM, OGG and MP4 or M4A. Decoded duration must be between about 0.2 and 1,800 seconds. Which encoded formats decode depends on the deployment, so do not rely on the filename extension alone.

Response

JSON
{
  "text": "Nội dung đã phiên âm",
  "language": "vi",
  "duration_ms": 1234,
  "provider": "loli-asr",
  "model": "Loli 2.0"
}

Errors

REST failures use the documented error envelope. Handle the error code instead of matching the human-readable message.

Error codes

Was this page helpful?

Evom Labs API documentation