Veo 3 Fast
Text-to-Video • Google • ProxiedA faster version of Veo 3 optimized for lower latency video generation with audio support.
| Model Info | |
|---|---|
| Terms and License | link ↗ |
| More information | link ↗ |
| Pricing | View pricing in the Cloudflare dashboard ↗ |
Usage
const response = await env.AI.run( 'google/veo-3-fast', { prompt: 'Ocean waves crashing on a rocky shoreline at sunset', duration: '6s', aspect_ratio: '16:9', resolution: '720p', generate_audio: true, }, { gateway: { id: 'default' }, })console.log(response){ "state": "Completed", "result": { "video": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/google__veo-3-fast/quick-preview.mp4" }, "gatewayMetadata": { "keySource": "Unified" }}Examples
Social Media Clip — Quick vertical video for stories
const response = await env.AI.run( 'google/veo-3-fast', { prompt: 'A coffee cup with steam rising, cozy cafe atmosphere', duration: '4s', aspect_ratio: '9:16', resolution: '720p', generate_audio: true, }, { gateway: { id: 'default' }, })console.log(response){ "state": "Completed", "result": { "video": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/google__veo-3-fast/social-media-clip.mp4" }, "gatewayMetadata": { "keySource": "Unified" }}Animated Loop — Short loopable animation
const response = await env.AI.run( 'google/veo-3-fast', { prompt: 'A campfire burning with flames dancing and sparks floating upward, seamless loop', duration: '4s', aspect_ratio: '16:9', resolution: '720p', generate_audio: true, }, { gateway: { id: 'default' }, })console.log(response){ "state": "Completed", "result": { "video": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/google__veo-3-fast/animated-loop.mp4" }, "gatewayMetadata": { "keySource": "Unified" }}Product Shot — Quick product video preview
const response = await env.AI.run( 'google/veo-3-fast', { prompt: 'A smartphone rotating on a dark surface with dramatic lighting', duration: '6s', aspect_ratio: '16:9', resolution: '720p', generate_audio: false, }, { gateway: { id: 'default' }, })console.log(response){ "state": "Completed", "result": { "video": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/google__veo-3-fast/product-shot.mp4" }, "gatewayMetadata": { "keySource": "Unified" }}Parameters
stringrequiredText prompt describing the video to generatestringBase64-encoded reference image for i2vstringrequireddefault: 6senum: 4s, 6s, 8sVideo durationstringrequireddefault: 16:9enum: 16:9, 9:16, 1:1Video aspect ratiostringrequireddefault: 720penum: 720p, 1080pVideo resolutionbooleanrequireddefault: trueWhether to generate audio with the videostringformat: uriURL to the generated video