IA / Tradução de legendas

Referência da API · IA · Tradução de legendas

Timeline Original

Retorna a timeline do short com a legenda original

GEThttps://api.realoficial.com.br/api/v1/projects/{projectId}/shorts/{shortId}/translations/source/timeline
  • Bearer token
  • Accepts X-Workspace-Id

This documentation is only available in Portuguese. Code samples, endpoints and field names are the same in any language.

Endpoint

Texto
GET https://api.realoficial.com.br/api/v1/projects/{projectId}/shorts/{shortId}/translations/source/timeline

Retorna a timeline do short com a legenda no idioma original, no mesmo formato de Timeline Traduzida. É útil para alternar entre original e traduções num seletor de idioma.

Path Parameters

projectIdstringpathobrigatório

ID do projeto (ULID).

shortIdstringpathobrigatório

ID do short (ULID).

Exemplo de requisição

curl "https://api.realoficial.com.br/api/v1/projects/PROJECT_ID/shorts/SHORT_ID/translations/source/timeline" \
  -H "Authorization: Bearer seu_token_aqui" \
  -H "Accept: application/json"

Exemplo de resposta

{
  "translation_id": null,
  "language": "pt",
  "title": "O momento em que tudo mudou",
  "timeline": {
    "fps": 30,
    "compositionWidth": 1080,
    "compositionHeight": 1920,
    "tracks": [],
    "items": {},
    "assets": {}
  }
}
Timeline Original | API Real Oficial