New transcription version

Another result from POST /v1/transcribe on an existing cut. Same required canvasId, canvasVersionId, and canvasVideoId. First run: Transcribe a video. Map of every service: New service versions.

Two kinds of version

  • Canvas version — a named cut. Separate guide: Create a canvas version.
  • Service version — another artifact on the same cut + pool video. This page.

What you need

  • A canvas, a cut, and a pool canvasVideoId from Transcribe a video.
  • Project key with service:transcribe and job:read.
  • options.language — 2–8 character language code.

1. Add another take

POST /v1/transcribe again. Omit overwrite to keep the current active result and add another. The response is a queued job.

To attach captions you already have instead of running ASR, use Bring your own transcript.

POST /v1/transcribe
curl -X POST "{BASE_URL}/v1/transcribe" \
  -H "Authorization: Bearer {PROJECT_KEY}" \
  -H "Content-Type: application/json" \
-d '{
    "canvasId": "{CANVAS_ID}",
    "canvasVersionId": "{CANVAS_VERSION_ID}",
    "canvasVideoId": "{CANVAS_VIDEO_ID}",
    "options": { "language": "{SOURCE_LANGUAGE}" }
  }'

2. Or replace the active result

Same ids. Set overwrite: true to replace the active transcription result on that cut + video.

POST /v1/transcribe (overwrite)
curl -X POST "{BASE_URL}/v1/transcribe" \
  -H "Authorization: Bearer {PROJECT_KEY}" \
  -H "Content-Type: application/json" \
-d '{
    "canvasId": "{CANVAS_ID}",
    "canvasVersionId": "{CANVAS_VERSION_ID}",
    "canvasVideoId": "{CANVAS_VIDEO_ID}",
    "overwrite": true,
    "options": { "language": "{SOURCE_LANGUAGE}" }
  }'

3. Poll the job

Same loop as the first run — How jobs work.

GET /v1/jobs/{jobId}
curl "{BASE_URL}/v1/jobs/{JOB_ID}" \
  -H "Authorization: Bearer {PROJECT_KEY}"

# Repeat until data.status is completed (or failed / cancelled).

4. Read the result

The transcript is stored on the canvas. Refresh GET /v1/canvases/{canvasId} and read versions[].artifacts.transcripts[].

GET /v1/canvases/{canvasId}
curl "{BASE_URL}/v1/canvases/{CANVAS_ID}" \
  -H "Authorization: Bearer {PROJECT_KEY}"
# versions[].artifacts holds every service take on each cut.

First run: Transcribe a video. Every service: New service versions. A new named cut: Create a canvas version.