---
title: Pixverse v5.6
description: 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.
image: https://developers.cloudflare.com/dev-products-preview.png
---

[Skip to content](#%5Ftop) 

Was this helpful?

YesNo

[ Report issue ](https://github.com/cloudflare/cloudflare-docs/issues/new/choose) 

Copy page

![PixVerse logo](https://developers.cloudflare.com/_astro/pixverse.DSyGEAYR.svg) 

#  Pixverse v5.6 

Text-to-Video • PixVerse • Proxied 

`pixverse/v5.6` 

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 License | [link ↗](https://pixverse.ai/terms) |
| More information  | [link ↗](https://pixverse.ai/)      |

## 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',

    duration: 5,

    aspect_ratio: '16:9',

    quality: '720p',

  },

  {

    gateway: { id: 'default' },

  }

)

console.log(response)


```

Explain Code

Response200 

## 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',

    duration: 8,

    aspect_ratio: '16:9',

    quality: '720p',

    generate_audio: true,

  },

  {

    gateway: { id: 'default' },

  }

)

console.log(response)


```

Explain Code

Response200 

**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',

    duration: 5,

    aspect_ratio: '9:16',

    quality: '540p',

  },

  {

    gateway: { id: 'default' },

  }

)

console.log(response)


```

Explain Code

Response200 

**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',

    negative_prompt: 'blurry, low quality',

    duration: 5,

    aspect_ratio: '1:1',

    quality: '1080p',

    seed: 12345,

  },

  {

    gateway: { id: 'default' },

  }

)

console.log(response)


```

Explain Code

Response200 

## Parameters

* [ Input ](#tab-panel-218)
* [ Output ](#tab-panel-219)

prompt

`string`requiredmaxLength: 2048Text prompt describing the video to generate

negative\_prompt

`string`maxLength: 2048Negative text prompt

image\_input

`string`Base64-encoded reference image for image-to-video generation (data:image/...;base64,...). The image will be uploaded to Pixverse automatically.

▶duration

`one of`required

aspect\_ratio

`string`requireddefault: 16:9enum: 16:9, 4:3, 1:1, 3:4, 9:16, 2:3, 3:2, 21:9Video aspect ratio

quality

`string`requireddefault: 720penum: 360p, 540p, 720p, 1080pVideo quality

seed

`integer`minimum: 0maximum: 2147483647Random seed for reproducibility

motion\_mode

`string`enum: normal, fastMotion mode (fast only available when duration=5; 1080p does not support fast)

generate\_audio

`boolean`requireddefault: trueWhether to generate audio with the video

video

`string`format: uriURL to the generated video

## API Schemas

* [ Input ](#tab-panel-216)
* [ Output ](#tab-panel-217)

```

{

  "$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",

      "default": 5,

      "anyOf": [

        {

          "type": "number",

          "const": 5

        },

        {

          "type": "number",

          "const": 8

        },

        {

          "type": "number",

          "const": 10

        }

      ]

    },

    "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

    },

    "motion_mode": {

      "description": "Motion mode (fast only available when duration=5; 1080p does not support fast)",

      "type": "string",

      "enum": [

        "normal",

        "fast"

      ]

    },

    "generate_audio": {

      "description": "Whether to generate audio with the video",

      "default": true,

      "type": "boolean"

    }

  },

  "required": [

    "prompt",

    "duration",

    "aspect_ratio",

    "quality",

    "generate_audio"

  ],

  "additionalProperties": false

}


```

Explain Code

```

{

  "$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

}


```

Explain Code

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/ai/","name":"AI"}},{"@type":"ListItem","position":3,"item":{"@id":"/ai/models/","name":"Models"}}]}
```
