mingyan
Vidu - Create Task
Create video generation tasks using Vidu models, supporting image-to-video and first/last frame guidance
Vidu Create Video Task
Create video generation tasks using Vidu's AI models, supporting text-to-video, image-to-video, and first/last frame guidance modes.
Authentication
Get KeyAll requests require a Bearer token in the request header:
cURL
Authorization: Bearer {{key}}
Base URL
https://zcbservice.aizfw.cn/kyyReactApiServerbaseUrl is the shared prefix for all public APIs. The api field in the current page frontmatter shows the full endpoint. Use this baseUrl as the common prefix when reading or composing request paths.Model Introduction
Supported models:
viduq3-pro: Efficiently generates high-quality audio-visual content, making videos more vivid, vivid, and three-dimensional, with better resultsviduq3-turbo: Compared to viduq3-pro, faster generation speed
Request Parameters
modelstringrequiredModel name
Available values:
viduq3-pro- Vidu Q3 Pro, better qualityviduq3-turbo- Vidu Q3 Turbo, faster speed
promptstringrequiredVideo generation prompt describing the desired video content
Example:
"A cat dancing in the rain, cinematic style"durationnumberVideo duration in seconds, default value depends on the model
- viduq3-pro, viduq3-turbo: default 5 seconds
- Available range: 1-16 seconds
aspect_ratiostringOutput video aspect ratio, default is
16:9Supported values:
16:9- Landscape9:16- Portrait1:1- Square4:3- Standard3:4- Portrait standard
resolutionstringOutput resolution, default is
720pSupported values:
540p- Standard definition720p- High definition (default)1080p- Full HD
Image-to-Video Mode
first_imagestringFirst frame image URL (image-to-video scenario)
Usage:
- Use alone: image-to-video scenario
- Use with last_image: first/last frame scenario
Format requirements: jpeg, png, webp
Value type: Public URL
last_imagestringLast frame image URL (first/last frame scenario, must be used with first_image)
Format requirements: jpeg, png, webp
Value type: Public URL
Must be used together with
first_imageResponse Parameters
idstringUnique identifier for the video generation task, used for subsequent status queries
objectstringObject type, fixed as
videocreatedintegerTask creation timestamp
modelstringModel name used
statusstringTask status:
queued- Queuedprocessing- Processingcompleted- Completedfailed- Failed
errorstringError message, returned when status is
failedUse Cases
Text-to-Video
Generate videos using only prompt, no image guidance needed
Image-to-Video
Use first_image as the first frame to generate coherent video
First/Last Frame Guidance
Use both first_image and last_image for precise control of start and end
Vidu Features
Flexible Duration
Supports adjustable video duration from 1-16 seconds
Multiple Aspect Ratios
Supports 5 common video aspect ratios
Multiple Resolutions
Supports 540p, 720p, 1080p resolutions
Dual Model Selection
Pro version for better quality, Turbo version for faster speed
Best Practices:
- Video generation is asynchronous, use the returned
idto query task status and results - Clearly describe the desired visual effects and style in the prompt
- Choose the appropriate model:
- viduq3-pro: Efficiently generates high-quality audio-visual content, better results
- viduq3-turbo: Faster generation speed
- Select appropriate duration based on needs (1-16 seconds)
- Image URLs must be publicly accessible
Scenario Selection Recommendations:
- Text-to-Video: Fully AI-created, suitable for creative exploration
- Image-to-Video: Generated based on first frame image, suitable for scenarios with clear starting visuals
- First/Last Frame Guidance: Precise control of start and end, suitable for scenarios requiring specific transition effects

