Skip to main content
Kling 2.1 i2v is an image-to-video generation model from Kuaishou’s Kling series, available through AnyFast API. Transform static images into dynamic videos with customizable camera movements, motion brushes, and multi-shot storyboarding.

Key capabilities

  • Image-to-Video — Generate videos from first frame and/or end frame reference images
  • Camera Control — Preset and custom camera movements (pan, tilt, zoom, roll)
  • Motion Brush — Static and dynamic brush masks for precise motion control
  • Multi-Shot — Create up to 6 storyboard shots with custom prompts and durations
  • Standard & Pro Modes — Choose between cost-effective standard or high-quality professional output

Quick example

curl https://www.anyfast.ai/kling/v1/videos/image2video \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model_name": "kling-v2-1",
    "image": "https://example.com/photo.jpg",
    "prompt": "The person smiles and waves to the camera",
    "duration": "5",
    "mode": "std"
  }'

Parameters

ParameterTypeRequiredDescription
model_namestringNoMust be kling-v2-1
imagestringConditionalFirst frame image (Base64 or URL)
image_tailstringConditionalEnd frame image (Base64 or URL)
promptstringConditionalText prompt (max 2500 chars)
negative_promptstringNoNegative prompt (max 2500 chars)
modestringNostd or pro. Default: std
durationstringNo315 seconds. Default: 5
cfg_scalefloatNoPrompt relevance 01. Default: 0.5
camera_controlobjectNoCamera movement control
soundstringNoon or off. Default: off (V2.6+ only)
callback_urlstringNoWebhook URL for notifications

API Reference

View the interactive API playground for Kling 2.1 i2v.