POST
/
api
/
v1
/
runway
/
extend
Extend AI Video
curl --request POST \
  --url https://api.kie.ai/api/v1/runway/extend \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "taskId": "ee603959-debb-48d1-98c4-a6d1c717eba6",
  "prompt": "The cat continues dancing with more energy and excitement, spinning around with colorful light effects intensifying",
  "imageUrl": "https://file.com/m/xxxxxxxx.png",
  "expandPrompt": true,
  "waterMark": "kie.ai",
  "callBackUrl": "https://api.example.com/callback"
}'
{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "ee603959-debb-48d1-98c4-a6d1c717eba6"
  }
}

Usage Guide

  • Add additional segments to your AI-generated videos
  • Maintain visual consistency while extending narratives
  • Create longer sequences for storytelling or demonstrations

Parameter Details

  • taskId identifies the original video to extend
  • prompt guides how the video should continue
  • quality video resolution, optional values are 720p or 1080p.
  • waterMark video watermark text content, empty string means no watermark

Developer Notes

  • Extended videos are stored for 14 days before automatic deletion
  • Extension maintains the same aspect ratio as the original video
  • Extension works best when continuing the same subject/theme as the original video

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

Body

application/json

Response

200
application/json

Request successful

The response is of type object.