Scrub API
POST/v1/tools/transcribe_audiopriced

Transcribe audio

Transcribes audio, such as a call, a podcast or a voice note: writes down what is said, every word with its time (speech to text), in the language it detects or the one given.

Takes src (file). Returns transcript.

$0.15 per 10 minutes of audio, up to 360 minutes.

Afterwards, change language with adjust; quote_adjustment prices the change.

Fields

FieldTypeDefaultWhat it is
srcstringRequiredA file_id from create_upload, accepting audio/*, up to 4 GB. Get one with create_upload. Or the job_id of a finished job that made a file of this kind: that file is used. Pass the job_id rather than retyping its result.
languagestringautoLeft as auto, the language is detected. To choose one, give its code, such as en, fr or de.

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/transcribe_audio \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{"src":"w/…/file_id"}'

Answer

{
  "ok": true,
  "result": {
    "job_id": "job_…",
    "status": "running",
    "price_usd": "$…"
  }
}

It starts at once and answers running. Ask job_status with the job_id for its result. quote gives its price first, free.

Every call can also answer an error: what comes back. Try it with your key from Account.