3.1 Create Synthesis Task
POST https://techhk.aoscdn.com/api/tasks/media/video-translation/synthesis
Request Params
- url * string
Video URL
- language string
Target Language (e.g.: zh-CN, en-US). If it contains an underscore, the first part will be automatically extracted.
- subtitles string/array
Subtitle Data (JSON string or array), format:
- start int
Start Time (milliseconds)
- end int
End Time (milliseconds)
- text string
Subtitle Text
- speaker string
Speaker ID (e.g.: speaker0)
- voice string
Voice ID
- modified int
Whether modified (1-modified)
-
Response Params
- task_id string
Task ID, used for subsequent task status query and result retrieval