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

# Kling-V3 모션 컨트롤

> - Kling-V3 Motion Control (kling-v3-motion-control) 모델은 **참조 이미지 + 참조 비디오**를 통한 모션 기반 생성을 지원합니다
- 시스템은 참조 비디오에서 모션 궤적을 추출하여 참조 이미지의 캐릭터/오브젝트에 적용하고, 참조 비디오의 동작과 일치하는 새로운 비디오를 생성합니다
- 생성되는 비디오 길이는 `character_orientation`에 따라 달라집니다. `image`는 최대 10초, `video`는 최대 30초, 최소 3초입니다
- 비동기 처리 모드로, 반환된 작업 ID를 사용하여 [조회하세요](/ko/api-manual/task-management/get-task-detail)
- 생성된 비디오 링크는 24시간 동안 유효하며, 가능한 빨리 저장해 주세요



## OpenAPI

````yaml ko/api-manual/video-series/kling/kling-v3-motion-control.json POST /v1/videos/generations
openapi: 3.1.0
info:
  title: kling-v3-motion-control API
  description: AI 모델을 사용한 모션 컨트롤 비디오 작업 생성
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: 프로덕션
security:
  - bearerAuth: []
tags:
  - name: 비디오 생성
    description: AI 비디오 생성 관련 인터페이스
paths:
  /v1/videos/generations:
    post:
      tags:
        - 비디오 생성
      summary: kling-v3-motion-control API
      description: >-
        - Kling-V3 Motion Control (kling-v3-motion-control) 모델은 **참조 이미지 + 참조
        비디오**를 통한 모션 기반 생성을 지원합니다

        - 시스템은 참조 비디오에서 모션 궤적을 추출하여 참조 이미지의 캐릭터/오브젝트에 적용하고, 참조 비디오의 동작과 일치하는 새로운
        비디오를 생성합니다

        - 생성되는 비디오 길이는 `character_orientation`에 따라 달라집니다. `image`는 최대 10초,
        `video`는 최대 30초, 최소 3초입니다

        - 비동기 처리 모드로, 반환된 작업 ID를 사용하여
        [조회하세요](/ko/api-manual/task-management/get-task-detail)

        - 생성된 비디오 링크는 24시간 동안 유효하며, 가능한 빨리 저장해 주세요
      operationId: createVideoGeneration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoGenerationRequest'
            examples:
              basic:
                summary: 기본 모션 컨트롤
                value:
                  model: kling-v3-motion-control
                  prompt: A girl dancing gracefully
                  image_urls:
                    - https://example.com/character.jpg
                  video_urls:
                    - https://example.com/dance-reference.mp4
                  quality: 720p
                  model_params:
                    character_orientation: image
              hd_no_sound:
                summary: 고화질 + 원본 오디오 미포함
                value:
                  model: kling-v3-motion-control
                  prompt: A robot performing martial arts
                  image_urls:
                    - https://example.com/robot.png
                  video_urls:
                    - https://example.com/martial-arts.mp4
                  quality: 1080p
                  model_params:
                    character_orientation: video
                    keep_sound: false
              with_element:
                summary: 주체 요소 컨트롤 포함
                value:
                  model: kling-v3-motion-control
                  image_urls:
                    - https://example.com/person.jpg
                  video_urls:
                    - https://example.com/walking.mp4
                  model_params:
                    character_orientation: video
                    element_list:
                      - element_id: '123456789'
      responses:
        '200':
          description: 비디오 생성 작업이 성공적으로 생성되었습니다
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoGenerationResponse'
        '400':
          description: 요청 매개변수 오류
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: invalid_request
                  message: Invalid request parameters
                  type: invalid_request_error
        '401':
          description: 인증되지 않음, 토큰이 유효하지 않거나 만료됨
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unauthorized
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: 잔액 부족, 충전 필요
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: insufficient_quota
                  message: Insufficient quota. Please top up your account.
                  type: insufficient_quota
        '403':
          description: 접근 권한 없음
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: model_access_denied
                  message: 'Token does not have access to model: kling-v3-motion-control'
                  type: invalid_request_error
        '429':
          description: 요청 빈도 초과
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: rate_limit_exceeded
                  message: Too many requests, please try again later
                  type: rate_limit_error
        '500':
          description: 서버 내부 오류
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: internal_error
                  message: Internal server error
                  type: api_error
