logoRecCloud

AI Text to Video

Generate stunning montage videos with one-click by inputting prompt text, automatically adding voiceover, subtitles, and background music. Suitable for content creation, advertising, and other scenarios.

1. Create Task

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

Request Params

  • video_subject * string

    Video Generation Theme: Specify a title to automatically generate text. Choose between video_script and video_subject.

  • video_script * string

    Custom Text: Specify text. Choose between video_script and video_subject.

  • voice * string

    Voice type, used for video dubbing.
    * Please select the voice corresponding to video_script/video_subject. Click to view .

  • video_aspect int

    Video Aspect Ratio. Options: 0 - 16:9 (default), 1 - 9:16

  • bgm_type int

    Background Music Type: Options: 0-none (default), 1-random, 2-specified background music

  • bgm_file string

    The URL of the Uploaded File. Required when bgm_type is 2.

  • subtitle_enabled bool

    Enable Subtitles: Default is enabled

  • subtitle_position int

    Subtitle Position: Options: 0-bottom, 1-center, 2-top (default)

  • font_type 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_size int

    Subtitle Font Size: default is 60

  • text_fore_color string

    Subtitle Font Color: default is #FFF

  • stroke_color string

    Subtitle Border Color: default is #000

  • stroke_width int

    Subtitle Border Width: default is 1

Response Params

  • task_id string

    Task ID: Required for subsequent progress queries.

Copyright © 2025 RecCloud All Rights Reserved TermsPrivacyCookies Policy
Back to top

This website uses cookies that are essential for the operations of this website and its core functions. Other cookies will only be placed with your consent. For more details visit our Cookies Policy.