Vidu Text-to-Video
Official Format
Vidu Text-to-Video
Use POST /vidu/ent/v2/text2video to submit a pure-text video generation task.
POST
Vidu Text-to-Video
Vidu Text-to-Video
The official Vidu text-to-video API, submitted asapplication/json.
- The route entry is
POST /vidu/ent/v2/text2video. - Currently submitted as
application/json. - Supports pure-text video generation.
- After a successful submission, the task
task_idandstatusare returned. Use Query Task to poll for results.
Supported Models
viduq3-pro: Efficiently generates high-quality audio and video content, making the video more vivid, more realistic, and more three-dimensionalviduq2: Latest modelviduq1: Clear image quality, smooth transitions, and stable camera movement
Method and Path
Request Example
Response Example
Authentication
Body
Model name. Supported
viduq3-pro (efficiently generates high-quality audio and video content), viduq2 (latest model), viduq1 (clear image quality, smooth transitions, and stable camera movement).Style.
general: general style; anime: anime style. Note: this parameter does not take effect when using q2 or q3 models.Text prompt. The text description for video generation, supporting Chinese and English.
Video duration (seconds).
viduq2: default 5 seconds, optional 1-10 seconds; other models use the default value.Random seed. If not provided or set to 0, a random number is used; if set manually, the specified seed is used.
Aspect ratio. Optional values:
16:9 (default), 9:16, 3:4, 4:3, 1:1. Note: 3:4 and 4:3 are only supported by q2 and q3 models.Resolution. The default value depends on the model and video duration.
viduq2 (1-10 seconds): default 720p, optional 540p, 720p, 1080p.Whether to add background music.
true: the system will automatically select suitable music from the preset BGM library and add it; false: do not add BGM. Note: the BGM parameter does not take effect when the duration of the q2 model is 9 or 10 seconds; it does not take effect in the q3 model.Audio-video direct output (supported only by q3 models).
true: audio-video direct output is required, outputting a video with dialogue and background sound; false: audio-video direct output is not required, outputting a silent video.Off-peak mode.
true: generate videos during off-peak periods, with lower points cost; false: generate videos immediately.Whether to add a watermark.
true: add a watermark; false: do not add a watermark. Note: the watermark content is fixed as “Content generated by AI”, and it is not added by default.Watermark position.
1: top-left; 2: top-right; 3: bottom-right; 4: bottom-left.Watermark image URL. If not provided, the default watermark is used.
Pass-through parameter. No processing is performed; data transmission only.
Metadata identifier. JSON-formatted string, pass-through field.
Response
Task ID, used to query task status.
Task status. Optional values:
processing (in progress), failed (failed), completed (completed).Creation timestamp (Unix timestamp).