POST
/v1/tools/transcribepricedTranscribe a video
Transcribes a video: writes down what is said in it, 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
| Field | Type | Default | What it is |
|---|---|---|---|
src | string | Required | A file_id from create_upload, accepting video/*, 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. |
language | string | auto | Left 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 \
-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.