# Kling 4.0 API 价格与接入：$0.09/秒起，首尾帧、视频编辑 | KovAPI

> Kling 4.0 是快手可灵 2026 年 10 月正式发布的视频生成模型。给一段提示词，或者再加首帧 / 尾帧图、最多 10 张参考图、5 段参考视频，得到一条 3–30 秒、720P 或 1080P、自带声音的视频；一条最长 30 秒，可以按镜头写完一个完整的短片，也可以把一段现成的视频交给它，用提示词说明改什么、保留什么。在 KovAPI 用 `kling-4.0` 调用：720P $0.09/秒、1080P $0.125/秒，可灵官方价分别是 $0.14 和 $0.21。我们 11 月 30 日和 12 月 1 日实测，5–30 秒的单大多 8–12 分钟出片。

网页版: https://kovapi.com/zh/model/kling-4.0 · 更新: 2026-12-01
价格、上限和耗时是生成这份文件时的实时值。

## 事实摘要

- 型号 ID: `kling-4.0`
- 接口: `POST https://kovapi.com/v1/videos/generations` → `GET https://kovapi.com/v1/videos/jobs/{id}`
- 时长: 3–30 秒，整数
- 分辨率: 720P / 1080P
- 画面比例: 16:9 / 9:16 / 1:1 / 21:9
- 参考素材: 图片 ≤10 · 视频 ≤5（每段 3–30 秒，合计 ≤30 秒）· 不收参考音频
- 提示词: 英文 ≤26,000 · 其他文字 ≤11,000 个字符（可灵官方上限，混排按比例）
- 每秒价: 720P $0.09/秒 · 1080P $0.125/秒
- 带参考视频每秒价: 720P $0.054/秒 · 1080P $0.075/秒，按 max(成片 × 2, 成片 + 参考) 计费秒
- 成片保留: 7 天

## 30 秒多镜头、音画同出、照视频复刻，一个型号都能做

- **一条 30 秒，6 个镜头，按提示词的时间轴走完**: 可灵官方的 30 秒示例：两张参考图（燃烧的海港城、巨龙），提示词 7,182 字，写好 6 个镜头各自的时间、机位、动作和声音。成片一条出完：山巅咆哮起飞、追着冲向港口、贴着水面低飞、钻进城里喷火、绕塔急转、升空俯瞰火城，镜头按时间轴切换，龙的样子前后一致，龙吼、火声和配乐一起生成。720P 这一条 $2.70。
- **画面和声音一起生成：刀声、人声、环境声**: 每条成片都带立体声，声音和画面是同一次生成的。点播放听这一条：三下刀响跟着三次下刀，后面有炒锅和人声，最后一句中文「三刀，就够了」。不要配乐或字幕就在提示词里写明，这条写了 No music, no subtitles。下方的同题对比里，四个模型的这一条都可以单独听。
- **照一条爆款视频的镜头，换成你的主角**: 可灵官方的「创意复刻」示例：一段 14 秒、多镜头的狗狗短片作 @Video1，一张长毛猫的图作 @Image1，提示词只有一句「Replace the subject in @Video1 with @Image1. Keep everything else unchanged.」。成片每个镜头都换成了这只猫：眼睛特写、坐姿拉远、手摸头、毛发特写、钻出口袋，机位和节奏跟原片一样。1080P 这一条 $2.175。
- **把现成视频交给它，只改你点名的部分**: 参考视频放进 `video_references`，提示词以「Edit @Video1」开头，写清改什么、保留什么。雪地柯基这条用可灵官方的 14.8 秒原片，只把柯基换成方块体素风格，扎进雪里、探头、连跳和最后坐下的动作都跟原片对得上，雪地和机位保持写实。15 秒 720P 这一条花 $1.62。
- **用一张图定开场画面，或用两张图定起点和终点**: `images` 放 1–2 张图并设 `image_role: first_frame`：第 1 张作首帧，第 2 张作尾帧。成片的画幅跟首帧走：这条首帧是 1672×941，出片 1284×724。松鼠从洞里探头、举起火把、眨眼微笑，全在首帧的画面里展开。
- **一张草图定构图，1080P 出成片**: 最多 10 张参考图，在提示词里用 `@Image1`、`@Image2` 点名、写明每张管什么。白莲这条只给了一张构图线稿，提示词开头一句「Use @Image1 for composition」，成片的人物位置、白莲大小和距离都照着线稿来。
- **16:9、9:16、1:1、21:9，3 秒起逐秒可选**: `size` 可选 16:9 / 9:16 / 1:1 / 21:9，时长 3–30 秒之间任意整数秒。同一条海鸥提示词，21:9 出片 1460×624，1:1 出片 940×940；最短 3 秒的单我们也实测过。

## 玩法与 API 字段对照

各玩法共用 `model`（`kling-4.0`）、`prompt`、`duration`、`resolution` 和 `size`。图片和视频按上传顺序编号，在提示词里用 `@Image1`、`@Video1` 点名。

| 玩法 | 传什么 | 得到什么 | 限制 |
| --- | --- | --- | --- |
| 文生视频 | 只传 `prompt` 和生成参数，不附素材。 | 按文字生成画面、动作和声音；台词、音效、配乐都写进提示词。 | 只受通用规格限制（见规格速查）。 |
| 首帧生成视频 | `images` 放 1 张图，`image_role` 设为 `first_frame`。 | 成片从这张图开始，画幅跟首帧走。 | 不能和参考视频一起用；`size` 不起作用。 |
| 首尾帧生成视频 | `images` 放 2 张图，`image_role` 设为 `first_frame`：第 1 张首帧、第 2 张尾帧。 | 成片从首帧开始、停在尾帧，中间的动作按提示词补全。 | 最多 2 张图；不能和参考视频一起用。 |
| 参考图生成视频 | `images` 放最多 10 张图（`image_role` 不传或设 `reference`），提示词写清每张图的用途。 | 按参考图的人物、商品、场景或构图生成新画面。 | 最多 10 张。 |
| 参考视频生成 | `video_references` 放视频链接（可同时带参考图），提示词写明参考它的动作、运镜还是节奏。 | 沿用参考视频的运动或镜头，换上新的人物和场景。 | 最多 5 段，每段 3–30 秒、高度不低于 700 像素，合计不超过 30 秒。 |
| 视频编辑 | 要改的视频放进 `video_references`，提示词以「Edit @Video1」开头，写改什么、保留什么；可加参考图指定换成什么。 | 在原视频上修改：换主体、换风格、换背景，动作和机位保留。 | 和参考视频同样的上限；计费按带参考视频的算法。 |