components:
  schemas:
    VideoGenerationRequest:
      type: object
      required:
        - model
        - image_urls
        - video_urls
        - model_params
      properties:
        model:
          type: string
          description: 비디오 생성 모델 이름
          enum:
            - kling-v3-motion-control
          default: kling-v3-motion-control
          example: kling-v3-motion-control
        image_urls:
          type: array
          items:
            type: string
            format: uri
          description: |-
            참조 이미지 URL 배열, 캐릭터/오브젝트의 외형 소스를 제공합니다

            **참고:**
            - 참조 이미지 1장 입력
            - 이미지 크기: `10MB` 이하
            - 지원되는 파일 형식: `.jpg`, `.jpeg`, `.png`
            - 이미지 크기: 너비와 높이 ≥ `300px`, 종횡비 `1:2.5` ~ `2.5:1` 범위
            - 이미지 URL은 서버에서 직접 접근 가능해야 합니다
          example:
            - https://example.com/character.jpg
        video_urls:
          type: array
          items:
            type: string
            format: uri
          description: |-
            참조 비디오 URL 배열, 모션 궤적 제공용

            **참고:**
            - 참조 비디오 1개를 전달
            - 비디오 길이: `3`~`30`초
            - 비디오 크기: 최대 `100MB`
            - 비디오 해상도: 너비와 높이 각각 `340px` ~ `3850px`
            - 컷 전환, 빠른 움직임, 장면 전환을 피하세요
            - 비디오 URL은 서버에서 직접 접근 가능해야 합니다
          example:
            - https://example.com/dance-reference.mp4
        prompt:
          type: string
          description: |-
            텍스트 프롬프트 (선택 사항), 생성 내용을 안내하는 데 사용됩니다

            **참고:**
            - 최대 `2500`자
            - 비워 둘 수 있으며, 모델이 참조 이미지와 비디오를 기반으로 자동 생성합니다
          example: A girl dancing gracefully
          maxLength: 2500
        quality:
          type: string
          description: |-
            해상도 등급

            **설명:**
            - `720p`: 표준 화질 (std)
            - `1080p`: 고화질 (pro)
          enum:
            - 720p
            - 1080p
          default: 720p
          example: 720p
        model_params:
          type: object
          required:
            - character_orientation
          description: 모델 전용 매개변수 (필수), 모션 컨트롤 설정에 사용됩니다
          properties:
            character_orientation:
              type: string
              description: |-
                생성되는 캐릭터의 바라보는 방향을 제어합니다.

                **값:**
                - `image`: 참조 이미지와 같은 방향(최대 10초)
                - `video`: 참조 비디오와 같은 방향(최대 30초)

                **참고:**
                - `element_list`를 사용할 때는 `video`만 지원
              enum:
                - image
                - video
              example: image
            element_list:
              type: array
              description: |-
                주체 요소 목록, 제어할 캐릭터/오브젝트를 지정합니다

                **참고:**
                - 최대 `1`개의 주체 요소 (Motion Control 제한)
                - `element_id`: 주체 요소 ID
                - `video_refer` 참조 유형으로 생성된 요소만 지원됩니다 (`image_refer`는 지원되지 않음)
              items:
                type: object
                properties:
                  element_id:
                    type: string
                    description: 주체 요소 ID
                required:
                  - element_id
              maxItems: 1
            keep_sound:
              type: boolean
              description: |-
                참조 비디오의 원본 오디오를 유지할지 여부

                **설명:**
                - `true`: 원본 오디오 유지 (기본값)
                - `false`: 음소거
              default: true
              example: true
            watermark_info:
              type: object
              description: 워터마크 설정
              properties:
                enabled:
                  type: boolean
                  description: 워터마크 활성화 여부
        callback_url:
          type: string
          description: |-
            작업 완료 후 HTTPS 콜백 주소

            **콜백 시점:**
            - 작업 완료 (completed), 실패 (failed) 또는 취소 (cancelled) 시 트리거됩니다
            - 과금 확인 완료 후 전송됩니다

            **보안 제한:**
            - HTTPS 프로토콜만 지원
            - 내부 네트워크 IP 주소로의 콜백 금지
            - URL 길이 `2048`자 이하

            **콜백 메커니즘:**
            - 타임아웃: `10`초
            - 실패 시 최대 `3`회 재시도
            - 콜백 응답 본문 형식은 작업 조회 인터페이스의 반환 형식과 동일합니다
            - 콜백 주소가 2xx 상태 코드를 반환하면 성공으로 간주하며, 다른 상태 코드는 재시도를 트리거합니다
          format: uri
          example: https://your-domain.com/webhooks/video-task-completed
    VideoGenerationResponse:
      type: object
      properties:
        created:
          type: integer
          description: 작업 생성 타임스탬프
          example: 1757169743
        id:
          type: string
          description: 작업 ID
          example: task-unified-1757169743-7cvnl5zw
        model:
          type: string
          description: 실제 사용된 모델 이름
          example: kling-v3-motion-control
        object:
          type: string
          enum:
            - video.generation.task
          description: 작업의 구체적인 유형
        progress:
          type: integer
          description: 작업 진행률 백분율 (0-100)
          minimum: 0
          maximum: 100
          example: 0
        status:
          type: string
          description: 작업 상태
          enum:
            - pending
            - processing
            - completed
            - failed
          example: pending
        task_info:
          $ref: '#/components/schemas/VideoTaskInfo'
          description: 비디오 작업 상세 정보
        type:
          type: string
          enum:
            - text
            - image
            - audio
            - video
          description: 작업의 출력 유형
          example: video
        usage:
          $ref: '#/components/schemas/VideoUsage'
          description: 사용량 및 과금 정보
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: 오류 코드 식별자
            message:
              type: string
              description: 오류 설명 정보
            type:
              type: string
              description: 오류 유형
    VideoTaskInfo:
      type: object
      properties:
        can_cancel:
          type: boolean
          description: 작업 취소 가능 여부
          example: true
        estimated_time:
          type: integer
          description: 예상 완료 시간 (초)
          minimum: 0
          example: 300
        video_duration:
          type: integer
          description: >-
            비디오 길이(초), `character_orientation`에 따라 달라집니다. `image`는 최대 10초,
            `video`는 최대 30초입니다
          example: 8
    VideoUsage:
      type: object
      description: 사용량 및 과금 정보
      properties:
        billing_rule:
          type: string
          description: 과금 규칙
          enum:
            - per_call
            - per_token
            - per_second
          example: per_second
        credits_reserved:
          type: number
          description: 예상 소비 크레딧 수
          minimum: 0
          example: 408240
        user_group:
          type: string
          description: 사용자 그룹 카테고리
          example: default
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: |-
        ##모든 인터페이스는 Bearer Token 인증이 필요합니다##

        **API Key 획득:**

        [API Key 관리 페이지](https://evolink.ai/dashboard/keys)에서 API Key를 획득하세요

        **요청 헤더에 다음을 추가하세요:**
        ```
        Authorization: Bearer YOUR_API_KEY
        ```

````