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

# PixVerse V6 Max 图生视频

> PixVerse V6 Max 图生视频 API 将一张 JPEG、PNG 或 WebP 图片生成 1–15 秒、360p 到 1080p 的视频，并保持图片的构图。

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

PixVerse V6 Max 图生视频将一张 JPEG、PNG 或 WebP 图片生成 1–15 秒、360p 到 1080p 的视频。图片作为起始帧并保持构图，因此输出跟随图片的宽高比。设置 `audio: true` 可添加原生音轨。适合用产品图制作产品动画、社交短片和音乐视频片段。

PixVerse V6 Max 是 PixVerse V6 的 Max 档位，于 2026 年 10 月加入 PixVerse API，支持文生视频和图生视频。Vidgo 提供两个 model ID：[文生视频](https://docs.vidgo.ai/zh/api-manual/video-series/pixverse-v6-max-text-to-video.md)和[图生视频](https://docs.vidgo.ai/zh/api-manual/video-series/pixverse-v6-max-image-to-video.md)。

## 模型

* **pixverse/v6-max/image-to-video** — PixVerse V6 Max 图生视频，使用一张图片，1–15 秒，360p 到 1080p，可选音频。

## 功能

* 以一张起始图片图生视频。
* 可选提示词，用于指导运动和镜头运动。
* 时长 1 到 15 秒，以 1 秒为步长。
* 四种分辨率：`360p`、`540p`、`720p` 和 `1080p`。
* 设置 `audio: true` 可添加原生音轨。
* 宽高比跟随输入图片。

## 必填参数

* `image_urls`（string\[]）：恰好一个公开 HTTP(S) 图片 URL（JPEG、PNG 或 WebP）。如果 URL 带文件扩展名，必须是 `.jpg`、`.jpeg`、`.png` 或 `.webp`。

## 可选参数

* `prompt`（string）：哪些元素运动、镜头如何运动，开启 `audio` 时还可描述声音。传入时不能为空白，最多 2,048 个字符。
* `duration`（integer）：输出时长，`1`–`15` 整秒。默认 `5`。
* `resolution`（string）：`360p`、`540p`、`720p` 或 `1080p`。默认 `540p`。
* `audio`（boolean）：添加原生音轨。默认 `false`。

## 输出

任务完成后，[查询任务状态](https://docs.vidgo.ai/zh/api-manual/task-management/status.md)和回调内容的 `files` 数组中会返回一个 MP4 视频。

## 示例

* **5 秒 720p 产品动画**：一张产品图配简短的运动提示词，无声。
* **8 秒 1080p 带音频短片，带回调**：一张演出照片，`audio: true`，并提供 `callback_url`。

## 注意事项

* 本 ID 不接受 `aspect_ratio`（由图片决定），传入会返回 400，上文未列出的其他字段同样如此。需要纯提示词并指定宽高比时，请用 [PixVerse V6 Max 文生视频](https://docs.vidgo.ai/zh/api-manual/video-series/pixverse-v6-max-text-to-video.md)。
* 这里的提示词上限为 2,048 个字符，低于文生视频的 5,000 个字符。
* Vidgo 上的 PixVerse V6 Max 只接受文本或恰好一张图片，不支持首尾帧、视频输入、扩展、参考生视频和 `seed`。
* `duration`、`resolution` 或 `audio` 传 `null` 时视为默认值。
* `model` 和 `callback_url` 放在请求根级，不要放进 `input`。
* 积分在提交时预扣，按 `resolution`、`audio` 和 `duration`（每输出秒）计算，开启 `audio` 会提高费率。任务失败会全额退还。当前费率见[定价页](https://vidgo.ai/apis/api-pricing)。


## OpenAPI

````yaml zh/api-manual/video-series/pixverse-v6-max-image-to-video.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - PixVerse V6 Max 图生视频
  description: >-
    PixVerse V6 Max 图生视频 API 将一张 JPEG、PNG 或 WebP 图片生成 1–15 秒、360p 到 1080p
    的视频，并保持图片的构图。
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
    description: 生产环境
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Video Series
      summary: PixVerse V6 Max 图生视频
      description: >-
        只传本模型列出的 `input` 字段。其他字段（包括 `aspect_ratio`）都会返回 400。图片 URL 必须是公开的
        HTTP(S) 地址且不能内嵌凭证；如果带文件扩展名，必须是 .jpg、.jpeg、.png 或 .webp。
      operationId: submit_pixverse_v6_max_image_to_video
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - model
                - input
              properties:
                model:
                  type: string
                  description: 模型 ID，填 `pixverse/v6-max/image-to-video`。
                  example: pixverse/v6-max/image-to-video
                callback_url:
                  type: string
                  format: uri
                  nullable: true
                  description: >-
                    可选的公开 HTTP(S) 地址，任务变为 `finished` 或 `failed` 时会收到 POST
                    请求。建议使用 HTTPS。省略、传 `null` 或空字符串即不发送回调。
                  example: https://your-domain.com/callback
                input:
                  type: object
                  required:
                    - image_urls
                  properties:
                    image_urls:
                      type: array
                      items:
                        type: string
                        format: uri
                      minItems: 1
                      maxItems: 1
                      example:
                        - https://example.com/packshot.png
                      description: 恰好一个公开 HTTP(S) 图片 URL（JPEG、PNG 或 WebP），作为起始帧并决定宽高比。
                    prompt:
                      type: string
                      minLength: 1
                      maxLength: 2048
                      example: >-
                        The perfume bottle rotates slowly as petals fall around
                        it, soft studio light
                      description: >-
                        可选的运动描述：哪些元素运动、镜头如何运动，开启 `audio` 时还可描述声音。传入时不能为空白，最多
                        2,048 个字符。
                    duration:
                      type: integer
                      minimum: 1
                      maximum: 15
                      default: 5
                      description: 输出时长，单位为整秒。`null` 视为默认值。
                    resolution:
                      type: string
                      enum:
                        - 360p
                        - 540p
                        - 720p
                        - 1080p
                      default: 540p
                      description: 输出分辨率，决定计费档位。`null` 视为默认值。
                    audio:
                      type: boolean
                      default: false
                      description: 添加原生音轨（对白、音效、音乐），会改变计费档位。`null` 视为默认值。
                  additionalProperties: false
                  description: 生成参数。
            examples:
              product:
                summary: 5 秒 720p 产品动画
                value:
                  model: pixverse/v6-max/image-to-video
                  input:
                    image_urls:
                      - https://example.com/packshot.png
                    prompt: >-
                      The perfume bottle rotates slowly as petals fall around
                      it, soft studio light
                    duration: 5
                    resolution: 720p
                    audio: false
              with_audio:
                summary: 8 秒 1080p 带音频短片，带回调
                value:
                  model: pixverse/v6-max/image-to-video
                  callback_url: https://your-domain.com/callback
                  input:
                    image_urls:
                      - https://example.com/guitarist.jpg
                    prompt: >-
                      The guitarist strums the final chord and the crowd cheers,
                      camera pulls back
                    duration: 8
                    resolution: 1080p
                    audio: true
      responses:
        '200':
          description: 任务已提交
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - data
                properties:
                  code:
                    type: integer
                    enum:
                      - 200
                    description: HTTP 状态码。
                  data:
                    type: object
                    required:
                      - task_id
                      - status
                      - created_time
                    properties:
                      task_id:
                        type: string
                        description: >-
                          任务
                          ID，用于[查询任务状态](/zh/api-manual/task-management/status)。
                      status:
                        type: string
                        enum:
                          - not_started
                        description: 任务的初始状态。
                      created_time:
                        type: string
                        format: date-time
                        description: 任务创建时间（ISO 8601）。
              example:
                code: 200
                data:
                  task_id: task-unified-1762160000-abc123
                  status: not_started
                  created_time: '2026-11-03T10:30:00'
        '400':
          description: 输入无效、字段不受支持、媒体无法访问或积分不足
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
                    description: 错误信息。
        '401':
          description: 凭证无效
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
                    description: 错误信息。
        '403':
          description: 拒绝访问
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
                    description: 错误信息。
        '404':
          description: 模型未知或已停用
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
                    description: 错误信息。
        '408':
          description: 请求超时
          content:
            text/plain:
              schema:
                type: string
              example: Request timeout
        '422':
          description: JSON 无效或请求体不是对象
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
                    description: 错误信息。
        '429':
          description: 超出速率限制或 API Key 积分限额
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
                    description: 错误信息。
        '500':
          description: 内部错误
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
                    description: 错误信息。
        '502':
          description: 无法创建上游生成任务
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
                    description: 错误信息。
        '503':
          description: 所请求的模型暂时不可用
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
                    description: 错误信息。
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        所有 API 接口都需要 Bearer Token 认证


        获取 API Key：


        进入 **仪表盘 → API 密钥**（[API Key
        管理页面](https://vidgo.ai/apis/dashboard/api-key)）获取你的 API Key


        在请求头中添加：


        ```

        Authorization: Bearer VIDGO_API_KEY

        ```

````

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