2.1 Video Synthesis (Create Task)

POST https://techhk.aoscdn.com/api/tasks/media/video-translation/export

Request Params

  • url * string

    File URL: The file URL must be a valid HTTP URL. If the URL lacks a file extension, specify the extension parameter (e.g., extension=mp3). The maximum length is 512 characters. The download timeout is 5 minutes (failure if not completed in that time). The file duration is 3 hours and size is 4GB.

  • language * string

    Voice Language (based on the selected mode)
    You can find the specific languages in the table below.

  • voice_mode * int

    Mode (Voice Library)
    1: Classic Voice
    2: Extended Voice

  • voice * string

    Voice: Default is Xiaoyun
    *Voices are matched based on the selected language. Click to view the .

  • subtitles * array

    Subtitles

    • start * int

      Segment start time in milliseconds

    • end * int

      Segment end time in milliseconds

    • text * string

      Recognized text content

  • enable_subtitle int

    Generate subtitles? 0 - No, 1 - Yes (default)

  • subtitle_style object

    Subtitle style

    • alignment int

      Alignment: 0 - Left, 2 - Center (default), 3 - Right

    • backcolor string

      Background color (rgba): Default black, 80% opacity (0,0,0,0.8)

    • enable_bg bool

      Enable background: true (enabled, default), false (disabled)

    • enable_stroke bool

      Enable text outline: true (enabled), false (disabled, default)

    • font int

      Font Type ID: Options: 0-andalemo (default), 1-open sans, 2-comic, 3-impat, 4-times new roman, 5-SimSun, 6-SimHei, 7-KaiTi, 8-LiShu, 9-Microsoft YaHei

    • font_bold bool

      Bold text: true (enabled), false (disabled, default)

    • font_color string

      Font color (rgba), default pure white and opaque (255,255,255,1)

    • font_italic bool

      Italic text: true (enabled), false (disabled, default)

    • font_size int

      Font size: unit in pixels, default 20

    • font_underline bool

      Underline: true (enabled), false (disabled, default)

    • stroke_color string

      Outline color (rgba), default pure white and opaque (255,255,255,1)

    • stroke_width int

      Outline width: unit in pixels, default 0

    • vertical_position int

      Bottom vertical distance: unit in pixels, default 0

  • volume int

    Volume: Range is 0-100, default is 50

  • filename string

    Export file name

  • extension string

    File Extension: Required if the URL path lacks a file extension.

Response Params

  • task_id string

    Task ID: Required for subsequent progress queries.

Copyright © 2025 RecCloud All Rights Reserved 條款隱私Cookies策略
返回頂部

本網址使用對本網站的運營及其核心功能至關重要的 cookie,只有在您同意的情況下才會放置其他 cookie。想要了解更多詳情,請訪問我們的 隱私策略.