## 能拿 Kling 4.0 做什么

- **30 秒短片与广告**: 把分镜和时间轴写进提示词，一条出完一个 30 秒的完整短片或广告，镜头切换、节奏、配乐一起生成。
- **爆款视频复刻**: 拿一条节奏好的爆款视频作参考，换上你的宠物、商品或角色，镜头和节奏照搬。
- **给现成视频换主体、换风格**: 已有的实拍或成片，只换其中的人物、动物或画风，动作、机位、时长和原声保留，不用重拍。
- **角色图、商品图直接动起来**: 把吉祥物、IP 角色或商品主图作首帧，开场画面就是你的图；再给一张尾帧，镜头落在你要的结尾。
- **带对白的人物短片**: 台词、语气和环境声写进提示词，成片自带声音；口播、短剧镜头、广告片段都能先出样片。
- **草图定构图，出概念片**: 分镜草图、角色设定图、场景图分别作参考，告诉模型每张管什么，适合概念预演和片头。

## Kling 4.0 API 价格

| 分辨率 | Kling 4.0 | 带参考视频（每计费秒） | 可灵官方价 |
| --- | --- | --- | --- |
| 720P | $0.09/秒 | $0.054/秒 | $0.14 / 带参考视频 $0.084 |
| 1080P | $0.125/秒 | $0.075/秒 | $0.21 / 带参考视频 $0.126 |

- 不带参考视频：所选分辨率的每秒单价 × 成片秒数，参考图、首尾帧图不另收费。例：720P 10 秒 = 10 × $0.09。
- 带参考视频（含视频编辑）：按可灵官方的算法，计费秒数 = max(成片秒数 × 2, 成片秒数 + 参考视频秒数)，乘表中「带参考视频」的单价（每秒单价的 60%）；参考视频秒数按整秒向上取。例：雪地柯基这条 720P 成片 15 秒、参考视频 14.8 秒（按 15 秒计），max(30, 30) = 30 秒，共 $1.62。
- 提交时预扣，生成失败全额退回；同一任务自动重试只结算一次。

## 同一条提示词：Kling 4.0、Kling 4.0 Flash、Seedance 2.5、Veo 3.1 各 8 秒

四条都是 720P、16:9、8 秒（Veo 3.1 只有 8 秒一档，其他三个也按 8 秒出），提示词一字不差，每条单独生成。鼠标移到画面上几条一起播放，手机上点「同步播放」；点每条下面的「听这一条」听它自己的声音。每条下面是按现价算的这一条的费用。

### 音画同步：剁三刀，再说一句中文（8 秒 16:9）

这一条比声音：三下刀响有没有落在三次下刀上，中文台词清不清楚。四条都说出了「三刀，就够了」；差别在刀上：Kling 4.0 和 Veo 3.1 都是三刀三声，Flash 开头多了一声刀响，Seedance 2.5 没按「三刀」来，连着切了八九片。

- 8s · 16:9
- **Kling 4.0 720P** (按现价 $0.72): https://img.kovapi.com/i/mp-aa4526f686d97b133aaf3541.mp4 — Kling 4.0：中景一镜剁了三刀，刀声跟着下刀；第 5 秒换到正面说台词，换镜头后案板上的黄瓜从几段变成了一堆丁。
- **Kling 4.0 Flash 720P** (按现价 $0.48): https://img.kovapi.com/i/mp-8d1581e6f0b8f6635700d0e7.mp4 — Flash：案板特写上剁了三刀，开头多了一声刀响；最后切到厨师特写说台词。
- **Seedance 2.5 720P** (按现价 $1.264): https://img.kovapi.com/i/mp-4d92c907e0996d09792fbd05.mp4 — Seedance 2.5：没按「三刀」来，连着切了八九片，刀声也更密；最后特写说台词。
- **Veo 3.1 720P** (按现价 $0.20): https://img.kovapi.com/i/mp-39de592cb2a33da17842af4a.mp4 — Veo 3.1：三刀切出三片、三声刀响对得上，再转到厨师笑着说台词，这一条最贴提示词。

提示词原文:

```text
Close-up in a busy night-market kitchen. A middle-aged chef raises a cleaver and chops a cucumber on a wooden board three times; each chop lands with a sharp thud. He looks up at the camera, grins and says in Mandarin: "三刀，就够了。" Sizzling woks and crowd chatter in the background. No music, no subtitles.
```

阅读译文 (译文只供阅读；复制和套用都用原文):

```text
热闹夜市后厨的近景。一位中年厨师举起菜刀，在木砧板上把一根黄瓜剁三刀，每一刀都落下清脆的一声。他抬头看向镜头，咧嘴一笑，用普通话说：「三刀，就够了。」背景里是炒锅的滋滋声和人群的嘈杂声。不要音乐，不要字幕。
```

### 动作与跟拍：滑板越过消防栓（8 秒 16:9）

这一条比动作：起跳、越过、落板是否连贯，低机位能不能跟住。Kling 4.0 和 Seedance 2.5 都越过了消防栓并落稳，Seedance 2.5 前 5 秒一直在滑行、最后才起跳；Flash 起跳那一下镜头正好扫过消防栓，看不出有没有越过；Veo 3.1 做了个翻板，在消防栓旁边落地。四条都有轮子声和起跳、落板的声音。

