2.1 Create Preview Task
POST https://techhk.aoscdn.com/api/tasks/media/video-translation/preview
Request Params
- url * string
Video URL
- language * string
Target Translation Language (e.g.: zh-CN, en-US). If it contains an underscore, the first part will be automatically extracted.
- original_srt_url string
Original SRT Subtitle File URL (if provided, this subtitle will be used instead of ASR recognition)
- translate_srt_url string
Translated SRT Subtitle File URL (if provided, this subtitle will be used instead of translation result)
- speaker_identification int
Distinguish Speakers (default: no). If not distinguishing, the selected voice must be specified.
- voice string
Voice. If not distinguishing speakers, the selected voice must be specified.
Response Params
- task_id string
Task ID, used for subsequent task status query and result retrieval