> ## Documentation Index
> Fetch the complete documentation index at: https://docs.poyo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# PixVerse V6 Max

> 根据文本或一张图片生成 1–15 秒、360p 到 1080p 的视频，可选生成原生音频。

> [!TIP]
>
> 1. 提交后会返回 `task_id`。如果提供了 `callback_url`，当任务状态变为 `finished` 或 `failed` 时，系统会向 `callback_url` 发送 POST 请求。
> 2. 无论是否提供 `callback_url`，都可以通过统一的[查询任务状态](https://docs.poyo.ai/zh/api-manual/task-management/status.md)接口获取结果。

PixVerse V6 Max 可将文本提示词或单张图片转为短视频。适用于产品镜头、简单场景动画，以及可带原生配乐的短片。

## 模型

* **pixverse-v6-max** — 文生视频和单图生视频

## 功能

* 生成 1 到 15 秒的视频。
* 根据文本创建短片，或让恰好一张图片动起来。
* 可选择 360p、540p、720p 或 1080p 输出。
* 可选生成原生音轨。

## 输入模式

* **文生视频**：不传 `image_urls`。`prompt` 为必填。`aspect_ratio` 决定画面比例。
* **图生视频**：在 `image_urls` 中提供恰好一个 URL。`prompt` 为可选。输出跟随图片，因此不要传 `aspect_ratio`。

## 必填参数

* `prompt` (string)：文生视频时必填。长度必须为 1–5,000 个字符，且不能为空白。
* `image_urls` (array of strings)：图生视频时必填。必须包含恰好一个公开图片 URL。

## 可选参数

* `prompt` (string)：图生视频时可选，最多 2,048 个字符。提供时不能为空白。
* `duration` (integer)：输出时长，1 到 15 秒。默认为 `5`。
* `resolution` (string)：`360p`、`540p`、`720p` 或 `1080p`。默认为 `540p`。
* `aspect_ratio` (string)：`16:9`、`9:16`、`4:3`、`3:4`、`1:1`、`2:3`、`3:2` 或 `21:9`。默认为 `16:9`。仅用于文生视频。
* `audio` (boolean)：生成原生音轨。默认为 `false`。

## 示例

请求示例展示了一个指定画面比例的文生视频短片，以及一个不传 `aspect_ratio` 的图片动画。两者都使用 `pixverse-v6-max` model ID。

## 注意事项

* 所有生成参数都放在 `input` 中。
* 图生视频接受一张通过公开 HTTP 或 HTTPS URL 提供的 JPEG、PNG 或 WebP 图片。
* 不要传两张及以上图片、首尾帧或源视频。
* 像素尺寸遵循所选分辨率下模型的原生输出。


## OpenAPI

````yaml zh/api-manual/video-series/pixverse-v6-max.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: PixVerse V6 Max
  description: 根据文本或一张图片生成 1-15 秒的视频，可选原生音频。
  version: 1.0.0
servers:
  - url: https://api.poyo.ai
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      summary: 提交 PixVerse V6 Max 视频任务
      operationId: submit_pixverse_v6_max
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              text-to-video:
                summary: 根据文本生成视频
                value:
                  model: pixverse-v6-max
                  input:
                    prompt: >-
                      A blue glass marble rolls across a clean white table in
                      warm morning light
                    duration: 5
                    resolution: 540p
                    aspect_ratio: '16:9'
              image-to-video:
                summary: 让一张图片动起来
                value:
                  model: pixverse-v6-max
                  input:
                    prompt: Animate this product with gentle movement
                    image_urls:
                      - https://example.com/product.jpg
                    duration: 5
                    resolution: 540p
      responses:
        '200':
          description: 任务提交成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
        '400':
          description: 请求参数无效
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: 未授权：API Key 无效
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SubmitRequest:
      type: object
      additionalProperties: false
      required:
        - model
        - input
      properties:
        model:
          type: string
          enum:
            - pixverse-v6-max
          description: 公开的模型标识。
        callback_url:
          type: string
          format: uri
          description: 可选的 Webhook URL，用于接收任务完成或失败通知。请使用公开可访问的 HTTP 或 HTTPS URL。
        input:
          type: object
          additionalProperties: false
          description: 文生视频需要 prompt，不传 image_urls。图生视频需要恰好一项 image_urls，且不接受 aspect_ratio。
          properties:
            prompt:
              type: string
              maxLength: 5000
              description: 文生视频时必填，最多 5,000 个字符。图生视频时可选，最多 2,048 个字符。不能为空白。
            image_urls:
              type: array
              minItems: 1
              maxItems: 1
              items:
                type: string
                format: uri
              description: >-
                图生视频使用的图片，必须恰好一个公开的 HTTP 或 HTTPS 图片 URL。支持 JPEG、PNG 或
                WebP。文生视频时不要传此字段。
            duration:
              type: integer
              minimum: 1
              maximum: 15
              default: 5
              description: 输出时长，单位为整秒。
            resolution:
              type: string
              enum:
                - 360p
                - 540p
                - 720p
                - 1080p
              default: 540p
              description: 输出视频分辨率。
            aspect_ratio:
              type: string
              enum:
                - '16:9'
                - '9:16'
                - '4:3'
                - '3:4'
                - '1:1'
                - '2:3'
                - '3:2'
                - '21:9'
              default: '16:9'
              description: 文生视频的画面比例。图生视频时不要传此字段。
            audio:
              type: boolean
              default: false
              description: 生成原生音轨。默认生成无声视频。
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
          enum:
            - 200
            - 400
            - 401
            - 402
            - 403
            - 404
            - 408
            - 429
            - 500
            - 502
            - 503
          description: >-
            业务状态码。`200` 表示成功，其他值都表示请求失败。请务必检查这个字段：部分参数校验错误会以 HTTP 200 返回，响应体里的
            `code` 为 `400`。


            - `200`：成功

            - `400`：请求参数无效

            - `401`：API Key 缺失或无效

            - `402`：积分不足

            - `403`：没有权限

            - `404`：资源不存在

            - `408`：请求超时

            - `429`：请求频率超限

            - `500`：服务器内部错误

            - `502`：上游服务错误

            - `503`：服务暂不可用


            详见[错误码](/zh/api-manual/error-codes)。
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
              example: task-unified-1792190000-example
            status:
              type: string
              enum:
                - not_started
                - running
                - finished
                - failed
              example: not_started
              description: >-
                任务状态。提交后立即返回时始终为
                `not_started`。后续状态请通过[查询任务状态](/zh/api-manual/task-management/status)接口或
                `callback_url` 获取。


                - `not_started`：排队中，等待处理

                - `running`：生成中

                - `finished`：已完成，结果在 `files` 或 `output` 中

                - `failed`：失败，详情见 `error_message`
            created_time:
              type: string
              format: date-time
              example: '2026-10-28T10:30:00'
    ErrorResponse:
      type: object
      required:
        - code
        - error
      properties:
        code:
          type: integer
          example: 400
          enum:
            - 200
            - 400
            - 401
            - 402
            - 403
            - 404
            - 408
            - 429
            - 500
            - 502
            - 503
          description: >-
            业务状态码。`200` 表示成功，其他值都表示请求失败。请务必检查这个字段：部分参数校验错误会以 HTTP 200 返回，响应体里的
            `code` 为 `400`。


            - `200`：成功

            - `400`：请求参数无效

            - `401`：API Key 缺失或无效

            - `402`：积分不足

            - `403`：没有权限

            - `404`：资源不存在

            - `408`：请求超时

            - `429`：请求频率超限

            - `500`：服务器内部错误

            - `502`：上游服务错误

            - `503`：服务暂不可用


            详见[错误码](/zh/api-manual/error-codes)。
        error:
          type: object
          required:
            - message
            - type
          properties:
            message:
              type: string
              example: Invalid request parameters
            type:
              type: string
              example: invalid_request_error
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        所有 API 接口都需要 Bearer Token 认证。


        创建 API Key：登录 PoYo，进入 **仪表盘 → API
        密钥**（[poyo.ai/zh/dashboard/api-key](https://poyo.ai/zh/dashboard/api-key)），点击创建
        Key。


        在请求头中添加：


        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.