Transcripts

Translate captions

Creates one caption translation job per target language. Jobs appear with the captions_ prefix in the video job list. Required scope: dubs:write.

post/videos/{videoId}/captions

Request

  • Base URL
    https://api.braiv.co/v1
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key

Path parameters

videoIdstring required

Braiv library video document ID.

Headers

Idempotency-Keystring

Caller-generated key for safe POST retries. The API retains the first JSON response for 24 hours. Reusing a key with another path or body returns 409 IDEMPOTENCY_REPLAY.

Request body

languagesLanguageCode[] required

Unique caption translation targets.

reservationIdstring

Optional credit reservation to consume.

reservationLineItemIdByLanguageobject

Reservation line-item IDs keyed by requested language.

Example request

{
  "languages": [
    "en"
  ]
}

Response

Translation jobs queued.

Example response

{
  "jobs": [
    {
      "language": "en"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.