- 8s · 16:9
- **Kling 4.0 720P** (按现价 $0.72): https://img.kovapi.com/i/mp-36de7a3d32744d9a82f7e199.mp4 — Kling 4.0：第 3 秒起跳越过消防栓，落板后滑走，镜头一路低机位跟拍。
- **Kling 4.0 Flash 720P** (按现价 $0.48): https://img.kovapi.com/i/mp-32e6c0139484618770046c29.mp4 — Flash：起跳时镜头扫过消防栓、挡住了那一下，落板干净。
- **Seedance 2.5 720P** (按现价 $1.264): https://img.kovapi.com/i/mp-6d38c004a63f4a9138d1cf31.mp4 — Seedance 2.5：前 5 秒都在滑行，最后 3 秒起跳越过消防栓、落稳。
- **Veo 3.1 720P** (按现价 $0.20): https://img.kovapi.com/i/mp-04a56db49f293cab1e52ed70.mp4 — Veo 3.1：做了一个翻板，在消防栓旁边落地，没有从上面越过。

提示词原文:

```text
A skateboarder rolls across a sunlit plaza, ollies over a fire hydrant, lands and rolls away; low tracking camera alongside. The wheels clack on the pavement and the landing slaps. No music, no subtitles.
```

阅读译文 (译文只供阅读；复制和套用都用原文):

```text
一个滑板少年滑过阳光下的广场，用 ollie 越过一个消防栓，落板后滑走；低机位在旁边跟拍。轮子在地面上嗒嗒作响，落板啪的一声。不要音乐，不要字幕。
```

## 案例：提示词与参数

### 可灵官方 30 秒示例：巨龙火攻海港城（6 个镜头）

- 用 KovAPI 生成 · 多图参考 · 30s · 720P · 16:9
- 按现价 $2.70
- 成片: https://img.kovapi.com/i/mp-59313af825187c6d6a4981ae.mp4
- 参考图 1: https://img.kovapi.com/i/mp-f5a55a529cc09483b9d9fce0.png
- 参考图 2: https://img.kovapi.com/i/mp-3014c9b125142780247c3ee4.png

提示词和两张参考图出自可灵官方手册的 30 秒示例，原文 7,182 字，只把参考名 @city / @dragon 换成按上传顺序的 @Image1 / @Image2。KovAPI 12 月 1 日按 30 秒 720P 生成：6 个镜头按时间轴切换，龙的样子前后一致，龙吼、火声和配乐一起生成。

提示词原文:

```text
1. SCENE CONTEXTEXACTLY 1 DRAGON — NO DUPLICATES.A 30-second, six-shot dark-fantasy action sequence. A colossal dragon roars, launches from a mountain pinnacle, accelerates toward a burning coastal city, dives between its towers and performs a devastating aerial fire attack. Epic scale, very fast pacing, real-time motion.2. ACTIVE REFERENCES   @Image1 controls the burning coastal city, Gothic architecture, harbour, mountain horizon, existing fires, smoke columns, storm clouds and lighting.   @Image2 controls the dragon’s identity, black-grey scales, red-brown wing membranes, horns, dorsal spines, four legs, two wings, long tail and opening rocky pinnacle.3. LOCATION MAPThe pinnacle overlooks the coastal city. The harbour lies screen-left, the central castle lies ahead, and the densest burning district lies centre-right. Direction of travel always runs from the mountain toward the city centre. Cameras remain behind, below or on the dragon’s left side without reversing the travel axis.4. FIRST FRAME AND SPATIAL BLOCKINGThe dragon is already crouched on the pinnacle, wings spread, hind legs compressed and head aimed toward the city. Its jaws open for one roar. Fires flicker below, connected smoke columns bend with the wind and the entire storm ceiling visibly moves.5. FORMAT MODESix shots with hard cuts:SHOT 1 — 0.0–4.0s: roar and launch.SHOT 2 — 4.0–9.0s: high-speed pursuit toward the harbour.SHOT 3 — 9.0–13.5s: low flight across the water toward the city.SHOT 4 — 13.5–19.0s: first fire attack between towers.SHOT 5 — 19.0–25.0s: banking pursuit and sweeping fire attack.SHOT 6 — 25.0–30.0s: dragon climbs above the burning city.Cuts are motivated by wing wipes, smoke wipes and close architectural passes. No fades or dissolves.6. OPTICSSHOT 1: 24mm, 74° horizontal FOV, low-angle environmental wide.SHOT 2: 18mm, 90° FOV, rear pursuit perspective.SHOT 3: 24mm, 74° FOV, low water-level chase.SHOT 4: 28mm, 65° FOV, roof-height tracking.SHOT 5: 24mm, 74° FOV, close side-rear pursuit.SHOT 6: 18mm, 90° FOV, monumental aerial wide.Moderate-deep focus. Strong natural motion blur on wing tips, water, smoke, embers and nearby buildings.7. CAMERAAll cameras have obvious physical handheld instability.SHOT 1 rapidly tilts upward as the dragon launches; wing pressure violently jolts the operator.SHOT 2 follows 12 metres behind the tail with intense wind buffeting and rapid vertical vibration.SHOT 3 races just above the water behind the dragon; waves and burning boats whip past the frame edges.SHOT 4 tracks through the street canyon at roof height.SHOT 5 follows the dragon through a hard bank, nearly losing framing as towers pass dangerously close.SHOT 6 pursues upward, then settles into a wide view of the devastated city.No smooth floating or mechanically perfect movement.8. ACTION TIMING0.0–0.8s: The dragon releases one thunderous roar, neck extended and eyes fixed on the city.0.8–2.0s: Hind legs drive into the pinnacle; claws fracture the rock.2.0–4.0s: The dragon launches and performs two powerful wing strokes. Dust and stone explode backward.4.0–6.5s: Hard cut behind the dragon already accelerating at high speed.6.5–9.0s: It folds its legs beneath its body and dives toward the harbour. Smoke streams across its wings.9.0–11.5s: The dragon skims rapidly above rough water. Wing tips nearly touch the waves.11.5–13.5s: It passes burning ships and climbs over the sea wall. A tower wipes across the lens.13.5–15.0s: Hard cut inside the city. The dragon bursts through smoke between Gothic towers.15.0–19.0s: It releases one continuous orange-white fire jet, sweeping across the left row of rooftops while maintaining full speed.19.0–21.5s: The dragon snaps into a hard right bank around the central tower; the tail swings with delayed inertia.21.5–25.0s: Its connected fire stream sweeps across the avenue and strikes the right-side tower. Burning masonry and embers fall behind it.25.0–27.0s: The dragon stops breathing fire, beats its wings powerfully and climbs above the rooftops.27.0–30.0s: It ascends into the storm light and glides over the burning city. The camera widens to reveal spreading flames, smoke columns and the harbour below.9. PHYSICSThe dragon has immense believable mass despite its speed. Wing strokes originate in the shoulders; membranes stretch under aerodynamic load. The torso, legs and tail react with delayed inertia. Wing wakes tear openings through smoke, disturb water and buffet nearby fires. Fire emerges only from the open mouth as a pressure-driven stream with a white-hot core, orange turbulent edges and visible heat distortion. Buildings ignite progressively at visible impact points. Debris follows gravity and the dragon’s wake.10. LIGHTINGCold storm daylight enters from upper-left. Existing fires provide orange underlight beneath the dragon. The fire stream becomes a moving motivated key light, casting travelling highlights over scales, towers and smoke. Sunbeams break through the clouds during the final climb. Preserve detail in the flame core and keep the dragon’s silhouette readable.11. AUDIONo dialogue.Synchronized dragon roar, claw scraping, rock fracture, leather-wing thunder, violent wind, wave impacts, burning ships, collapsing masonry, ember hiss and pressurised fire blasts.Epic original score: rapid war drums, low brass ostinato and urgent strings begin immediately. Wordless low choir enters at launch. Percussion accelerates during the chase. Full orchestra strikes with each fire attack, then expands into a dark triumphant finale during the ascent. Roar, wings and fire remain louder than the music.12. CHARACTER ACTINGThe dragon acts with focused predatory intent. Its eyes remain locked on its flight path and successive building targets. During acceleration, its head lowers and shoulders drive aggressively. Inside the city, the neck deliberately guides the fire stream while the tail controls each bank. In the final shot, its chest opens and posture changes from attacking aggression to airborne dominance.13. STYLEGrand apocalyptic dark-fantasy cinema, aggressive pursuit photography, monumental scale and battlefield energy. Charcoal and storm blue occupy 60% of the palette, smoke-brown stone 30%, and fire orange 10%. Weathered 35mm film texture with old-photograph softness, organic grain and no digital sharpening.14. QUALITYConsistent dragon identity and anatomy through every cut: one head, two wings, four legs and one tail. Stable city architecture, coherent wing cycles, attached mouth fire, volumetric smoke and physically connected destruction. Natural fast-motion blur without ghost copies, anatomy mutation or detached flames.15. POSITIVE CONSTRAINTSExactly one dragon remains visible throughout the sequence. It launches before 2 seconds, reaches the harbour by 9 seconds, enters the city at 13.5 seconds and completes two fast fire-attack passes before climbing away. Every shot preserves the mountain-to-city direction. Strong camera shake communicates extreme speed while the dragon remains readable. City fires continuously emit smoke, clouds visibly travel across the sky, and new destruction appears only where the connected fire stream strikes.
```

