Pixverse v6
Text-to-Video • PixVerse • ProxiedPixverse v6 is the latest Pixverse video model with support for up to 15-second videos, customizable duration from 1 to 15 seconds, and audio generation.
| Model Info | |
|---|---|
| Terms and License | link ↗ |
| More information | link ↗ |
| Pricing | View pricing in the Cloudflare dashboard ↗ |
Usage
const response = await env.AI.run( 'pixverse/v6', { aspect_ratio: '16:9', duration: 5, generate_audio: true, prompt: 'A golden retriever running through a field of sunflowers on a sunny day', quality: '720p', },)console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \ --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \ --header "Content-Type: application/json" \ --data '{ "model": "pixverse/v6", "input": { "aspect_ratio": "16:9", "duration": 5, "generate_audio": true, "prompt": "A golden retriever running through a field of sunflowers on a sunny day", "quality": "720p" }}'{ "gatewayMetadata": { "keySource": "Unified" }, "result": { "video": "https://media.pixverse.ai/pixverse%2Fmp4%2Fmedia%2Fweb%2Fori%2Fda2a0d44-a700-4c6b-a36b-fff6951fd1d4_seed1150795460.mp4" }, "state": "Completed"}Examples
Long Duration Video — Extended 15-second video with audio (v6 supports 1-15 seconds)
const response = await env.AI.run( 'pixverse/v6', { aspect_ratio: '16:9', duration: 15, generate_audio: true, prompt: 'A time-lapse of a bustling city street from dawn to dusk, showing the flow of people and vehicles', quality: '720p', },)console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \ --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \ --header "Content-Type: application/json" \ --data '{ "model": "pixverse/v6", "input": { "aspect_ratio": "16:9", "duration": 15, "generate_audio": true, "prompt": "A time-lapse of a bustling city street from dawn to dusk, showing the flow of people and vehicles", "quality": "720p" }}'{ "gatewayMetadata": { "keySource": "Unified" }, "result": { "video": "https://media.pixverse.ai/pixverse%2Fmp4%2Fmedia%2Fweb%2Fori%2F46e3adfb-a95f-4c03-bdad-a6d7131a98b8_seed61570270.mp4" }, "state": "Completed"}Ultra-wide Cinematic — Cinematic 21:9 aspect ratio video
const response = await env.AI.run( 'pixverse/v6', { aspect_ratio: '21:9', duration: 10, generate_audio: true, prompt: 'A dramatic aerial shot flying over misty mountain peaks at sunrise, cinematic lighting with volumetric fog', quality: '720p', },)console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \ --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \ --header "Content-Type: application/json" \ --data '{ "model": "pixverse/v6", "input": { "aspect_ratio": "21:9", "duration": 10, "generate_audio": true, "prompt": "A dramatic aerial shot flying over misty mountain peaks at sunrise, cinematic lighting with volumetric fog", "quality": "720p" }}'{ "gatewayMetadata": { "keySource": "Unified" }, "result": { "video": "https://media.pixverse.ai/pixverse%2Fmp4%2Fmedia%2Fweb%2Fori%2F54327d38-e03a-44de-9a21-2052356779e5_seed286185598.mp4" }, "state": "Completed"}Silent Video — Video without audio generation
const response = await env.AI.run( 'pixverse/v6', { aspect_ratio: '1:1', duration: 3, generate_audio: false, negative_prompt: 'blurry, low quality', prompt: 'Abstract ink drops spreading through water, vivid colors mixing in slow motion', quality: '540p', },)console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \ --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \ --header "Content-Type: application/json" \ --data '{ "model": "pixverse/v6", "input": { "aspect_ratio": "1:1", "duration": 3, "generate_audio": false, "negative_prompt": "blurry, low quality", "prompt": "Abstract ink drops spreading through water, vivid colors mixing in slow motion", "quality": "540p" }}'{ "gatewayMetadata": { "keySource": "Unified" }, "result": { "video": "https://media.pixverse.ai/pixverse%2Fmp4%2Fmedia%2Fweb%2Fori%2F06c27c41-cadd-44c5-b418-a78b96555479_seed1048443720.mp4" }, "state": "Completed"}Parameters
aspect_ratio
stringrequireddefault: 16:9enum: 16:9, 4:3, 1:1, 3:4, 9:16, 2:3, 3:2, 21:9Video aspect ratioduration
integerrequireddefault: 5maximum: 15minimum: 1Video duration in seconds (1 to 15)generate_audio
booleanrequireddefault: trueWhether to generate audio with the videoimage_input
stringBase64-encoded reference image for image-to-video generation (data:image/...;base64,...). The image will be uploaded to Pixverse automatically.negative_prompt
stringmaxLength: 2048Negative text promptprompt
stringrequiredmaxLength: 2048Text prompt describing the video to generatequality
stringrequireddefault: 720penum: 360p, 540p, 720p, 1080pVideo qualityseed
integermaximum: 2147483647minimum: 0Random seed for reproducibilityvideo
stringformat: uriURL to the generated video