Skip to main content
Endpoint: POST https://fal.run/fal-ai/kling-video/v2.5-turbo/pro/image-to-video Endpoint ID: fal-ai/kling-video/v2.5-turbo/pro/image-to-video

Try it in the Playground

Run this model interactively with your own prompts.

Quick Start

import fal_client

def on_queue_update(update):
    if isinstance(update, fal_client.InProgress):
        for log in update.logs:
           print(log["message"])

result = fal_client.subscribe(
    "fal-ai/kling-video/v2.5-turbo/pro/image-to-video",
    arguments={
        "prompt": "A stark starting line divides two powerful cars, engines revving for the challenge ahead. They surge forward in the heat of competition, a blur of speed and chrome. The finish line looms as they vie for victory.",
        "image_url": "https://v3.fal.media/files/panda/HnY2yf-BbzlrVQxR-qP6m_9912d0932988453aadf3912fc1901f52.jpg"
    },
    with_logs=True,
    on_queue_update=on_queue_update,
)
print(result)

Input Schema

prompt
string
required
image_url
string
required
URL of the image to be used for the video
duration
DurationEnum
default:"5"
The duration of the generated video in seconds Default value: "5"Possible values: 5, 10
negative_prompt
string
default:"blur, distort, and low quality"
Default value: "blur, distort, and low quality"
cfg_scale
float
default:"0.5"
The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt. Default value: 0.5Range: 0 to 1
tail_image_url
string
URL of the image to be used for the end of the video

Output Schema

video
File
required
The generated video

Input Example

{
  "prompt": "A stark starting line divides two powerful cars, engines revving for the challenge ahead. They surge forward in the heat of competition, a blur of speed and chrome. The finish line looms as they vie for victory.",
  "image_url": "https://v3.fal.media/files/panda/HnY2yf-BbzlrVQxR-qP6m_9912d0932988453aadf3912fc1901f52.jpg",
  "duration": "5",
  "negative_prompt": "blur, distort, and low quality",
  "cfg_scale": 0.5
}

Output Example

{
  "video": {
    "url": "https://storage.googleapis.com/falserverless/model_tests/kling/kling-v2.5-turbo-pro-image-to-video-output.mp4"
  }
}

Limitations

  • duration restricted to: 5, 10
  • cfg_scale range: 0 to 1
  • aspect_ratio restricted to: 16:9, 9:16, 1:1