curl 'https://api.kerox.ai/v1/tasks' \
-H "Authorization: Bearer $KEROX_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary '{
"model": "kuaishou/kling-4.0-flash",
"input": {
"prompt": "a red fox running through fresh snow, cinematic lighting",
"resolution": "720p",
"duration": 5,
"aspect_ratio": "16:9"
}
}'响应示例
{
"id": "task_01JD8X9B4Q2M7T8N3K5P6R1S0V",
"object": "task",
"model": "kuaishou/kling-4.0-flash",
"status": "processing"
}可传入的参数
参数一律用统一格式的名字,各模型通用。
| 参数名 | 类型 | 必填 | 默认值 | 可选值 | 作用 |
|---|---|---|---|---|---|
prompt | string | 必填 | — | — | 提示词 |
keep_original_sound | boolean | — | — | — | 保留参考视频原声 |
images | string | string[] | — | — | — | 参考图 |
videos | string | string[] | — | — | — | 参考视频 |
first_frame | string | — | — | — | 首帧 |
last_frame | string | — | — | — | 尾帧 |
aspect_ratio | string | — | — | 16:9, 9:16, 1:1, 21:9, auto | 画面比例 |
resolution | string | — | "720p" | 720p | 分辨率 |
暂不支持: watermark
定价
5 秒 · 720p
$0.4230
$0.4700比官方价低 10%10 秒 · 720p
$0.8460
$0.9400比官方价低 10%15 秒 · 720p
$1.2690
$1.4100比官方价低 10%
常见用法参考价
| 片段 | 官方价 | Kerox | 比官方价低 |
|---|---|---|---|
| 5 秒 · 720p | $0.4230 | 10% | |
| 10 秒 · 720p | $0.8460 | 10% | |
| 15 秒 · 720p | $1.2690 | 10% | |
| $10 能做多少 | 118 秒 720p 视频 | ||
| 档位 | 官方价 | Kerox | 带参考视频 |
|---|---|---|---|
| 720p | $0.0846 | $0.0567 |
带参考视频时,计费秒数为输出秒数加上参考和输出中较长的时长。对应单价为 720p $0.0567/s。
提交任务前可用 POST /v1/estimate 估价。
Kling 4.0 Flash 生成的作品

A single red paper sailboat glides across a shallow midnight-blue reflecting pool, ripples catching warm lantern light. Macro cinematography, handmade paper texture, soft shadows, no lettering.

Recreate the flowing movement of the paper sailboat in a silver-blue moonlit harbor.
关于 Kling 4.0 Flash
用提示词、首尾帧或参考素材生成 3–20 秒视频。
常见问题
Kling 4.0 Flash 多少钱?
Kerox 上的 Kling 4.0 Flash $0.0846 / 秒 起,比官方价低 10%。按次付费,生成失败不扣费。每一档的价格见本页的价格表。
Kling 4.0 Flash 有 API 吗?
有。用模型 ID kuaishou/kling-4.0-flash 向 Kerox 的接口提交任务,然后查询任务,或等 webhook 通知。Kling 4.0 Flash 的 API 文档里有全部参数和代码示例。
不写代码能在网页上直接用 Kling 4.0 Flash 吗?
可以。在本页生成面板选择参数即可查看价格,登录后即可生成。 在线体验
用 Kling 4.0 Flash 需要订阅吗?
不需要。没有套餐,也没有月费。$5 起充,用多少付多少。