### 可灵官方「创意复刻」：爆款狗狗视频换成长毛猫

- 用 KovAPI 生成 · 视频编辑 · 14s · 1080P · 16:9
- 按现价 $2.175
- 成片: https://img.kovapi.com/i/mp-f4c9b9a145a33db4151d725f.mp4
- 参考图 1: https://img.kovapi.com/i/mp-d534117094084549b75edb57.png
- 源视频 (15s): https://img.kovapi.com/i/mp-b7e4f098d11a9ba71a6c4db2.mp4

参考视频（14 秒、多镜头）和猫的图出自可灵官方手册的 Creative Recreation 示例，提示词是原文的一句话。KovAPI 12 月 1 日经 API 按 1080P 生成，每个镜头都换成了这只猫，机位和节奏跟原片一样。参考视频 14.07 秒，按 15 秒计费。

提示词原文:

```text
Replace the subject in @Video1 with @Image1. Keep everything else unchanged.
```

阅读译文 (译文只供阅读；复制和套用都用原文):

```text
把 @Video1 里的主体换成 @Image1，其他都保持不变。
```

### 剁三刀再说一句中文：音画同步

- 用 KovAPI 生成 · 文生视频 · 8s · 720P · 16:9
- 按现价 $0.72
- 成片: https://img.kovapi.com/i/mp-aa4526f686d97b133aaf3541.mp4

同题对比里 Kling 4.0 的那一条，12 月 1 日经 KovAPI 生成，8 秒 720P。三下刀响跟着下刀，最后说「三刀，就够了」。

提示词原文:

```text
Close-up in a busy night-market kitchen. A middle-aged chef raises a cleaver and chops a cucumber on a wooden board three times; each chop lands with a sharp thud. He looks up at the camera, grins and says in Mandarin: "三刀，就够了。" Sizzling woks and crowd chatter in the background. No music, no subtitles.
```

阅读译文 (译文只供阅读；复制和套用都用原文):

```text
热闹夜市后厨的近景。一位中年厨师举起菜刀，在木砧板上把一根黄瓜剁三刀，每一刀都落下清脆的一声。他抬头看向镜头，咧嘴一笑，用普通话说：「三刀，就够了。」背景里是炒锅的滋滋声和人群的嘈杂声。不要音乐，不要字幕。
```

### 低机位跟拍：滑板越过消防栓

- 用 KovAPI 生成 · 文生视频 · 8s · 720P · 16:9
- 按现价 $0.72
- 成片: https://img.kovapi.com/i/mp-36de7a3d32744d9a82f7e199.mp4

同题对比里 Kling 4.0 的那一条，12 月 1 日经 KovAPI 生成，8 秒 720P。

提示词原文:

```text
A skateboarder rolls across a sunlit plaza, ollies over a fire hydrant, lands and rolls away; low tracking camera alongside. The wheels clack on the pavement and the landing slaps. No music, no subtitles.
```

阅读译文 (译文只供阅读；复制和套用都用原文):

```text
一个滑板少年滑过阳光下的广场，用 ollie 越过一个消防栓，落板后滑走；低机位在旁边跟拍。轮子在地面上嗒嗒作响，落板啪的一声。不要音乐，不要字幕。
```

