GuideVideo GenerationVidu

Create Text-to-Video Task

Vidu text-to-video API guide: generate videos from text with viduq3-pro and viduq3-turbo, with direct audio output, off-peak mode, and a model comparison.

(Vidu Video)

Turn text descriptions into high-quality videos with the Vidu model series. Supports advanced features such as direct audio output, off-peak mode, and custom watermarks.


Quick Start

Video generation is asynchronous. The whole flow takes three steps:

1. Submit the task → get a task_id
2. Poll the status → wait for status to become completed and return a public URL

📌 Basics

  • Endpoint: POST /v1/video/generations
  • Authentication: Bearer Token (Authorization: Bearer {{YOUR_API_KEY}})
  • Content type: application/json

📥 Request Parameters (Request Body)

ParameterTypeRequiredDescription
modelstringYesModel name. Options: viduq3-turbo (fast), viduq3-pro (best quality), viduq2, viduq1.
promptstringYesText description of the video (max 5000 characters).
durationintegerNoDuration in seconds. Q3 series: 1-16; Q2: 1-10; Q1: fixed at 5.
seedintegerNoRandom seed. Pass 0 or omit for random.
metadataobjectNoExtended configuration object.
└─ aspect_ratiostringNoAspect ratio. Default 16:9. Options include 9:16, 1:1, etc. (3:4/4:3 are Q2/Q3 only).
└─ resolutionstringNoResolution. Options: 540p, 720p, 1080p (Q1 only supports 1080p).
└─ audiobooleanNoDirect audio output (with sound effects/dialogue). Q3 series only, default true.
└─ bgmbooleanNoAutomatically add background music. Default false.
└─ off_peakbooleanNoOff-peak mode. Lower credit cost when enabled; generates within 48 hours.
└─ callback_urlstringYesCallback URL for receiving asynchronous task status notifications.
└─ watermarkbooleanNoWhether to add a watermark.

🚀 Model Comparison

ModelCore strengthsDuration rangeResolutions
viduq3-proTop-tier quality, vivid and dimensional1 - 16s540p / 720p / 1080p
viduq3-turboBlazing-fast generation, great value1 - 16s540p / 720p / 1080p
viduq2Latest general-purpose model1 - 10s540p / 720p / 1080p
viduq1Smooth transitions, stable camera work5s1080p

📤 Response

Status code: 200 OK (task submitted)

FieldTypeDescription
idstringUnique task ID.
task_idstringTask ID (used for queries).
statusstringTask status (e.g. queued).
progressintegerGeneration progress.
created_atintegerCreation timestamp.

📝 Request Example

{
  "model": "viduq3-turbo",
  "prompt": "The camera captures a woman sitting in a cafe; she looks up out the window as the camera moves slowly. Warm tones, relaxed and cozy atmosphere.",
  "duration": 7,
  "seed": 3,
  "metadata": {
    "aspect_ratio": "16:9",
    "resolution": "1080p",
    "audio": true,
    "bgm": false,
    "off_peak": false,
    "callback_url": "https://your-api.com/v1/callback/vidu"
  }
}

On this page