> ## Documentation Index
> Fetch the complete documentation index at: https://nusabase-a8dcf793.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Kling Image-to-Video Task Status

> Queries the status and result of a Kling image-to-video task.



## OpenAPI

````yaml /en/openapi/relay-api.mintlify.json get /kling/v1/videos/image2video/{task_id}
openapi: 3.0.1
info:
  title: AI Relay API
  description: >-
    Unified AI Model API supporting OpenAI, Claude, Gemini, Kling, Jimeng and
    other formats
  version: 1.0.0
  license:
    name: Proprietary
    url: https://example.com/license
servers:
  - url: https://api.nusabasedigital.com
    description: API Base URL
security:
  - BearerAuth: []
tags:
  - name: Models
    description: Models endpoints
  - name: Chat
    description: Chat endpoints
  - name: Responses
    description: Responses endpoints
  - name: Realtime
    description: Realtime endpoints
  - name: Claude
    description: Claude endpoints
  - name: Gemini
    description: Gemini endpoints
  - name: Images
    description: Images endpoints
  - name: Video
    description: Video endpoints
  - name: Video / Kling
    description: Video / Kling endpoints
  - name: Video / Jimeng
    description: Video / Jimeng endpoints
  - name: Audio
    description: Audio endpoints
  - name: Embeddings
    description: Embeddings endpoints
  - name: Rerank
    description: Rerank endpoints
  - name: Moderations
    description: Moderations endpoints
  - name: Not Implemented
    description: Not Implemented endpoints
paths:
  /kling/v1/videos/image2video/{task_id}:
    get:
      tags:
        - Video / Kling
      summary: Get Kling Image-to-Video Task Status
      description: Queries the status and result of a Kling image-to-video task.
      operationId: get_kling_v1_videos_image2video_task_id
      parameters:
        - name: task_id
          in: path
          description: Task ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Task status retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoTaskResponse'
          headers: {}
        '404':
          description: Task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers: {}
      deprecated: false
      security:
        - BearerAuth: []
components:
  schemas:
    VideoTaskResponse:
      type: object
      description: Video task status query response
      properties:
        task_id:
          type: string
          description: Task ID
          example: abcd1234efgh
        status:
          type: string
          description: Task status
          enum:
            - queued
            - in_progress
            - completed
            - failed
          example: completed
        url:
          type: string
          description: Video asset URL (on success)
          example: https://example.com/video.mp4
        format:
          type: string
          description: Video format
          example: mp4
        metadata:
          $ref: '#/components/schemas/VideoTaskMetadata'
        error:
          $ref: '#/components/schemas/VideoTaskError'
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              description: Error profile
            type:
              type: string
              description: Error type
            param:
              type: string
              description: Related parameter
              nullable: true
            code:
              type: string
              description: Error code
              nullable: true
    VideoTaskMetadata:
      type: object
      description: Video task metadata
      properties:
        duration:
          type: number
          description: Actual generated video duration
          example: 5
        fps:
          type: integer
          description: Actual frame rate
          example: 30
        width:
          type: integer
          description: Actual width
          example: 1280
        height:
          type: integer
          description: Actual height
          example: 720
        seed:
          type: integer
          description: Random seed used
          example: 20231234
    VideoTaskError:
      type: object
      description: Video task error profile
      properties:
        code:
          type: integer
          description: Error code
        message:
          type: string
          description: Error profile
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.