Skip to main content
GET
/
api
/
v1
/
runway
/
record-detail
Get AI Video Details
curl --request GET \
  --url https://api.kie.ai/api/v1/runway/record-detail \
  --header 'Authorization: Bearer <token>'
{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "ee603959-debb-48d1-98c4-a6d1c717eba6",
    "parentTaskId": "",
    "generateParam": {
      "prompt": "A fluffy orange cat dancing energetically in a colorful room with disco lights",
      "imageUrl": "https://example.com/image.jpg",
      "expandPrompt": true
    },
    "state": "success",
    "generateTime": "2023-08-15 14:30:45",
    "videoInfo": {
      "videoId": "485da89c-7fca-4340-8c04-101025b2ae71",
      "taskId": "ee603959-debb-48d1-98c4-a6d1c717eba6",
      "videoUrl": "https://file.com/k/xxxxxxx.mp4",
      "imageUrl": "https://file.com/m/xxxxxxxx.png"
    },
    "failCode": 400,
    "failMsg": "Generation failed, please try again later",
    "expireFlag": 0
  }
}

Usage Guide

  • Check the status of a video generation or extension task
  • Access video URLs when generation is complete
  • Troubleshoot failed generation attempts

Status Descriptions

  • wait: Task has been submitted but not yet queued
  • queueing: Task is waiting in processing queue
  • generating: Video generation is in progress
  • success: Video has been successfully generated
  • fail: Video generation has failed

Developer Notes

  • Works with both standard video generation and video extension tasks
  • For extension tasks, the parentTaskId field identifies the original video
  • Video links are valid for 14 days, after which expireFlag will be set to 1

Authorizations

Authorization
string
header
required

All APIs require authentication via Bearer Token.

Get API Key:

  1. Visit API Key Management Page to get your API Key

Usage: Add to request header: Authorization: Bearer YOUR_API_KEY

Note:

  • Keep your API Key secure and do not share it with others
  • If you suspect your API Key has been compromised, reset it immediately in the management page

Query Parameters

taskId
string
required

Unique identifier of the video generation or extension task. This is the taskId returned when creating or extending an AI video.

Response

Request successful

code
enum<integer>

Response status code

  • 200: Success - Request has been processed successfully
  • 401: Unauthorized - Authentication credentials are missing or invalid
  • 404: Not Found - The requested resource or endpoint does not exist
  • 422: Validation Error - The request parameters failed validation checks
  • 429: Rate Limited - Request limit has been exceeded for this resource
  • 451: Unauthorized - Failed to fetch the image. Kindly verify any access limits set by you or your service provider.
  • 455: Service Unavailable - System is currently undergoing maintenance
  • 500: Server Error - An unexpected error occurred while processing the request
Available options:
200,
401,
404,
422,
429,
451,
455,
500
msg
string

Status message

Example:

"success"

data
object
I