Pixverse v5.6
Text-to-Video • PixVerse • ProxiedPixverse v5.6 is a video generation model supporting text-to-video and image-to-video with audio generation, customizable aspect ratios, and up to 1080p output.
| Model Info | |
|---|---|
| Terms and License | link ↗ |
| More information | link ↗ |
| Pricing | View pricing in the Cloudflare dashboard ↗ |
Usage
const response = await env.AI.run( 'pixverse/v5.6', { prompt: 'A golden retriever running through a field of sunflowers on a sunny day', duration: 5, aspect_ratio: '16:9', quality: '720p', generate_audio: true, }, { gateway: { id: 'default' }, })console.log(response){ "state": "Completed", "result": { "video": "https://media.pixverse.ai/pixverse%2Fmp4%2Fmedia%2Fweb%2Fori%2F83ca9c7f-6387-4a2c-8d92-bb90a3d519e7_seed1453814635.mp4" }, "gatewayMetadata": { "keySource": "Unified" }}Examples
Cinematic Scene with Audio — Dramatic cinematic video with audio generation
const response = await env.AI.run( 'pixverse/v5.6', { prompt: 'A dramatic aerial shot flying over misty mountain peaks at sunrise, cinematic lighting with volumetric fog', duration: 8, aspect_ratio: '16:9', quality: '720p', generate_audio: true, }, { gateway: { id: 'default' }, })console.log(response){ "state": "Completed", "result": { "video": "https://media.pixverse.ai/pixverse%2Fmp4%2Fmedia%2Fweb%2Fori%2F77e1e5bd-4be9-4b7b-961a-36328e90d7e0_seed735995758.mp4" }, "gatewayMetadata": { "keySource": "Unified" }}Portrait Video — Vertical video for social media
const response = await env.AI.run( 'pixverse/v5.6', { prompt: 'A barista pouring latte art in a cozy coffee shop, close-up with shallow depth of field', duration: 5, aspect_ratio: '9:16', quality: '540p', generate_audio: true, }, { gateway: { id: 'default' }, })console.log(response){ "state": "Completed", "result": { "video": "https://media.pixverse.ai/pixverse%2Fmp4%2Fmedia%2Fweb%2Fori%2Fa95971bd-798d-431e-8c78-8062b839742c_seed1048220235.mp4" }, "gatewayMetadata": { "keySource": "Unified" }}High Quality Video — High quality 1080p video with custom seed
const response = await env.AI.run( 'pixverse/v5.6', { prompt: 'Abstract ink drops spreading through water, vivid colors mixing in slow motion', negative_prompt: 'blurry, low quality', duration: 5, aspect_ratio: '1:1', quality: '1080p', seed: 12345, generate_audio: true, }, { gateway: { id: 'default' }, })console.log(response){ "state": "Completed", "result": { "video": "https://media.pixverse.ai/pixverse%2Fmp4%2Fmedia%2Fweb%2Fori%2F557c18df-6c50-409c-a5e5-291bb2086d3f_seed12345.mp4" }, "gatewayMetadata": { "keySource": "Unified" }}Parameters
stringrequiredmaxLength: 2048Text prompt describing the video to generatestringmaxLength: 2048Negative text promptstringBase64-encoded reference image for image-to-video generation (data:image/...;base64,...). The image will be uploaded to Pixverse automatically.one ofrequiredstringrequireddefault: 16:9enum: 16:9, 4:3, 1:1, 3:4, 9:16, 2:3, 3:2, 21:9Video aspect ratiostringrequireddefault: 720penum: 360p, 540p, 720p, 1080pVideo qualityintegerminimum: 0maximum: 2147483647Random seed for reproducibilitystringenum: normal, fastMotion mode (fast only available when duration=5; 1080p does not support fast)booleanrequireddefault: trueWhether to generate audio with the videostringformat: uriURL to the generated video