### 雪地柯基换成体素风格（视频编辑）

- 用 KovAPI 生成 · 视频编辑 · 15s · 720P · 9:16
- 按现价 $1.62
- 成片: https://img.kovapi.com/i/mp-ecac9f217d02b76b20bcfe94.mp4
- 源视频 (14.8s): https://img.kovapi.com/i/mp-ab777316db01573198e67451.mp4

可灵官方示例的 14.8 秒竖屏原片和编辑提示词，KovAPI 用 Kling 4.0 按原参数生成 15 秒 720P。只换了柯基，雪地、栅栏和机位保持原样，扎雪、探头、连跳的动作对得上。

提示词原文:

```text
Edit @Video1: replace only the Corgi with one rigid 3D voxel Corgi, preserving its exact size, frame-by-frame position, movement and timing.
Use a box torso, cube head, upright stepped ears, four short block legs and a block tail. Sharp right-angle edges, 16×16 pixel textures, flat shading. Preserve tan colouring, black back saddle, white blaze/collar/chest/paws, black square eyes, cube nose and pink block tongue. No fur, curves or gradients.
Match every original action: porch-side stance, plunge beneath snow, head reappearance, repeated forward leaps and final seated pose. Parts swing as rigid blocks without deformation; geometry and markings stay consistent after concealment.
Preserve sinking depth and snow timing; fit snow contact, spray, accumulation and shadows to the block body.
Keep the entire environment photorealistic and all camera movement, framing, duration and original audio unchanged. Exactly one Corgi, voxel-styled throughout.
```

阅读译文 (译文只供阅读；复制和套用都用原文):

```text
编辑 @Video1：只把柯基换成一只刚性的 3D 体素柯基，保持它的大小、逐帧位置、动作和时间完全不变。
方块躯干、立方体头、阶梯状竖耳、四条短方块腿和方块尾巴。直角锐边、16×16 像素纹理、平涂光照。保留棕黄毛色、背部黑色鞍斑、白色额线 / 项圈 / 胸口 / 爪子、黑色方形眼睛、立方体鼻子和粉色方块舌头。不要毛发、曲线和渐变。
还原原片的每个动作：门廊旁站立、扎进雪里、探出头、连续向前跳、最后坐下。各部件作为刚性方块摆动、不变形；被雪遮住后几何形状和花纹保持一致。
保留下陷深度和雪的时间；雪的接触、飞溅、堆积和阴影贴合方块身体。
整个环境保持写实，所有运镜、构图、时长和原声不变。画面里只有一只柯基，全程都是体素风格。
```

### 首帧图：举火把的小松鼠

- 用 KovAPI 生成 · 首帧 · 5s · 720P · 16:9 · image_role=first_frame
- 按现价 $0.45
- 成片: https://img.kovapi.com/i/mp-f269ecb60e1d74782c2de498.mp4
- 参考图 1: https://img.kovapi.com/i/mp-d64947b3c34e4b794d80f3e9.png

首帧图和提示词出自可灵官方示例。成片从首帧开始，画幅跟首帧走（1284×724）。

提示词原文:

```text
A little squirrel peeks its head out of a hole, its eyes moving curiously as it gently lifts its head and looks from side to side. It then raises one front paw, slowly bringing a small torch up beside its face and holding it upright. The squirrel tilts its head slightly, blinks naturally, and briefly closes its eyes with a cheerful smile before opening them again to look ahead, its mouth slightly open. Its body remains largely in place, with subtle, natural changes in head movement, gaze, and facial expression. All movements flow smoothly and continuously.
```

阅读译文 (译文只供阅读；复制和套用都用原文):

```text
一只小松鼠从洞里探出头，眼睛好奇地转动，轻轻抬起头左右张望。接着它抬起一只前爪，慢慢把一支小火把举到脸旁并竖直拿着。松鼠微微歪头，自然地眨眼，开心地笑着短暂闭上眼睛，再睁开眼看向前方，嘴巴微张。身体基本保持不动，头部动作、视线和表情有细微而自然的变化。所有动作流畅连贯。
```

### 线稿定构图：月夜白莲（1080P）

- 用 KovAPI 生成 · 多图参考 · 5s · 1080P · 16:9
- 按现价 $0.625
- 成片: https://img.kovapi.com/i/mp-b53fc28252428235435a3aaa.mp4
- 参考图 1: https://img.kovapi.com/i/mp-42f358302f2d6b57eab3c152.png

一张构图线稿 + 官方示例提示词，1080P 5 秒。人物位置和白莲的大小、距离照着线稿，配乐是提示词里写的古筝与笛子。

提示词原文:

```text
Use @Image1 for composition. A moonlit night with sparse stars. A colossal white lotus glowing with moonlight blooms in the sky, radiating tiny white sparkles and golden flecks of light. The lotus dominates most of the frame, like an enormous luminous moon, yet remains visibly distant from the character. A breathtakingly beautiful woman in white traditional Chinese attire with a flowing golden gauze outer robe raises her hand and looks toward the distant lotus. The wind lifts her hem; two slender white hair ribbons drift in the air. Her hair, ribbons, and garments sway naturally in the breeze. The lotus gently pulses as if breathing. The camera pans to the right while the woman remains stationary; the resulting shift in depth and parallax lets the lotus subtly change as the camera moves. Background music: an elegant, celestial guzheng and flute duet.
```

阅读译文 (译文只供阅读；复制和套用都用原文):

```text
用 @Image1 定构图。月夜，星星稀疏。一朵发着月光的巨大白莲在空中绽放，散出细小的白色光点和金色光斑。白莲占据画面大部分，像一轮巨大的发光月亮，但与人物保持明显的距离。一位绝美的女子身穿白色中式传统服装，外披飘逸的金色纱袍，抬手望向远处的白莲。风吹起她的衣摆，两条细长的白色发带在空中飘动。头发、发带和衣服随风自然摆动。白莲轻轻起伏，像在呼吸。镜头向右平移，女子保持不动，纵深和视差的变化让白莲随镜头微微变化。背景音乐：典雅空灵的古筝与笛子二重奏。
```

