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 相關內容