Models Hub
API ReferenceVideo

Kling image-to-video.

Generate video from an image using the Kling model. The `image` parameter accepts an image URL or Base64-encoded image data.

Edit this page
POST
/kling/v1/videos/image2video

Authorization

bearerAuth
AuthorizationBearer <token>

Authenticate using an Authorization Bearer API Key.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Video generation request

Response Body

application/json

application/json

curl -X POST "https://example.com/kling/v1/videos/image2video" \  -H "Content-Type: application/json" \  -d '{    "model": "kling-v1",    "prompt": "The character turns and walks away",    "image": "https://modelsok.com/image.jpg",    "duration": 5,    "width": 1280,    "height": 720  }'
{
  "task_id": "abcd1234efgh",
  "status": "queued"
}
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string"
  }
}