### 一句话文生视频：吐槽 AI 的老人

- 用 KovAPI 生成 · 文生视频 · 5s · 720P · 16:9
- 按现价 $0.45
- 成片: https://img.kovapi.com/i/mp-ec48cef4797ea99593071f2f.mp4

提示词只有一句，画面、动作和声音都由模型补全。

提示词原文:

```text
An old man ranting about AI.
```

阅读译文 (译文只供阅读；复制和套用都用原文):

```text
一位老人在吐槽 AI。
```

### 21:9 宽银幕：日出海鸥

- 用 KovAPI 生成 · 文生视频 · 5s · 720P · 21:9
- 按现价 $0.45
- 成片: https://img.kovapi.com/i/mp-bd42af758ded2b0369adc7c1.mp4

同一条提示词设 `size: 21:9`，出片 1460×624。

提示词原文:

```text
Morning at the seaside, a seagull skims across the water, camera slowly pushes forward.
```

阅读译文 (译文只供阅读；复制和套用都用原文):

```text
清晨的海边，一只海鸥贴着水面掠过，镜头缓缓向前推进。
```

### 1:1 方屏：海鸥掠过海面

- 用 KovAPI 生成 · 文生视频 · 5s · 720P · 1:1
- 按现价 $0.45
- 成片: https://img.kovapi.com/i/mp-5c819317c71c770c5b324507.mp4

同一条提示词设 `size: 1:1`，出片 940×940。

提示词原文:

```text
Morning at the seaside, a seagull skims across the water, camera slowly pushes forward.
```

阅读译文 (译文只供阅读；复制和套用都用原文):

```text
清晨的海边，一只海鸥贴着水面掠过，镜头缓缓向前推进。
```

### 最短 3 秒：探头的小松鼠

- 用 KovAPI 生成 · 文生视频 · 3s · 720P · 16:9
- 按现价 $0.27
- 成片: https://img.kovapi.com/i/mp-d43a01aa4c772291039e5e73.mp4

时长最短可以设 3 秒，按 3 秒计费。

提示词原文:

```text
A little squirrel peeks its head out of a hole, its eyes moving curiously as it gently lifts its head and looks from side to side.
```

阅读译文 (译文只供阅读；复制和套用都用原文):

```text
一只小松鼠从洞里探出头，眼睛好奇地转动，轻轻抬起头左右张望。
```

## Kling 4.0 提示词怎么写

