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

# Kling V2.6 I2V

> [Core Function] Kling V2.6 I2V is a stable, classic image-to-video model. [Strengths] It provides excellent motion stability, motion brush controls, and 1080p generation with optional audio. [Best For] Highly recommended for: animating specific areas using motion brushes and stable 5s/10s generations. [Limitations] Do NOT use this model if you need 4K resolution or 15s durations. [Routing] Route to this model when users need Motion Brush capabilities or prefer the V2.6 aesthetic. Otherwise, use V3.



## OpenAPI

````yaml /model-api/kling/kling-i2v.json post /kling/kling-v2.6-i2v
openapi: 3.1.0
info:
  description: The image-to-video models API from Kling AI.
  version: 1.0.0
  contact:
    name: Modellix Support
    email: support@modellix.ai
  title: Kling Image-to-Video Models API
servers:
  - url: https://api.modellix.ai/api/v1
    description: The image-to-video models API from Kling AI.
security:
  - bearerAuth: []
paths:
  /kling/kling-v2.6-i2v:
    post:
      summary: Kling V2.6 I2V
      description: >-
        [Core Function] Kling V2.6 I2V is a stable, classic image-to-video
        model. [Strengths] It provides excellent motion stability, motion brush
        controls, and 1080p generation with optional audio. [Best For] Highly
        recommended for: animating specific areas using motion brushes and
        stable 5s/10s generations. [Limitations] Do NOT use this model if you
        need 4K resolution or 15s durations. [Routing] Route to this model when
        users need Motion Brush capabilities or prefer the V2.6 aesthetic.
        Otherwise, use V3.
      operationId: klingV26I2VAsync
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KlingV26I2VRequest'
            examples:
              with_audio:
                summary: With audio generation
                value:
                  image: https://example.com/concert.jpg
                  prompt: Live concert with crowd cheering
                  sound: 'on'
                  voice_ids:
                    - voice_id_1
                    - voice_id_2
              with_motion_brush:
                summary: With motion brush
                value:
                  image: https://example.com/flag.jpg
                  prompt: Flag waving in the wind
                  static_mask: https://example.com/flag-mask.jpg
                  duration: 10
                  mode: pro
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncTaskResponse'
              example:
                code: 0
                message: success
                data:
                  status: pending
                  task_id: task-i2v008
                  model_id: model-123
                  get_result:
                    method: GET
                    url: https://api.modellix.ai/api/v1/tasks/task-i2v008
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    KlingV26I2VRequest:
      type: object
      required:
        - image
      properties:
        prompt:
          type: string
          description: Video generation prompt
          minLength: 1
          maxLength: 2500
          example: Live concert with crowd cheering
        image:
          type: string
          description: Starting frame image URL or Base64
          example: https://example.com/image.jpg
        image_tail:
          type: string
          description: >-
            Ending frame image URL or Base64 (mutually exclusive with motion
            brush)
          example: https://example.com/end.jpg
        negative_prompt:
          type: string
          description: Negative prompt
          minLength: 1
          maxLength: 2500
          example: silent, empty
        sound:
          type: string
          description: >-
            Audio generation switch: on (enable) or off (disable). Only
            supported by V2.6.
          default: 'on'
          enum:
            - 'on'
            - 'off'
          example: 'on'
        voice_ids:
          type: array
          description: >-
            Voice ID list for audio generation. Simplified flattened parameter.
            Only supported by V2.6.
          minItems: 1
          maxItems: 10
          items:
            type: string
            minLength: 1
            description: Voice ID string
            example: voice_id_1
          example:
            - voice_id_1
            - voice_id_2
        mode:
          type: string
          description: 'Generation mode: std or pro'
          default: std
          enum:
            - std
            - pro
          example: pro
        static_mask:
          type: string
          description: >-
            Static mask image for motion brush (mutually exclusive with
            image_tail)
          example: https://example.com/mask.jpg
        duration:
          type: integer
          description: Video duration in seconds
          default: 5
          enum:
            - 5
            - 10
          example: 10
    AsyncTaskResponse:
      type: object
      required:
        - code
        - message
        - data
      properties:
        code:
          type: integer
          description: Response code, 0 indicates success
          example: 0
        message:
          type: string
          description: Response message
          example: success
        data:
          type: object
          required:
            - status
            - task_id
            - model_id
          properties:
            status:
              type: string
              enum:
                - pending
                - processing
              description: Task status
              example: pending
            task_id:
              type: string
              description: Unique task identifier
              example: task-abc123
            model_id:
              type: string
              description: Model ID
              example: model-123
            get_result:
              type: object
              description: API information to query the task result
              properties:
                method:
                  type: string
                  description: HTTP method
                  example: GET
                url:
                  type: string
                  description: Full URL to query the task result
                  example: https://api.modellix.ai/api/v1/tasks/task-abc123
          description: Detailed data about the submitted asynchronous task.
    ErrorResponse:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          description: Error code (equals HTTP status code)
          example: 400
        message:
          type: string
          description: Error message
          example: 'Invalid parameters: parameter ''image'' is required'
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 400
            message: 'Invalid parameters: parameter ''image'' is required'
    Unauthorized:
      description: Unauthorized - Invalid or missing API Key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 401
            message: 'Authentication failed: invalid API key'
    TooManyRequests:
      description: Too many requests - Rate limit exceeded
      headers:
        X-RateLimit-Limit:
          description: Maximum requests per minute
          schema:
            type: integer
            example: 100
        X-RateLimit-Remaining:
          description: Remaining quota in current window
          schema:
            type: integer
            example: 0
        X-RateLimit-Reset:
          description: Rate limit window reset time (Unix timestamp)
          schema:
            type: integer
            example: 1704067260
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 429
            message: >-
              Rate limit exceeded: 100 requests per minute, retry after 60
              seconds
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 500
            message: Internal server error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API Key authentication. Format: `Bearer YOUR_API_KEY`.'

````