Docs

Regenerate translation

Re-runs AI translation for a language, replacing the existing track. Consumes credits proportional to the video duration; an insufficient balance returns 402.

POST
/v1/videos/{id}/translations/{lang}/regenerate

Authorization

BearerAuth
AuthorizationBearer <token>

Pass the raw API key as a Bearer token (Authorization: Bearer <key>). Publishable keys start with mvi_pub_ (playback-scoped). Other prefixes denote private/admin keys for general REST routes. GET /v1/embeds/{embedId}/playback accepts publishable keys only.

In: header

Path Parameters

id*string

Video UUID.

Formatuuid
lang*string

BCP-47 language code of the track.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.moviie.ai/v1/videos/497f6eca-6276-4993-bfeb-53cbbbba6f08/translations/es/regenerate"
{
  "language": "es",
  "status": "pending"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}