> ## 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 2.6 Video Generation

> Advanced video generation with native audio support

<Tip>
  1. After submission, a `task_id` will be returned. If you provided a `callback_url`, when the task status becomes `finished` or `failed`, a POST request will be sent to the `callback_url`.
  2. Regardless of whether `callback_url` is provided, you can retrieve the response result through the unified [Query Task Status](/api-manual/task-management/status) endpoint.
</Tip>

# Kling 2.6 Video Generation

Generate high-quality videos with native audio support using Kling 2.6. Create cinematic content with synchronized dialogue, singing, sound effects, and ambient audio.

## Available Model

* **kling-2.6** - Video generation with native audio (text-to-video and image-to-video)

## Key Features

* **Native Audio**: Synchronized speech, singing, sound effects, and ambient sounds
* **Flexible Duration**: 5 or 10 seconds
* **Aspect Ratios**: 1:1 (square), 16:9 (landscape), and 9:16 (portrait)
* **Modes**: Text-to-video and image-to-video

## Notes

* `end_image_url` is supported as an optional last-frame image for image-to-video requests.
* When `end_image_url` is provided, `input.sound` must be `false`.


## OpenAPI

````yaml /api-manual/video-series/kling-2-6.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Kling 2.6 API
  description: Advanced Video Generation with Native Audio Support
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
    description: Production server
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Kling 2.6
      summary: Submit Kling 2.6 Video Generation Task
      description: Generate high-quality videos with native audio support using Kling 2.6
      operationId: submitKling26Task
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              kling-2.6:
                summary: Kling 2.6 Video Generation
                value:
                  model: kling-2.6
                  callback_url: https://your-domain.com/callback
                  input:
                    prompt: >-
                      A young woman walking through a bustling city street,
                      talking on her phone with a cheerful expression
                    sound: true
                    aspect_ratio: '16:9'
                    duration: 5
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
      properties:
        model:
          type: string
          description: Kling 2.6 model identifier
          enum:
            - kling-2.6
        callback_url:
          type: string
          format: uri
          description: Webhook callback URL for result notifications
          example: https://your-domain.com/callback
        input:
          type: object
          required:
            - prompt
            - sound
            - aspect_ratio
            - duration
          description: Input parameters for generation
          properties:
            prompt:
              type: string
              description: Generation prompt describing the desired output
              maxLength: 1000
              example: A cinematic video scene
            image_urls:
              type: array
              items:
                type: string
                format: uri
              description: Reference image URLs (for image-to-video)
              example: []
            end_image_url:
              type: string
              format: uri
              description: >-
                Optional URL of the image to use as the last frame
                (image-to-video only)
              example: https://your-domain.com/end-frame.png
            sound:
              type: boolean
              description: >-
                When true: generated video contains sound; must be false when
                end_image_url has a value
              example: true
            aspect_ratio:
              type: string
              description: Video aspect ratio (text-to-video only)
              enum:
                - '1:1'
                - '16:9'
                - '9:16'
              example: '16:9'
            duration:
              type: integer
              description: Video duration in seconds
              enum:
                - 5
                - 10
              example: 5
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
          description: HTTP status code
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
              example: task-unified-1757165031-uyujaw3d
              description: Unique task identifier for status tracking
            status:
              type: string
              enum:
                - not_started
              example: not_started
              description: Initial task status
            created_time:
              type: string
              format: date-time
              example: '2025-11-12T10:30:00'
              description: ISO 8601 timestamp when the task was created
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        All API endpoints require Bearer Token authentication


        Get your API Key:


        Visit the [API Key Management
        Page](https://vidgo.ai/apis/dashboard/api-key) to get your API Key


        Add it to the request header:


        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````