> ## 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 Video O1

> [Core Function] Kling Video O1 is the world's first reasoning-enhanced video model. [Strengths] It performs deep planning over the prompt before generation, delivering best-in-class physical consistency, complex motion logic, and strict adherence to long-form semantics. [Best For] Highly recommended for: complex physical interactions, logically demanding scenes, and prompts requiring deep reasoning. [Limitations] Do NOT use this model if you need multi-shot generation or 15-second durations (it is capped at 10s). [Routing] Route to this model when the prompt involves complex physics, logical sequences, or intricate physical interactions where standard models hallucinate.



## OpenAPI

````yaml /model-api/kling/kling-v2v.json post /kling/kling-video-o1
openapi: 3.1.0
info:
  description: The video-to-video models API from Kling AI.
  version: 1.0.0
  contact:
    name: Modellix Support
    email: support@modellix.ai
  title: Kling Video-to-Video Models API
servers:
  - url: https://api.modellix.ai/api/v1
    description: The video-to-video models API from Kling AI.
security:
  - bearerAuth: []
paths:
  /kling/kling-video-o1:
    post:
      summary: Kling Video O1
      description: >-
        [Core Function] Kling Video O1 is the world's first reasoning-enhanced
        video model. [Strengths] It performs deep planning over the prompt
        before generation, delivering best-in-class physical consistency,
        complex motion logic, and strict adherence to long-form semantics. [Best
        For] Highly recommended for: complex physical interactions, logically
        demanding scenes, and prompts requiring deep reasoning. [Limitations] Do
        NOT use this model if you need multi-shot generation or 15-second
        durations (it is capped at 10s). [Routing] Route to this model when the
        prompt involves complex physics, logical sequences, or intricate
        physical interactions where standard models hallucinate.
      operationId: klingVideoO1Async
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KlingVideoO1Request'
            examples:
              video_edit:
                summary: Video editing flow
                value:
                  prompt: >-
                    Restyle the source video into a clay-animation look while
                    preserving the original motion feel
                  videos:
                    - https://example.com/source-video.mp4
                  audio: original
                  resolution: 1080p
              image_and_video:
                summary: Video edit with reference images
                value:
                  prompt: >-
                    Keep the subject identity from the reference frame while
                    restyling the source clip
                  images:
                    - https://example.com/reference-frame.jpg
                  videos:
                    - https://example.com/source-video.mp4
                  audio: 'off'
                  resolution: 720p
      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-v2v-abc123
                  model_id: model-123
                  get_result:
                    method: GET
                    url: https://api.modellix.ai/api/v1/tasks/task-v2v-abc123
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    KlingVideoO1Request:
      type: object
      required:
        - prompt
        - videos
      properties:
        prompt:
          type: string
          description: Video generation prompt.
          minLength: 1
          maxLength: 2500
          example: Transform the source clip into a cinematic sci-fi sequence
        images:
          type: array
          description: >-
            Optional reference image list (first/last/refer frames flattened as
            URLs). Max 4 when a reference video is present.
          minItems: 1
          maxItems: 4
          items:
            type: string
            description: Reference image URL or Base64 string.
            minLength: 1
            example: https://example.com/reference-frame.jpg
        videos:
          type: array
          description: >-
            Required reference video list (max 1). Flat URL maps to base video
            by default.
          minItems: 1
          maxItems: 1
          items:
            type: string
            description: Reference video URL or Base64 string.
            minLength: 1
            example: https://example.com/source-video.mp4
        audio:
          type: string
          description: >-
            Whether to generate audio. Official O1 settings.audio: original |
            off. Feature video requires off.
          default: 'off'
          enum:
            - original
            - 'off'
          example: 'off'
        resolution:
          type: string
          description: Output video resolution.
          default: 720p
          enum:
            - 720p
            - 1080p
          example: 1080p
        aspect_ratio:
          type: string
          description: Video aspect ratio. Optional when a reference video is provided.
          default: '16:9'
          enum:
            - '16:9'
            - '9:16'
            - '1:1'
          example: '16:9'
        duration:
          type: integer
          description: >-
            Video duration in seconds (3-10). Not further restricted when a
            reference video is provided.
          default: 5
          enum:
            - 3
            - 4
            - 5
            - 6
            - 7
            - 8
            - 9
            - 10
          example: 5
      description: >-
        Kling Video O1 V2V. Feature video requires `audio=off`. Duration enum is
        3-10 (first-frame-only 5/10 rule applies to the I2V slice, not V2V).
    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-v2v-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-v2v-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 in format ''Category: detail'''
          example: 'Invalid parameters: prompt is required when multi_shot is false'
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 400
            message: 'Invalid parameters: prompt is required when multi_shot is false'
    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`.'

````