kling/o3/reference-to-video51 积分起 / 5 秒视频· 参考生视频

Kling O3,也叫 Kling 3.0 Omni,是可灵最灵活的视频模型。它可以根据一段话写出场景、让你的首帧动起来、用最多七张参考照片搭一个镜头,或者编辑一段已有视频,还可选配声音,并自动在镜头之间切换。

在 POST /jobs/createTask 里把模型名写成 kling/o3/reference-to-video 即可调用,51 积分/ 5 秒视频起(US$0.51)。新账户送 30 积分,可以先在 Playground 里免费试。

  • 生成视频
  • 图生视频
  • 参考生视频
  • 编辑视频
  • 最高 4K
  • 3–15 秒
  • 自带声音
  • 首尾帧
  • 最多 7 张参考图
  • 3 种画幅

这份指南暂时只有英文。 →

请求参数

参数必填说明
aspect_ratio否画面形状:横版、方形或竖版。 16:9 · 9:16 · 1:1 · 默认值: 16:9
duration_seconds否视频时长,按秒计费。 ≥ 3 · ≤ 15 · 默认值: 5
elements否One named subject built from 2 to 4 images of the same character or object. Write @name in the prompt where it should appear.
generate_audio否加上和画面匹配的声音:人声、环境音和音效。 默认值: false
keep_original_audio否Keep the reference video's own sound in the result. Only matters when a reference video is given. 默认值: true
multi_prompt否Shot list for shot_type customize: one entry per shot, in order, each with its own prompt and length in seconds. The lengths must add up to duration_seconds.
prompt是Say who and what each reference is (<<<image_1>>>, <<<image_2>>> and so on) and describe the shot they should produce.
reference_image_urls是希望结果保留的人物、服装或场景的参考图。
reference_video_urls否希望结果跟随其动作、运镜或风格的参考视频。
resolution否输出尺寸。越大越清晰,价格也越高。 720p · 1080p · 4k · 默认值: 720p
shot_type否single keeps one continuous shot; multi lets the model cut the prompt into several shots on its own; customize follows the shot list you give in multi_prompt. single · multi · customize · 默认值: single

价格

价格以积分计,和网站上用的是同一种积分(1 积分 = $0.01)。任务受理时先冻结积分,完成后按实际费用结算;失败的任务会退还。

选项积分 /秒≈ 美元
generate_audio false · resolution 720p10.08US$0.10
generate_audio false · resolution 1080p13.44US$0.13
generate_audio true · resolution 720p13.44US$0.13
generate_audio false · resolution 720p · with_video true15.12US$0.15
generate_audio true · resolution 1080p16.8US$0.17
generate_audio false · resolution 1080p · with_video true20.16US$0.20
generate_audio false · resolution 4K62.85US$0.63
generate_audio true · resolution 4K62.85US$0.63

每个任务按整数积分向上取整,所以最低档跑一次是 51 积分/ 5 秒视频(US$0.51)。

想在运行前知道确切金额,把同样的请求体发到 POST /jobs/quote 即可。

API 快速上手

三步调用 Kling O3 API

  1. 创建 API 密钥. 登录 PopNow,在 API 控制台创建密钥。密钥以 sk-popnow- 开头,和网站共用同一份积分。
  2. 发送请求. 向 POST /jobs/createTask 发请求,model 填 kling/o3/reference-to-video,input 按参数表填写。响应会立刻返回任务 ID。
  3. 取回结果. 用任务 ID 轮询 GET /jobs/recordInfo,或者传 callBackUrl,结果会推送到这个地址。任务成功后下载输出链接。
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "kling/o3/reference-to-video",
  "input": {
    "prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
    "reference_image_urls": [
      "https://media.popnow.ai/influencer/examples/ava.webp"
    ],
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration_seconds": 5,
    "shot_type": "single"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

请把提示词和链接换成你自己的。API 页签里有响应、轮询和回调的参考。

Kling O3 API 常见问题

Kling O3 API 怎么收费?

Kling O3:最便宜的任务是参考生视频,51 积分(US$0.51)/ 5 秒视频起。各选项价格:false · 720p 10.08 积分/秒、false · 1080p 13.44 积分/秒、true · 720p 13.44 积分/秒、false · 720p · true 15.12 积分/秒。积分和网站通用(1 积分 = $0.01),新账号赠送 30 积分,失败的任务会退还。

Kling O3 在 API 里的调用名是什么?

在 POST /jobs/createTask 的 model 字段里填 生成视频用 kling/o3/text-to-video;图生视频用 kling/o3/image-to-video;参考生视频用 kling/o3/reference-to-video;编辑视频用 kling/o3/video-edit。

Kling O3 API 有哪些限制?

视频时长:3–15 s;分辨率:720p · 1080p · 4K;画面比例:16:9 · 9:16 · 1:1;参考图:7;参考视频:1。超出这些限制的请求会在扣费之前被拒绝。

不写代码能试 Kling O3 吗?

可以。Playground 用你的 PopNow 积分运行 Kling O3,不需要 API 密钥,每次运行都会给出对应的代码。

全部 Kling 模型

要一个精致的单镜头,用首尾帧或动作控制,选 Kling 3.0。需要参考照片、视频编辑或把多种模式放在一处时,O3 更合适。

关于 Kling O3 的更多内容