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": {
    "id": 12345,
    "parentId": 0,
    "generateParam": {
      "parentId": 0,
      "prompt": "cat dance",
      "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": "",
    "failMsg": "",
    "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

200
application/json

Request successful

The response is of type object.