Vidu Q3 Pro
Text-to-Video • Vidu • ProxiedVidu Q3 Pro is a high-quality video generation model supporting text-to-video, image-to-video, and start/end-frame-to-video workflows with audio and up to 16-second clips.
| Model Info | |
|---|---|
| Terms and License | link ↗ |
| More information | link ↗ |
| Pricing | View pricing in the Cloudflare dashboard ↗ |
Usage
const response = await env.AI.run( 'vidu/q3-pro', { prompt: 'A golden retriever running through a sunlit meadow in slow motion', duration: 5, resolution: '720p', }, { gateway: { id: 'default' }, })console.log(response){ "state": "Completed", "result": { "video": "https://video.cf.vidu.com/infer_64/tasks/26/0417/05/942597991691198464/creation-01/video.mp4" }, "gatewayMetadata": { "keySource": "Unified" }}Examples
Portrait Aspect Ratio — Vertical video for social media
const response = await env.AI.run( 'vidu/q3-pro', { prompt: 'A busy street in Tokyo at night with neon signs reflecting on wet pavement, rain falling', duration: 5, resolution: '720p', aspect_ratio: '9:16', }, { gateway: { id: 'default' }, })console.log(response){ "state": "Completed", "result": { "video": "https://video.cf.vidu.com/infer_88/tasks/26/0417/05/942598607041753088/creation-01/video.mp4" }, "gatewayMetadata": { "keySource": "Unified" }}Silent Video — Generate video without audio
const response = await env.AI.run( 'vidu/q3-pro', { prompt: 'Abstract paint swirls slowly mixing in water, vivid blues and golds', duration: 8, resolution: '720p', audio: false, }, { gateway: { id: 'default' }, })console.log(response){ "state": "Completed", "result": { "video": "https://video.cf.vidu.com/infer_76/tasks/26/0417/05/942599305355595776/creation-01/final_video.mp4" }, "gatewayMetadata": { "keySource": "Unified" }}Square Format — Square video for product demos or social posts
const response = await env.AI.run( 'vidu/q3-pro', { prompt: 'A sleek wireless headphone rotating on a pedestal with soft studio lighting and a white background', duration: 5, resolution: '720p', aspect_ratio: '1:1', }, { gateway: { id: 'default' }, })console.log(response){ "state": "Completed", "result": { "video": "https://video.cf.vidu.com/infer_40/tasks/26/0417/05/942599364482723840/creation-01/video.mp4" }, "gatewayMetadata": { "keySource": "Unified" }}Parameters
stringmaxLength: 5000Text prompt describing what should appear in the videostringStart image for video generation. Use alone for image-to-video, or with end_image for start/end-to-video. Accepts public URL or Base64 data URI (data:image/png;base64,...)stringEnd image for start/end-to-video generation. Must be used together with start_image. Accepts public URL or Base64 data URI (data:image/png;base64,...)integerrequireddefault: 5minimum: 1maximum: 16Video duration in seconds (1-16)stringrequireddefault: 720penum: 540p, 720p, 1080pVideo resolutionbooleanEnable audio-video synchronization. Default: true for Q3 models. When false, outputs silent videostringenum: 16:9, 9:16, 3:4, 4:3, 1:1Video aspect ratio (text-to-video only). Default: 16:9stringformat: uriURL to the generated video