Model parameters
- Model ID:
viduq4-preview - Current pricing: Vidu Q4 Preview
- Endpoint:
https://geekai.co/api/v1/videos/generations - Parameters: Video API reference
- Authentication: Get an API key
The following video API parameters are not supported:
negative_promptimage_tailvideoactionsizequalityfpsdraftdraft_task_idoutput_format
aspect_ratio):
16:9: landscape9:16: portrait3:4: portrait4:3: landscape1:1: square
resolution accepts 540p, 720p, 1080p, 2k, or 4k (default: 720p).
duration accepts 3–16 seconds (default: 5 seconds).
Use enhance_prompt instead of the official is_rec to expand and enhance the prompt.
Pass additional official parameters in extra_body, as in the Vidu Q3 example.
Pricing
Vidu Q4 Preview pricing depends on output resolution and duration:
For discounted GeekAI channels, multiply the listed rate by the channel multiplier. On the high-availability Pro channel with multiplier
0.8, a 5-second video at 720P costs 0.6 x 5 x 0.8 = 2.4 CNY; at 2K it costs 1.2 x 5 x 0.8 = 4.8 CNY. The discount also applies to additional charges.
Image to video
Vidu Q4 Preview supports first-frame generation and references (images and audio). For text-to-video, use the Vidu Q3 family. First frame Pass one image inimage to generate a video starting from that frame:
Reference to video
Vidu Q4 Preview accepts up to 15 reference images and three reference audio clips. Reference images Pass one or more reference images inimages:
Asynchronous tasks
Video tasks can take a while. Use asynchronous requests to avoid timing out while waiting for generation. The video API usesasync to control asynchronous generation. The default, false, waits for the finished video. Set it to true to receive a task ID you can poll.
Follow the asynchronous task example to retrieve the result.