Process Logs

Generate Audio for Transcripts

post/v2/process-log/generate-audio

Request

  • Base URL
    https://api.translate.video (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Headers

vitra-apitokenstring

Request body

processIdstring required

Process id

targetLanguagestring required

Target Languge

subtitlesboolean

Subtitles to generate

voiceobject

Voice to use when diarization is disabled

voicesobject

Speaker -> voice map used when diarization is enabled

diarizationboolean

Enable diarization; when true, voices is required; when false, voice is required. Can be skipped when adding subtitles.

sourceLanguagestring required

Source Language

projectIdstring required

Project id

generateForAllTranscriptsboolean required

Generate speech for all cards (true) or only for transcripts missing audio (false)

optimizeboolean required

Enable rate optimization for audio-video sync. When disabled, video plays at 1x speed.

Example request

{
  "voices": {
    "0": {
      "voice": "Rachel",
      "voiceId": "ID"
    }
  }
}

Response

Success

Changes

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