{ "model_id": "vidu/q3-pro", "provider_id": "vidu", "name": "Vidu Q3 Pro", "description": "Vidu 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.", "task": "Text-to-Video", "tags": [ "Video Generation", "Image-to-Video", "Audio" ], "context_length": null, "max_output_tokens": null, "schema_version": "1.0.0", "pricing": { "Default (per second)": 0.125, "@540p (per second)": 0.05, "@720p (per second)": 0.125, "@1080p (per second)": 0.15 }, "examples": [ { "name": "Simple Text-to-Video", "description": "Basic text-to-video with just a prompt", "input": { "prompt": "A golden retriever running through a sunlit meadow in slow motion", "duration": 5, "resolution": "720p" }, "output": { "video": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/vidu__q3-pro/simple-text-to-video.mp4" }, "raw_response": { "gatewayMetadata": { "keySource": "Unified" }, "result": { "video": "https://video.cf.vidu.com/infer_64/tasks/26/0417/05/942597991691198464/creation-01/video.mp4" }, "state": "Completed" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'vidu/q3-pro',\n {\n prompt: 'A golden retriever running through a sunlit meadow in slow motion',\n duration: 5,\n resolution: '720p',\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"vidu/q3-pro\",\n \"input\": {\n \"prompt\": \"A golden retriever running through a sunlit meadow in slow motion\",\n \"duration\": 5,\n \"resolution\": \"720p\"\n }\n}'" } ] }, { "name": "Portrait Aspect Ratio", "description": "Vertical video for social media", "input": { "prompt": "A busy street in Tokyo at night with neon signs reflecting on wet pavement, rain falling", "aspect_ratio": "9:16", "duration": 5, "resolution": "720p" }, "output": { "video": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/vidu__q3-pro/portrait-aspect-ratio.mp4" }, "raw_response": { "gatewayMetadata": { "keySource": "Unified" }, "result": { "video": "https://video.cf.vidu.com/infer_88/tasks/26/0417/05/942598607041753088/creation-01/video.mp4" }, "state": "Completed" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'vidu/q3-pro',\n {\n prompt:\n 'A busy street in Tokyo at night with neon signs reflecting on wet pavement, rain falling',\n aspect_ratio: '9:16',\n duration: 5,\n resolution: '720p',\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"vidu/q3-pro\",\n \"input\": {\n \"prompt\": \"A busy street in Tokyo at night with neon signs reflecting on wet pavement, rain falling\",\n \"aspect_ratio\": \"9:16\",\n \"duration\": 5,\n \"resolution\": \"720p\"\n }\n}'" } ] }, { "name": "Silent Video", "description": "Generate video without audio", "input": { "audio": false, "prompt": "Abstract paint swirls slowly mixing in water, vivid blues and golds", "duration": 8, "resolution": "720p" }, "output": { "video": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/vidu__q3-pro/silent-video.mp4" }, "raw_response": { "gatewayMetadata": { "keySource": "Unified" }, "result": { "video": "https://video.cf.vidu.com/infer_76/tasks/26/0417/05/942599305355595776/creation-01/final_video.mp4" }, "state": "Completed" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'vidu/q3-pro',\n {\n audio: false,\n prompt: 'Abstract paint swirls slowly mixing in water, vivid blues and golds',\n duration: 8,\n resolution: '720p',\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"vidu/q3-pro\",\n \"input\": {\n \"audio\": false,\n \"prompt\": \"Abstract paint swirls slowly mixing in water, vivid blues and golds\",\n \"duration\": 8,\n \"resolution\": \"720p\"\n }\n}'" } ] }, { "name": "Square Format", "description": "Square video for product demos or social posts", "input": { "prompt": "A sleek wireless headphone rotating on a pedestal with soft studio lighting and a white background", "aspect_ratio": "1:1", "duration": 5, "resolution": "720p" }, "output": { "video": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/vidu__q3-pro/square-format.mp4" }, "raw_response": { "gatewayMetadata": { "keySource": "Unified" }, "result": { "video": "https://video.cf.vidu.com/infer_40/tasks/26/0417/05/942599364482723840/creation-01/video.mp4" }, "state": "Completed" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'vidu/q3-pro',\n {\n prompt:\n 'A sleek wireless headphone rotating on a pedestal with soft studio lighting and a white background',\n aspect_ratio: '1:1',\n duration: 5,\n resolution: '720p',\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"vidu/q3-pro\",\n \"input\": {\n \"prompt\": \"A sleek wireless headphone rotating on a pedestal with soft studio lighting and a white background\",\n \"aspect_ratio\": \"1:1\",\n \"duration\": 5,\n \"resolution\": \"720p\"\n }\n}'" } ] } ], "default_example": null, "code_snippets": [], "supports_async": false, "zdr": true, "zdr_comment": null, "external_info": "https://www.vidu.com/", "terms": "https://www.vidu.com/terms", "cover_image_url": "https://pub-26f1392c1b674324be6786695bd72257.r2.dev/vidu/q3-pro.png", "metadata": { "Aspect Ratios": "16:9, 9:16, 3:4, 4:3, 1:1", "Audio Generation": "Yes", "Image-to-Video": "Yes", "Max Duration": "16 seconds", "Resolutions": "540p, 720p, 1080p" }, "request_formats": null, "providers": null, "provider_details": [ { "id": "vidu", "pricing": { "default": 0.125, "540p": 0.05, "720p": 0.125, "1080p": 0.15 } } ], "banner": null, "created_at": "2026-05-22 17:54:00", "schema": { "input": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "prompt": { "description": "Text prompt describing what should appear in the video", "type": "string", "maxLength": 5000 }, "start_image": { "description": "Start 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,...)", "type": "string" }, "end_image": { "description": "End 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,...)", "type": "string" }, "duration": { "default": 5, "description": "Video duration in seconds (1-16)", "type": "integer", "minimum": 1, "maximum": 16 }, "resolution": { "default": "720p", "description": "Video resolution", "type": "string", "enum": [ "540p", "720p", "1080p" ] }, "audio": { "description": "Enable audio-video synchronization. Default: true for Q3 models. When false, outputs silent video", "type": "boolean" }, "aspect_ratio": { "description": "Video aspect ratio (text-to-video only). Default: 16:9", "type": "string", "enum": [ "16:9", "9:16", "3:4", "4:3", "1:1" ] } }, "required": [ "duration", "resolution" ], "additionalProperties": false }, "output": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "video": { "type": "string", "format": "uri", "description": "URL to the generated video" } }, "required": [ "video" ], "additionalProperties": false } } }