Skip to content
PixVerse logo

Pixverse v5.6

Text-to-VideoPixVerse

Pixverse 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 Licenselink
More informationlink
Zero data retentionYes
PricingView pricing in the Cloudflare dashboard

Usage

TypeScript
const response = await env.AI.run(
'pixverse/v5.6',
{
prompt: 'A golden retriever running through a field of sunflowers on a sunny day',
aspect_ratio: '16:9',
duration: 5,
generate_audio: true,
quality: '720p',
},
)
console.log(response)

Examples

Cinematic Scene with Audio — Dramatic cinematic video with audio generation
TypeScript
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',
aspect_ratio: '16:9',
duration: 8,
generate_audio: true,
quality: '720p',
},
)
console.log(response)
Portrait Video — Vertical video for social media
TypeScript
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',
aspect_ratio: '9:16',
duration: 5,
generate_audio: true,
quality: '540p',
},
)
console.log(response)
High Quality Video — High quality 1080p video with custom seed
TypeScript
const response = await env.AI.run(
'pixverse/v5.6',
{
prompt: 'Abstract ink drops spreading through water, vivid colors mixing in slow motion',
aspect_ratio: '1:1',
duration: 5,
generate_audio: true,
negative_prompt: 'blurry, low quality',
quality: '1080p',
seed: 12345,
},
)
console.log(response)

Parameters

prompt
stringrequiredmaxLength: 2048Text prompt describing the video to generate
negative_prompt
stringmaxLength: 2048Negative text prompt
image_input
stringBase64-encoded reference image for image-to-video generation (data:image/...;base64,...). The image will be uploaded to Pixverse automatically.
aspect_ratio
stringrequireddefault: 16:9enum: 16:9, 4:3, 1:1, 3:4, 9:16, 2:3, 3:2, 21:9Video aspect ratio
quality
stringrequireddefault: 720penum: 360p, 540p, 720p, 1080pVideo quality
seed
integerminimum: 0maximum: 2147483647Random seed for reproducibility
motion_mode
stringenum: normal, fastMotion mode (fast only available when duration=5; 1080p does not support fast)
generate_audio
booleanrequireddefault: trueWhether to generate audio with the video

API Schemas (Raw)

Input
Output