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

# Kling-V3 Motion Control

> - Kling motion control model that transfers motions from a reference video onto an image character
- Async processing mode — use the returned task ID to [check task status](/pages/en/api-manual/task-management/get-task-detail)
- Generated video links are valid for 24 hours; please save them promptly




## OpenAPI

````yaml openapi/en/kling-v3-motion-control.json POST /v1/videos/generations
openapi: 3.1.0
info:
  title: Kling Motion Control
  version: '1.0'
servers:
  - url: https://api.aihubmax.com
security:
  - BearerAuth: []
paths:
  /v1/videos/generations:
    post:
      tags:
        - Video > Kling
      summary: Kling Motion Control
      description: >
        - Kling motion control model that transfers motions from a reference
        video onto an image character

        - Async processing mode — use the returned task ID to [check task
        status](/pages/en/api-manual/task-management/get-task-detail)

        - Generated video links are valid for 24 hours; please save them
        promptly
      operationId: kling-v3-motion-control
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KlingMotionControlGenRequest'
            examples:
              v3_pro_character_motion_transfer:
                summary: V3 Pro - Character motion transfer
                value:
                  model: kling-v3-motion-control
                  image_url: https://example.com/person.jpg
                  video_url: https://example.com/dance.mp4
                  mode: pro
                  prompt: >-
                    The character follows the dance moves from the reference
                    video, smooth and natural
                  character_orientation: image
                  keep_original_sound: 'no'
              v2_6_std_orientation_follows_video:
                summary: V2.6 Std - Character orientation follows video
                value:
                  model: kling-v2-6-motion-control
                  image_url: https://example.com/character.jpg
                  video_url: https://example.com/walking.mp4
                  mode: std
                  prompt: A person walking through a sunlit park
                  character_orientation: video
      responses:
        '200':
          $ref: '#/components/responses/TaskCreated'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  schemas:
    KlingMotionControlGenRequest:
      type: object
      required:
        - model
        - image_url
        - video_url
      properties:
        model:
          description: |-
            `kling-v3-motion-control`: V3 version
            `kling-v2-6-motion-control`: V2.6 version
          examples:
            - kling-v3-motion-control
            - kling-v2-6-motion-control
          type: string
          default: kling-v3-motion-control
        image_url:
          description: >
            Public URL of the reference image (character appearance source)


            **Notes:**

            - Format: JPG / PNG

            - Must be a publicly accessible URL

            - The character in the image will be animated with the motions from
            the reference video

            - The character should be unobstructed, and it is recommended that
            they occupy more than `5%` of the frame area
          type: string
          example: https://example.com/person.jpg
        video_url:
          description: >
            Public URL of the reference video (motion source)


            **Notes:**

            - Format: MP4 / MOV

            - Must be a publicly accessible URL

            - Maximum duration depends on `character_orientation`: `image`
            allows up to `10` seconds, `video` allows up to `30` seconds

            - The video should contain a full or half-body character with an
            unobstructed head

            - The video duration determines the output duration and billing
          type: string
          example: https://example.com/dance.mp4
        mode:
          default: std
          description: |
            Generation mode

            **Available values:**
            - `std` — Standard quality (default)
            - `pro` — High quality
          type: string
          example: std
        prompt:
          default: ''
          description: >
            Text prompt


            **Notes:**

            - Optional, used to provide additional description of the desired
            video effect

            - Supports both Chinese and English
          type: string
          example: >-
            The character follows the dance moves from the reference video,
            smooth and natural
        character_orientation:
          default: image
          description: >-
            Character orientation control


            **Available values:**

            - `image` — Keep the orientation from the image (default), input
            video max `10` seconds

            - `video` — Follow the orientation from the reference video, input
            video max `30` seconds



            > Do not pass this parameter unless necessary.
          type: string
          x-advanced: true
          example: image
        keep_original_sound:
          default: 'yes'
          description: |-
            Whether to keep the original audio from the reference video

            **Available values:**
            - `yes` — Keep original audio (default)
            - `no` — Mute


            > Do not pass this parameter unless necessary.
          type: string
          x-advanced: true
          example: 'yes'
    TaskResponse:
      type: object
      properties:
        created:
          type: integer
          description: Task creation timestamp
          example: 1757165031
        id:
          type: string
          description: Task ID
          example: task-unified-1757165031-uyujaw3d
        model:
          type: string
          description: Actual model name used
        object:
          type: string
          description: Specific task type
          enum:
            - video.generation.task
        progress:
          type: integer
          description: Task progress percentage (0-100)
          minimum: 0
          maximum: 100
          example: 0
        status:
          type: string
          description: Task status
          enum:
            - pending
            - processing
            - completed
            - failed
          example: pending
        task_info:
          type: object
          description: Async task information
          properties:
            can_cancel:
              type: boolean
              description: Whether the task can be cancelled
              example: true
            estimated_time:
              type: integer
              description: Estimated completion time (seconds)
              example: 45
        type:
          type: string
          description: Task output type
          enum:
            - video
          example: video
    ErrorResponse400:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: Invalid request parameters
            type:
              type: string
              example: invalid_request_error
    ErrorResponse401:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: Invalid API key
            type:
              type: string
              example: authentication_error
    ErrorResponse402:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: Insufficient balance
            type:
              type: string
              example: insufficient_quota
    ErrorResponse422:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: Parameter validation failed
            type:
              type: string
              example: validation_error
    ErrorResponse429:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: Rate limit exceeded
            type:
              type: string
              example: rate_limit_error
    ErrorResponse500:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: Internal server error
            type:
              type: string
              example: server_error
    ErrorResponse503:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: Service temporarily unavailable, please try again later
            type:
              type: string
              example: service_unavailable
  responses:
    TaskCreated:
      description: Task created successfully
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TaskResponse'
    BadRequest:
      description: Bad Request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse400'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse401'
    PaymentRequired:
      description: Insufficient balance
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse402'
    UnprocessableEntity:
      description: Parameter validation failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse422'
    TooManyRequests:
      description: Too Many Requests
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse429'
    InternalServerError:
      description: Internal Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse500'
    ServiceUnavailable:
      description: Service Unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse503'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: |
        ## All APIs require Bearer Token authentication ##

        Add to request header:

        `Authorization: Bearer YOUR_API_KEY`

````