Docs

Revert translation

Discards manual edits and restores the AI-produced translation text.

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

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

curl -X POST "https://api.moviie.ai/v1/videos/497f6eca-6276-4993-bfeb-53cbbbba6f08/translations/es/revert"
{
  "language": "es",
  "label": "Espanhol",
  "status": "ready",
  "hasEdit": true,
  "outOfDate": true,
  "generatedByAi": true,
  "cues": [
    {
      "index": 0,
      "start": 0.5,
      "end": 3.2,
      "text": "Welcome to the show."
    }
  ]
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}