> ## 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.

# Kling 1.6 Standard 图生视频

> Kling 1.6 Standard 图生视频的参数与计费因素。

> [!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)接口获取结果。

公开 model ID：`kwaivgi/kling-video/v1.6/standard/image-to-video`。

## 输入模式

**二选一**：提供 `start_image_url` 进行首帧动画，**或**提供 `image_urls` 使用 Elements。该接口不接受纯文本请求。

* Elements 接受 1–4 张参考图，不能与 `start_image_url` 或 `cfg_scale` 组合使用。
* Standard 首帧动画不支持 `aspect_ratio`；Elements 支持。

图像字段决定所用的工作流程。

## 参数

生成参数放在 `input` 中。`model` 和可选的 `callback_url` 保留在请求根级。不支持的 input 字段会在扣除积分前被拒绝。

| 参数 | 要求 | 说明 |
| - | - | - |
| `prompt` | 必填 | 必填的非空字符串，去除首尾空白后最多 2,500 个 Unicode 字符。 |
| `duration` | 必填 | 必填整数：5 或 10 秒。无 API 默认值。 |
| `aspect_ratio` | 可选 | 可选：1:1、16:9 或 9:16。无 API 默认值。Standard 首帧图生视频不支持；Elements 支持。 |
| `negative_prompt` | 可选 | 可选字符串，最多 2,500 个 Unicode 字符。 |
| `cfg_scale` | 可选 | 可选，0 到 1 之间的有限数值。不支持与 image\_urls 一起使用。无 API 默认值。 |
| `start_image_url` | 条件必填 | 首帧 HTTP(S) URL。首帧工作流程必填；与 image\_urls 互斥。 |
| `image_urls` | 条件必填 | Elements：1 到 4 个 HTTP(S) 参考 URL。与 start\_image\_url 和 cfg\_scale 互斥。 |

图像 URL 必须是带主机名的公开 HTTP(S) URL，不含内嵌凭据或空白字符。本地文件可以先在 Playground 中上传，再提交其 URL。可选参数没有文档化的 API 默认值。

## 计费因素

计费取决于所选模型档位（Standard 或 Pro）和视频时长（`duration`），按生成的秒数计费。同一档位内，文生视频、首帧动画和 Elements 费率相同。

提交时扣除积分，任务失败时退还。


## OpenAPI

````yaml zh/api-manual/video-series/kwaivgi-kling-video-v1-6-standard-image-to-video.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Kling 1.6 图生视频
  description: 使用 Kling 1.6 Standard 让参考图动起来，通过文本描述和负面提示词塑造场景与动作。
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Video Series
      summary: Kling 1.6 图生视频
      description: |-
        只发送该工作流程列出的字段。其他工作流程的参数会在扣除积分前被拒绝。

        提供 prompt 时不能为空。输入 URL 字段要求使用带主机名且不含内嵌凭据的 HTTP(S) URL。
      operationId: submit_kwaivgi_kling_video_v1_6_standard_image_to_video
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - model
                - input
              additionalProperties: true
              properties:
                model:
                  type: string
                  example: kwaivgi/kling-video/v1.6/standard/image-to-video
                input:
                  type: object
                  required:
                    - prompt
                    - duration
                  description: >-
                    生成参数。


                    选择使用 `start_image_url` 的首帧工作流程，或使用 `image_urls` 的 Elements
                    工作流程。不要将 `image_urls` 与首帧控制参数组合使用。
                  additionalProperties: false
                  properties:
                    prompt:
                      type: string
                      description: 必填的非空字符串，去除首尾空白后最多 2,500 个 Unicode 字符。
                      maxLength: 2500
                      example: A cinematic video scene
                      minLength: 1
                    duration:
                      type: integer
                      description: 必填整数：5 或 10 秒。无 API 默认值。
                      enum:
                        - 5
                        - 10
                      example: 5
                    aspect_ratio:
                      type: string
                      description: >-
                        可选：1:1、16:9 或 9:16。无 API 默认值。Standard 首帧图生视频不支持；Elements
                        支持。
                      enum:
                        - '1:1'
                        - '16:9'
                        - '9:16'
                      example: '16:9'
                    negative_prompt:
                      type: string
                      description: 可选字符串，最多 2,500 个 Unicode 字符。
                      maxLength: 2500
                      example: blur, low quality, artifacts
                    cfg_scale:
                      type: number
                      description: 可选，0 到 1 之间的有限数值。不支持与 image_urls 一起使用。无 API 默认值。
                      minimum: 0
                      maximum: 1
                      example: 0.5
                    start_image_url:
                      type: string
                      format: uri
                      description: 首帧 HTTP(S) URL。首帧工作流程必填；与 image_urls 互斥。
                      example: https://example.com/start-frame.png
                    image_urls:
                      type: array
                      items:
                        type: string
                        format: uri
                      description: >-
                        Elements：1 到 4 个 HTTP(S) 参考 URL。与 start_image_url 和
                        cfg_scale 互斥。
                      minItems: 1
                      maxItems: 4
                      example:
                        - https://example.com/reference-1.png
                  allOf:
                    - not:
                        required:
                          - start_image_url
                          - aspect_ratio
                callback_url:
                  type: string
                  nullable: true
                  description: >-
                    可选的公开 HTTP(S) 接口，用于接收任务完成通知。建议使用 HTTPS。省略、传 null
                    或空字符串即可禁用回调。
              description: model 和 callback_url 放在根级。未知的根级字段会被忽略；不支持的 input 字段会被拒绝。
            examples:
              basic:
                summary: 首帧图生视频
                value:
                  model: kwaivgi/kling-video/v1.6/standard/image-to-video
                  input:
                    prompt: A quiet forest in morning light, with a slow camera pan.
                    duration: 5
                    start_image_url: https://example.com/start-frame.png
              callback:
                summary: 接收完成回调
                value:
                  model: kwaivgi/kling-video/v1.6/standard/image-to-video
                  input:
                    prompt: A quiet forest in morning light, with a slow camera pan.
                    duration: 5
                    start_image_url: https://example.com/start-frame.png
                  callback_url: https://your-domain.com/callback
              elements:
                summary: Elements 参考图
                value:
                  model: kwaivgi/kling-video/v1.6/standard/image-to-video
                  input:
                    prompt: A quiet forest in morning light, with a slow camera pan.
                    duration: 5
                    aspect_ratio: '16:9'
                    image_urls:
                      - https://example.com/reference-1.png
      responses:
        '200':
          description: 任务已提交
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - data
                properties:
                  code:
                    type: integer
                    enum:
                      - 200
                  data:
                    type: object
                    required:
                      - task_id
                      - status
                      - created_time
                    properties:
                      task_id:
                        type: string
                      status:
                        type: string
                        enum:
                          - not_started
                          - running
                          - finished
                          - failed
                      created_time:
                        type: string
                        format: date-time
              example:
                code: 200
                data:
                  task_id: task-unified-example
                  status: running
                  created_time: '2026-09-10T08:00:00'
        '400':
          description: 输入无效、档位不受支持、媒体无法访问或积分不足
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '401':
          description: 凭据无效
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '403':
          description: 拒绝访问
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '404':
          description: 模型未知或已停用
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '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: {}
        '429':
          description: 超出请求频率或 API Key 积分限额
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '500':
          description: 内部错误
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '502':
          description: 无法创建上游生成任务
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '503':
          description: 所请求的模型暂时不可用
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 使用 VIDGO_API_KEY。

````

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