Requests
Endpoints for creating and polling asynchronous video translations.
Get a video translation request
client.videoTranslate.requests.retrieve(stringid, RequestOptionsoptions?): RequestRetrieveResponse { id, config, created_at, 13 more }
GET/v1/video-translate/requests/{id}
List video translation requests
client.videoTranslate.requests.list(RequestListParams { created_from, created_to, limit, 5 more } query?, RequestOptionsoptions?): RequestListResponse { data, pagination }
GET/v1/video-translate/requests
ModelsExpand Collapse
RequestRetrieveResponse { id, config, created_at, 13 more }
RequestRetrieveResponse { id, config, created_at, 13 more }
config: Config { source_srt, speaker_voices, target_srts, tts_model } The request config as returned by the API. SRT content is replaced by metadata, speaker_voices keys are canonical speaker IDs, and other keys are returned unchanged.
config: Config { source_srt, speaker_voices, target_srts, tts_model }
The request config as returned by the API. SRT content is replaced by metadata, speaker_voices keys are canonical speaker IDs, and other keys are returned unchanged.
error_message?: string
Present only when failed. A safe, bounded description, for example SRT or speaker validation errors found after the video was processed.
maxLength1001
RequestListResponse { data, pagination }
RequestListResponse { data, pagination }
data: Array<Data>
data: Array<Data>
config: Config { source_srt, speaker_voices, target_srts, tts_model } The request config as returned by the API. SRT content is replaced by metadata, speaker_voices keys are canonical speaker IDs, and other keys are returned unchanged.
config: Config { source_srt, speaker_voices, target_srts, tts_model }
The request config as returned by the API. SRT content is replaced by metadata, speaker_voices keys are canonical speaker IDs, and other keys are returned unchanged.
error_message?: string
Present only when failed. A safe, bounded description, for example SRT or speaker validation errors found after the video was processed.
maxLength1001