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 ↗ |
Usage
const response = await env.AI.run( 'pixverse/v6', { prompt: 'A golden retriever running through a field of sunflowers on a sunny day', duration: 5, aspect_ratio: '16:9', quality: '720p', }, { gateway: { id: 'default' }, })console.log(response)Examples
Long Duration Video — Extended 15-second video with audio (v6 supports 1-15 seconds)
const response = await env.AI.run( 'pixverse/v6', { prompt: 'A time-lapse of a bustling city street from dawn to dusk, showing the flow of people and vehicles', duration: 15, aspect_ratio: '16:9', quality: '720p', generate_audio: true, }, { gateway: { id: 'default' }, })console.log(response)Ultra-wide Cinematic — Cinematic 21:9 aspect ratio video
const response = await env.AI.run( 'pixverse/v6', { prompt: 'A dramatic aerial shot flying over misty mountain peaks at sunrise, cinematic lighting with volumetric fog', duration: 10, aspect_ratio: '21:9', quality: '720p', generate_audio: true, }, { gateway: { id: 'default' }, })console.log(response)Silent Video — Video without audio generation
const response = await env.AI.run( 'pixverse/v6', { prompt: 'Abstract ink drops spreading through water, vivid colors mixing in slow motion', negative_prompt: 'blurry, low quality', duration: 3, aspect_ratio: '1:1', quality: '540p', generate_audio: false, }, { gateway: { id: 'default' }, })console.log(response)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.integerrequireddefault: 5minimum: 1maximum: 15Video duration in seconds (1 to 15)stringrequireddefault: 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 reproducibilitybooleanrequireddefault: trueWhether to generate audio with the videostringformat: uriURL to the generated videoAPI Schemas
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "prompt": { "description": "Text prompt describing the video to generate", "type": "string", "maxLength": 2048 }, "negative_prompt": { "description": "Negative text prompt", "type": "string", "maxLength": 2048 }, "image_input": { "description": "Base64-encoded reference image for image-to-video generation (data:image/...;base64,...). The image will be uploaded to Pixverse automatically.", "type": "string" }, "duration": { "description": "Video duration in seconds (1 to 15)", "default": 5, "type": "integer", "minimum": 1, "maximum": 15 }, "aspect_ratio": { "description": "Video aspect ratio", "default": "16:9", "type": "string", "enum": [ "16:9", "4:3", "1:1", "3:4", "9:16", "2:3", "3:2", "21:9" ] }, "quality": { "description": "Video quality", "default": "720p", "type": "string", "enum": [ "360p", "540p", "720p", "1080p" ] }, "seed": { "description": "Random seed for reproducibility", "type": "integer", "minimum": 0, "maximum": 2147483647 }, "generate_audio": { "description": "Whether to generate audio with the video", "default": true, "type": "boolean" } }, "required": [ "prompt", "duration", "aspect_ratio", "quality", "generate_audio" ], "additionalProperties": false}{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "video": { "description": "URL to the generated video", "type": "string", "format": "uri" } }, "required": [ "video" ], "additionalProperties": false}