Chuyển đến nội dung chính
Logo mô hình

Kling 2.1 API

  • Ảnh thành Video

Kling 2.1 thuộc dòng mô hình KlingXem tất cả mô hình Kling

Chạm để tải lênPNG, JPG, WEBP, GIF · Tối đa 100MB
Chạm để tải lênPNG, JPG, WEBP, GIF · Tối đa 100MB
Chế độ
Đầu ra

Nội dung video được tạo sẽ hiển thị tại đây

Cập nhật

What is the Kling 2.1 API?

The Kling 2.1 API is live on UnificAlly as kuaishou/kling-2.1-video, from $0.0504 per second of video. Kling 2.1 is Kuaishou's image-to-video model and the original member of the Kling 2.x line. The job it does well is animating a supplied still: hand it a starting frame and the model returns a 5 or 10 second video with motion that respects the input composition. There is no text-only mode here. If a prompt is the only input you have, use Kling 2.6 or Kling 2.1 Master instead. The 2.1 endpoint lets you choose Standard (720p) or Pro (1080p) output, pass an optional end frame to anchor the closing composition, and turn on a sound effects track for ambient sound or music.

Kling 2.1 API specs

Model IDkuaishou/kling-2.1-video
EndpointPOST https://api.unifically.com/v1/tasks
Request typesImage-to-video, with an optional end frame
Duration5 or 10 seconds
Resolution720p in std mode, 1080p in pro mode
Reference inputsA start frame image (required) and an end frame image (optional)
AudioOptional sound effects and music through sound_effects
Rate in std mode$0.0504/sec
Rate in pro mode$0.0882/sec

Billing is per second of output, with no subscription. The pricing page shows the live rates for both modes.

How to use the Kling 2.1 API

  1. Create an API key on the API keys page.
  2. Send a POST request to /v1/tasks with the model ID and an input object that holds the prompt and the start frame URL.
  3. Read the task_id from the response, then check the task until it is finished, or pass a callback URL and wait for the result.
curl -X POST https://api.unifically.com/v1/tasks   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "kuaishou/kling-2.1-video",
    "input": {
      "prompt": "A butterfly landing on a flower in slow motion",
      "start_frame_url": "https://example.com/butterfly.jpg",
      "duration": 5,
      "mode": "pro"
    }
  }'

The response returns the task ID straight away:

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}

The finished task carries the video URL.

curl https://api.unifically.com/v1/tasks/{task_id}   -H "Authorization: Bearer YOUR_API_KEY"

Kling 2.1 API parameters

ParameterTypeDefaultWhat it does
promptstringnoneText prompt describing the video to generate. Required
start_frame_urlstringnoneFirst frame image URL. Required
end_frame_urlstringnoneLast frame image URL
durationinteger55 or 10 seconds
modestring"pro""std" (720p) or "pro" (1080p)
sound_effectsobjectnoneSound effects and music configuration. Omit to disable audio
nsfw_checkbooleanfalseChecks the prompt and input images for NSFW content before generating. Off unless set to true

The sound_effects object takes three fields.

ParameterTypeDefaultWhat it does
soundstring""Sound effect prompt, for example "wind blowing, birds chirping"
musicstring""Background music prompt, for example "cinematic orchestral"
asmr_modebooleanfalseTurns on ASMR-style audio generation

The Kling 2.1 API documentation has the full reference.

Key features of Kling 2.1

Four features cover what teams build with Kling 2.1 in production.

Image-to-video specialist

The endpoint takes a start frame as a required input and turns it into a 5 or 10 second video. The composition stays anchored to the still, which makes 2.1 the right tool for product photography, brand portraits, and key art that has to read clearly once it moves.

Optional end frame for bookending

Pass a closing image alongside the start frame and the model interpolates the camera move and motion between them. Useful when you have both the open and the close locked and want the middle handled in one call.

Standard or Pro output modes

Standard renders at 720p for fast iteration and cheaper previews. Pro renders at 1080p for paid placements and hero spots. Same model, different ceiling on resolution.

Sound effects track in the same call

The sound_effects object adds ambient sound, background music, or an ASMR-style audio pass to the result. Skip the field to keep the output silent.

What Kling 2.1 is best for

  • Product packshot animation

    Animate a flat product photo into a 5 or 10 second loop. Reliable for ecommerce video, PDP hero videos, and store-listing previews.

  • Banner and retail screen loops

    Short cycles for digital signage and display ad placements where the input still already nailed the composition.

  • Frame-bookended hero shots

    Optional end frame anchors the closing composition. Good when you have the open and close locked and want the middle handled.

  • Cost-controlled 1080p delivery

    Pro mode at 1080p covers paid placements without the per-second cost of Kling 3.0.

  • Single-still campaigns

    Brand stills that need to become motion without a fresh shoot. Add ambient audio or music in the same call.

Kling 2.1 use cases

Animate a packshot for a product detail page by uploading the studio photo, choosing 5 seconds at Pro, and sending the loop straight to the PDP. Build a digital signage spot from a single brand still by passing the still as the start frame, the closing logo card as the end frame, and 10 seconds at Standard for the in-store screen. Turn a campaign hero image into a paid social asset by running it at Pro with a short prompt that describes the camera move, then layering ambient sound through the sound_effects object so the final cut needs no extra audio pass.

Câu hỏi thường gặp

Câu hỏi thường gặp về Kling 2.1

Kling 2.1 is Kuaishou's image-to-video model. You give it a starting frame and it animates the still for 5 or 10 seconds. Optional fields include a prompt for motion guidance, an end frame, an output mode of Standard (720p) or Pro (1080p), and a sound effects track.

Keys live on the API keys page of your UnificAlly account, and each request to https://api.unifically.com/v1/tasks sends one as Authorization: Bearer <key>. Because Kling 2.1 is image-to-video only, the first request needs a start frame URL as well as a prompt, and usage is billed per second from a prepaid balance.

Submit kuaishou/kling-2.1-video with prompt and start_frame_url (both required), plus an optional end_frame_url, a duration of 5 or 10, mode (std for 720p, pro for 1080p) and a sound_effects object. A task_id comes back at once; poll /v1/tasks/{task_id} or pass a callback URL until the finished task carries the video URL.

No. The 2.1 endpoint requires a start frame. For prompt-only generation, use Kling 2.6, Kling 2.5 Turbo, or Kling 2.1 Master.

2.6 adds prompt-only text-to-video, optional end frames in the text path, and native audio with voice references. 2.1 stays focused on animating a supplied still and keeps the parameter surface small.

Use 2.1 when the brief is "animate this still" and you already have a clean reference image. Use 2.6 when you want to start from a prompt instead of a frame.

Pro renders at 1080p, Standard renders at 720p. Same model, different output resolution. Pick Pro for paid placements and hero spots; Standard for internal review and fast iteration.