Diperbarui
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 ID | kuaishou/kling-2.1-video |
| Endpoint | POST https://api.unifically.com/v1/tasks |
| Request types | Image-to-video, with an optional end frame |
| Duration | 5 or 10 seconds |
| Resolution | 720p in std mode, 1080p in pro mode |
| Reference inputs | A start frame image (required) and an end frame image (optional) |
| Audio | Optional 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
- Create an API key on the API keys page.
- Send a POST request to
/v1/taskswith the model ID and aninputobject that holds the prompt and the start frame URL. - Read the
task_idfrom 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
| Parameter | Type | Default | What it does |
|---|---|---|---|
prompt | string | none | Text prompt describing the video to generate. Required |
start_frame_url | string | none | First frame image URL. Required |
end_frame_url | string | none | Last frame image URL |
duration | integer | 5 | 5 or 10 seconds |
mode | string | "pro" | "std" (720p) or "pro" (1080p) |
sound_effects | object | none | Sound effects and music configuration. Omit to disable audio |
nsfw_check | boolean | false | Checks the prompt and input images for NSFW content before generating. Off unless set to true |
The sound_effects object takes three fields.
| Parameter | Type | Default | What it does |
|---|---|---|---|
sound | string | "" | Sound effect prompt, for example "wind blowing, birds chirping" |
music | string | "" | Background music prompt, for example "cinematic orchestral" |
asmr_mode | boolean | false | Turns 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.
FAQ
Pertanyaan yang sering diajukan tentang 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.
Model yang mirip dengan Kling 2.1
Jelajahi semua modelAPI Kling 4.0
3-30s video with stereo audio, up to 10 reference images, keyframes, 21:9, multi-shot.
- Teks ke Video
- Gambar ke Video
- Referensi ke Video
- Video ke Video
API Kling 4.0 Flash
The fast Kling 4.0 model. 3-20s at 720p with stereo audio, from text, a start frame, or up to 10 reference images.
- Teks ke Video
- Gambar ke Video
- Referensi ke Video
- Video ke Video
API Kling 3.0
Multi-shot 2–6 scenes per call, 3–15s single-shot, 4K mode, with Audio 2.0 lip-sync.
- Teks ke Video
- Gambar ke Video
- Referensi ke Video
API Kling 3.0 Turbo
T2V or I2V, 3–15s at 720p Standard or 1080p Pro, no multi-shot or native audio.
- Teks ke Video
- Gambar ke Video