Kling 2.1 (pro) Image to Video

fal-ai/kling-video/v2.1/pro/image-to-video
Kling 2.1 Pro is an advanced endpoint for the Kling 2.1 model, offering professional-grade videos with enhanced visual fidelity, precise camera movements, and dynamic motion control, perfect for cinematic storytelling.
Inference
Commercial use
Partner

Input

Additional Settings

Customize your input with more control.

Result

Idle
This generation takes approximately 5m.

For 5s video your request will cost $0.45. For every additional second you will be charged $0.09.

Logs

Readme

Kling AI v2.1 Pro - Professional Image-to-Video Generation

Transform static images into dynamic, fluid video content with Kling AI v2.1 Pro, the advanced image-to-video generation model from Kuaishou. Perfect for content creators, marketers, and developers who need high-quality video content at scale.

Overview

Kling AI v2.1 Pro brings professional-grade video generation capabilities to your applications. Built on advanced machine learning architecture, it excels at creating natural motion patterns and seamless transitions from single images with enhanced visual fidelity, precise camera movements, and dynamic motion control.

Key Capabilities:

  • Generate 5 or 10-second videos from any input image
  • Advanced motion interpolation for smooth transitions
  • Preserve fine details and textures throughout animation
  • Support for diverse image types and subjects
  • Professional-grade visual quality perfect for cinematic storytelling

Getting Started

Getting up and running with Kling AI is straightforward. First, set up your development environment:

Using npm:

npm install --save @fal-ai/client

Using pip:

pip install fal-client

Configure your authentication:

import { fal } from "@fal-ai/client";

fal.config({
  credentials: "YOUR_FAL_KEY_HERE"
});

Making Your First API Call

Here's a simple example of generating a video from an image:

import { fal } from "@fal-ai/client";

const result = await fal.subscribe("fal-ai/kling-video/v2.1/pro/image-to-video", {
  input: {
    prompt: "Sunlight dapples through budding branches, illuminating a vibrant tapestry of greens",
    image_url: "https://example.com/your-image.jpg",
    duration: "5",
    aspect_ratio: "16:9",
    negative_prompt: "blur, distort, and low quality",
    cfg_scale: 0.5
  }
});

console.log(result.video.url);

API Parameters

  • prompt (required): Text description of the desired motion and scene
  • image_url (required): URL of the input image
  • duration: Video duration - "5" or "10" seconds
  • aspect_ratio: Output aspect ratio (e.g., "16:9", "9:16", "1:1")
  • negative_prompt: Elements to avoid in the generation
  • cfg_scale: Classifier Free Guidance scale (default: 0.5)
  • static_mask_url: URL for static motion brush mask
  • dynamic_mask_url: URL for dynamic motion brush mask
  • special_fx: Special effects like "hug", "kiss", "heart_gesture", "squish", "expansion"
  • input_image_urls: Array of up to 4 images for multi-image generation

Advanced Features

The Pro version includes several advanced capabilities that set it apart:

Motion Control

Fine-tune the intensity and direction of motion with precise controls using motion brush masks and cfg_scale parameters.

Quality Preservation

Advanced interpolation algorithms maintain image quality throughout the video sequence, ensuring crisp details and accurate color reproduction.

Special Effects

const result = await fal.subscribe("fal-ai/kling-video/v2.1/pro/image-to-video", {
  input: {
    prompt: "Romantic scene with special effects",
    image_url: "your-image-url",
    special_fx: "heart_gesture"
  }
});

Model Variants

Kling 2.1 offers multiple quality tiers:

  • Pro: Professional-grade quality (this model)
  • Standard: fal-ai/kling-video/v2.1/standard/image-to-video - Cost-efficient option
  • Master: fal-ai/kling-video/v2.1/master/image-to-video - Premium tier with unparalleled quality

Best Practices

To achieve optimal results:

  1. Provide high-quality input images (recommended: 1080p or higher)
  2. Write detailed prompts describing motion, camera movement, and scene dynamics
  3. Use negative prompts to avoid unwanted elements
  4. Test different cfg_scale values (0.3-0.7) for motion control
  5. Consider aspect ratio based on your target platform

Technical Specifications

Processing Capabilities:

  • Input formats: JPG, JPEG, PNG, WEBP, GIF, AVIF
  • Output format: MP4
  • Resolution: Up to 1080p
  • Frame rate: Standard video frame rates
  • Processing time: Approximately 5 minutes

Queue Management

For asynchronous processing:

// Submit request
const { request_id } = await fal.queue.submit("fal-ai/kling-video/v2.1/pro/image-to-video", {
  input: {
    prompt: "Your detailed video description",
    image_url: "your-image-url",
    duration: "10"
  }
});

// Check status
const status = await fal.queue.status("fal-ai/kling-video/v2.1/pro/image-to-video", {
  requestId: request_id,
  logs: true
});

// Get result
const result = await fal.queue.result("fal-ai/kling-video/v2.1/pro/image-to-video", {
  requestId: request_id
});

Pricing and Usage

  • 5-second video: $0.45
  • Additional seconds: $0.09 per second
  • 10-second video: $0.90
  • Processing time: Approximately 5 minutes

View detailed pricing or contact sales for enterprise solutions.

Support and Resources

Need help? Access comprehensive support through:

Ready to Create Professional Videos?

Get started with Kling AI v2.1 Pro today by signing up at fal.ai and generating your API key. Transform your static images into engaging, cinematic videos with professional-grade quality.