Skip to main content

API reference

ASR

ASR: Transcribe audio. Published endpoints, request parameters, JSON responses and authentication.

Release v1.0.0 · This reference describes the release shown here. Console shows the current published configuration.

Technical limits
ⓘThese limits apply unless an endpoint lists different limits.
Timeout
240 s
Request body
8256 KiB
Response body
4 MiB

Transcribe audio

POST/asr/v1/transcribe

Transcribe a complete PCM16 WAV or single-stream Ogg Opus recording. Maximum 8 MiB and 120 seconds. Stereo uses the left channel. Duration is verified locally and checked against the upstream result before billing. Billable usage is integer audio milliseconds with one-second upward billing granularity. Silence may return empty text and remains billable after successful processing. Failures are not charged. Upload and queue time are not billable.

$0.12 / hour · rounded up to 1 secondHow billing works ↗

Parameters

This operation has no published parameters.

Success response200

Fields inside data

NameTypeRequiredDescription
duration_msintegerNo
request_idstringNo
textstringNo
JSON model

Illustrative JSON shape generated from the published schema. Field values are examples, not live results.

JSON model
{
  "code": 0,
  "data": {
    "duration_ms": 0,
    "request_id": "string",
    "text": "string"
  },
  "error": "string"
}