以可灵官方《[Kling 4.0 Video User Manual](https://kling.ai/document-api/api/usage-guide/kling-4-0)》和官方 API 发布说明里的示例为准：先点名素材、交代每个素材的用途，再写画面和动作，最后补镜头和声音；编辑视频时写清「改什么、保留什么」。下面的例句摘自本页案例的提示词（原文出自可灵官方示例）。

- **长片按镜头写时间轴**: 30 秒的片子先说清一共几个镜头、怎么切，再按秒写每个镜头发生什么。官方 30 秒示例按场景、参考分工、方位、首帧、镜头表、焦段、运镜、动作时间、物理、光线、声音、表演、风格、质量、约束 15 段来写。 — 巨龙原文：“SHOT 1 — 0.0–4.0s: roar and launch.SHOT 2 — 4.0–9.0s: high-speed pursuit toward the harbour.”
- **复刻时说清借什么、换什么**: 官方手册：照参考视频复刻时写明借用它的节奏、构图还是表现形式，替换哪些人物、商品或场景；参考视频的节奏和镜头结构越接近目标，效果越好。 — 狗狗换猫原文：“Replace the subject in @Video1 with @Image1. Keep everything else unchanged.”
- **用 @ 点名每个素材**: 图片、视频按上传顺序编号，逐个写明用途：定构图、定人物外观、参考动作，还是要被编辑的原片。 — 白莲原文：“Use @Image1 for composition.”
- **编辑三段式：原片、改动、保留**: 官方手册：编辑提示词由要编辑的视频、具体改动、必须保留的内容三部分组成，要在原视频上改时明确写「Edit」。 — 柯基原文：“Edit @Video1: replace only the Corgi with one rigid 3D voxel Corgi……Keep the entire environment photorealistic and all camera movement, framing, duration and original audio unchanged.”
- **动作写成连续的过程**: 首帧已经给了画面，提示词只写接下来发生什么：先做什么、再做什么，表情和视线怎么变。 — 松鼠原文：“It then raises one front paw, slowly bringing a small torch up beside its face……”
- **运镜和主体分开写**: 镜头怎么动、主体动不动分开交代，模型更容易做出纵深和视差。 — 白莲原文：“The camera pans to the right while the woman remains stationary.”
- **声音也写进去**: 成片总带声音。要什么配乐、台词就写出来；不要的字幕和背景音乐也要明确写出来。 — 白莲原文：“Background music: an elegant, celestial guzheng and flute duet.”

| 部分 | 作用 | 示例 |
| --- | --- | --- |
| 要编辑的视频 | 先说明在哪段视频上改，用 @Video1 点名。 | 原文：“Edit @Video1:” |
| 具体改动 | 只改什么、改成什么样：外形、材质、颜色逐条写，写清不要什么。 | 原文：“Use a box torso, cube head……No fur, curves or gradients.” |
| 动作对齐 | 把原片的关键动作按顺序列出来，要求逐个对上。 | 原文：“Match every original action: porch-side stance, plunge beneath snow, head reappearance……” |
| 保留内容 | 环境、运镜、构图、时长、原声逐项写「保持不变」。 | 原文：“Keep the entire environment photorealistic and all camera movement, framing, duration and original audio unchanged.” |

```text
【素材】@Image1 是主角外观参考；@Video1 是（动作 / 运镜）参考（没有就删掉这一行）。
【画面】（主体）在（地点）（做什么），（风格与质感）。
【动作】先（……），然后（……），最后（……）。
【镜头】（推 / 拉 / 摇 / 跟），主体（动 / 不动）。
【声音】（台词、环境声、配乐）；不需要时写 no background music / no subtitles。
```

## 如何在 KovAPI 上调用 Kling 4.0 API

1. **注册并创建 API Key** 登录 KovAPI，在控制台创建 Key；不用另外申请可灵的 API Key，同一把 Key 可以调用站内所有模型。
2. **在页面上方试提示词** 上传首帧、参考图或参考视频，选好时长、分辨率和画幅，提交前就能看到这一条的实时报价。
3. **提交异步生成任务** 用 `kling-4.0` 提交到 `POST /v1/videos/generations`，收到 HTTP 202 后保存任务号；不要重复提交。
4. **查询结果或接收 Webhook** 按任务号轮询，或提交时设置 `callback_url` 接收结果。成功后从 `data[0].url` 下载 MP4；成片保留 7 天，请及时保存。

### 最小请求示例

```bash
curl https://kovapi.com/v1/videos/generations \
  -H "Authorization: Bearer $KOVAPI_KEY" -H "Content-Type: application/json" \
  -d '{"model": "kling-4.0", "prompt": "...", "duration": 3, "resolution": "720P", "size": "16:9"}'
# -> HTTP 202 {"id": "..."}; poll:
curl https://kovapi.com/v1/videos/jobs/<id> -H "Authorization: Bearer $KOVAPI_KEY"
```

## 可灵 Kling 的演进

- 2024-06 · Kling: **可灵上线** 快手发布可灵（Kling）视频生成模型并开放公众使用。
- 2024-12 · Kling 1.6: **Kling 1.6** 画面质量和对提示词的理解继续提升。
- 2025-04 · Kling 2.0: **Kling 2.0** 新一代模型，动作和画面质量明显提升。
- 2026-02 · Kling 3.0: **Kling 3.0** 单条最长 15 秒，画面和声音一起生成。
- 2026-09-28 · Kling 4.0 Flash: **Kling 4.0 Flash · 先行预览** 可灵发布 Kling 4.0 和 Flash 版，Flash 先对会员开放预览。
- 2026-10-15 · Kling 4.0: **Kling 4.0 · 30 秒与视频编辑** 正式上线：单条最长 30 秒、立体声，最多 10 张图和 5 段视频作参考，可以直接编辑已有视频。

## Kling 4.0 vs Seedance 2.5、Veo 3.1 等视频模型：怎么选

| 型号 | 时长（秒） | 分辨率 | 参考 图 / 视频 / 音频 | 价格 | 适合 |
| --- | --- | --- | --- | --- | --- |
| Kling 4.0 (`kling-4.0`) | 3–30 | 720P / 1080P | 10/5/0 | $0.09/秒 | 要 30 秒多镜头短片、首帧 / 首尾帧控制起止画面、直接编辑或复刻现成视频时。 |
| Kling 4.0 Flash (`kling-4.0-flash`) | 3–20 | 720P | 10/5/0 | $0.06/秒 | 同样的写法，只要 720P、20 秒以内、想把单价压下来；没有首尾帧。 |
| Seedance 2.5 (`seedance-2.5`) | 4–30 | 480P / 720P / 1080P / 4K | 30/10/10 | $0.10/秒 | 要参考音频定音色、更多参考素材，或 4K 成片时。 |
| Veo 3.1 (`veo-3.1`) | 8 | 720P / 1080P | 3/0/0 | $0.20/条 | 固定时长、按条计费的短片。 |
| Wan 3.0 (`wan3.0-video`) | 4–30 | 480P / 720P / 1080P | 10/5/5 | $0.04/秒 | 需要用文档、网页生成视频，或想要 480P 低价档时。 |
| MiniMax H3 (`minimax-h3`) | 4–15 | 480P / 768P / 1080P | 9/3/3 | $0.015/秒 | 要 1080P 和首尾帧，参考模式可带参考音频和参考视频，15 秒以内。 |
| Gemini Omni 1.2 Flash (`gemini-omni-1.2-flash`) | 3–15 | 720P / 1080P / 4K | 3/0/0 | $0.035/秒 | 也能编辑视频的另一款模型，可以对比编辑效果。 |

要改现成视频，或要用首帧 / 首尾帧控制画面，选 Kling 4.0；同样的提示词想先打样，用 Kling 4.0 Flash，只改 `model`。需要参考音频的，选 Seedance 2.5。想看实际差别，见上方的同题对比。

## 组合规则与注意事项

- 首帧 / 首尾帧最多 2 张图，不能和参考视频同时用，成片画幅跟首帧走。[Kling 4.0 Flash](https://kovapi.com/zh/model/kling-4.0-flash) 没有首尾帧。
- 参考视频每段 3–30 秒、高度不低于 700 像素，最多 5 段、合计不超过 30 秒；同一个参考视频链接只计一次费用。
- 不收参考音频（传了提交即返回 400，不扣费）；成片固定带声音，不能关闭。需要参考音频定音色，可以用 [Seedance 2.5](https://kovapi.com/zh/model/seedance-2.5)。
- 可灵官方手册说明字幕和背景音乐默认不排除：不需要时在提示词里写「no subtitles」「no background music」。
- `prompt` 长度按可灵官方上限：英文最多 26,000 个字符，中文等其他文字最多 11,000 个字符，混排按比例折算，超出提交即返回 400、不扣费；超过 5,000 个字符时，时长需为 5–30 秒，且不能用首尾帧。
- 暂不提供 4K 和 HDR，只有 720P / 1080P。
- 提示词或素材没通过内容审核时，任务失败（错误码 `content_policy`），不扣费；原样重交通常还会被拒，请换掉相关内容。请确认你有权使用参考素材里的人物和品牌。

## 为什么在 KovAPI 调用 Kling 4.0

- **比可灵官方价低**: 720P 比可灵官方定价低 35%，1080P 低 40%；带参考视频沿用官方的计费算法，单价同样更低。
- **交付可灵原片**: 成片是可灵 API 的原始文件，带可灵的 C2PA 签名和 AIGC 标识，我们不转码、不压缩。
- **失败不扣费，自动重试**: 生成失败，预扣的费用全额退回；上游繁忙或出错时系统自动重试，不用自己写重试逻辑。
- **实测公开**: 本页案例都是我们 11 月 30 日、12 月 1 日按原参数实际生成的，每条标出费用；同题对比把 Seedance 2.5、Veo 3.1 也放在一起，好坏都写。
- **注册和付款都简单**: 邮箱或 Google、GitHub 注册，微信、银行卡、USDT 都能充值，按量扣费、没有月费；同一把 Key 还能调用站内的对话和生图模型。

## Kling 4.0 API 常见问题

### Kling 4.0 是什么？

快手可灵 2026 年 10 月正式发布的视频生成模型。在 KovAPI 用 `kling-4.0` 调用，支持文生视频、首帧 / 首尾帧、参考图和参考视频生成、视频编辑，成片自带声音，单条 3–30 秒。

### 有 Kling 4.0 API 吗？要申请可灵的 API Key 吗？

有。在 KovAPI 注册后创建一把 Key，就能用 `POST /v1/videos/generations` 调用 `kling-4.0`，不用另外申请可灵的 Key；同一把 Key 也能调用站内其他模型。

### Kling 4.0 API 多少钱？

按成片秒数计费：720P $0.09/秒、1080P $0.125/秒（可灵官方价 $0.14 / $0.21）。720P 10 秒就是 10 × $0.09。带参考视频的算法见下一题。

### 带参考视频、编辑视频怎么计费？

照可灵官方的算法：max(成片秒数 × 2, 成片秒数 + 参考视频秒数) × 带参考视频单价（720P $0.054/秒，为每秒单价的 60%）。例：成片 15 秒、参考视频 14.8 秒，按 30 秒计，共 $1.62。

### 能生成 30 秒的多镜头视频吗？

能。时长设 30 秒，在提示词里按镜头写好时间轴，可灵会自动分镜。本页的巨龙示例就是可灵官方的 30 秒、6 个镜头的提示词（7,182 字）一条生成的，720P $2.70。

### 提示词最长多少？

按可灵官方上限：英文最多 26,000 个字符，中文等其他文字最多 11,000 个字符，中英混排按比例折算，超出的请求提交时直接返回 400，不扣费。超过 5,000 个字符时，时长需在 5–30 秒之间，且不能用首尾帧。Kling 4.0 Flash 规则相同（时长 5–20 秒）。

### Kling 4.0 和 Seedance 2.5、Veo 3.1 比怎么样？

我们用同一条提示词各跑了 8 秒（见本页同题对比）：剁黄瓜那条 Veo 3.1 和 Kling 4.0 最贴「三刀」，Seedance 2.5 连着切了很多刀；滑板那条 Kling 4.0 和 Seedance 2.5 都越过了消防栓，Veo 3.1 在旁边落地。选型上，Kling 4.0 能做 30 秒、首尾帧和直接编辑视频；Seedance 2.5 能用参考音频定音色；Veo 3.1 固定 8 秒、按条计费。

### 首尾帧怎么用？

`images` 放 1–2 张图并设 `image_role: first_frame`：第 1 张作首帧，第 2 张作尾帧（只要首帧就传 1 张）。成片画幅跟首帧走，不能和参考视频同时用。Kling 4.0 Flash 没有首尾帧。

### 怎么编辑一段已有的视频？

把视频放进 `video_references`，提示词以「Edit @Video1」开头，写清改什么、保留什么，例如只换主体、保留动作、机位和原声。参考视频每段 3–30 秒、高度不低于 700 像素，最多 5 段、合计不超过 30 秒。

### Kling 4.0 和 Kling 4.0 Flash 有什么区别？

写法和参考方式相同。Flash 只有 720P、3–20 秒、参考视频合计不超过 20 秒，没有首尾帧，按秒单价更低。常见做法是先用 Flash 打样，定稿再用 Kling 4.0。

### 支持 4K 和 HDR 吗？

暂不支持，KovAPI 目前提供 720P 和 1080P。

### 多久能出片？

我们 11 月 30 日、12 月 1 日实测，5–30 秒的单大多 8–12 分钟出片，排队多时会更久。提交后按任务号轮询即可，不要重复提交；最长等 120 分钟，超时全额退款。

### 被内容审核拒了会扣费吗？

不会。提示词或素材没通过审核时任务失败（错误码 `content_policy`），预扣的费用全额退回；原样重交通常还会被拒，请换掉相关内容。

## 给 AI 的补充说明

- 型号 id 为 `kling-4.0`，`POST /v1/videos/generations` 提交，返回 HTTP 202 和任务号 `id`；用 `GET /v1/videos/jobs/` 加任务号查询。
- `duration` 3–30 整数秒；`resolution` 720P / 1080P（默认 720P）；`size` 可选 16:9 / 9:16 / 1:1 / 21:9。
- 首帧 / 首尾帧：`images` 1–2 张 + `image_role: first_frame`，不能和 `video_references` 同用；其余情况图片按参考使用，最多 10 张，提示词用 `@Image1` 点名。
- `video_references` 最多 5 段，每段 3–30 秒、高度 ≥700 像素，合计 ≤30 秒；编辑视频时提示词以 `Edit @Video1` 开头。
- 不收 `audio_reference`（400）；成片总带音轨。`prompt` 按可灵官方上限：英文 ≤26,000、其他文字 ≤11,000 个字符（混排按比例）；超过 5,000 时只能 5–30 秒、不能用首尾帧。
- 计费：不带参考视频 = 成片秒数 × $0.09/秒（720P）；带参考视频 = max(2 × 成片秒数, 成片秒数 + 参考视频秒数) × $0.054/秒（720P）。

## 延伸阅读

- [Kling 4.0 API 调用文档](https://docs.kovapi.com/zh/kling-4.0): 请求字段、首尾帧和参考视频写法、计费、返回结果和完整代码示例。
- [Kling 4.0 Flash](https://kovapi.com/zh/model/kling-4.0-flash): 同一套写法的 Flash 版：720P、3–20 秒，单价更低。
- [异步任务指南](https://docs.kovapi.com/zh/guide/async-jobs): 任务状态、排队字段与结果查询。
- [Webhook 接入指南](https://docs.kovapi.com/zh/webhooks): 接收任务结果，并按文档验证通知签名。
