Kuaishou

Kling o1

Video

支援圖片與影片參考的全能影片生成

起價 $0.080 / second Kling o1 API reference →
模型健康狀態 資料不足
curl -X POST https://runapi.ai/api/v1/kling/image_to_video \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-o1",
  "image_url": "https://cdn.runapi.ai/public/samples/image.jpg",
  "prompt": "Create a 10-second video of a person walking through an autumn forest, leaves falling, cinematic camera pan."
}'
https://runapi.ai 2 endpoints
Playground

試用 Kling o1

選擇任一模型,幾秒內即可開始生成。

立即試用模型

選擇任一模型,幾秒內即可開始生成。

模型
Mode
預估: $0.07 / second
生成

請登入以使用 RunAPI 生成。

規格

技術細節

提供者 Kuaishou
模型 ID kling-o1
模態 Video
任務類型 Asynchronous
API 端點 /api/v1/kling/text_to_video, /api/v1/kling/image_to_video
計費單位 second
輸入參數 aspect_ratio, callback_url, duration_seconds, enable_sound, first_frame_image_url, last_frame_image_url, mode, model, preserve_reference_video_audio, prompt, reference_image_urls, reference_video_type, reference_video_url
最大時長 5s
長寬比 16:9, 9:16, 1:1
目錄狀態 可直接上線
使用方式

3 個步驟使用此模型

  1. 取得 API 金鑰

    免費註冊後,從控制台建立 kling-o1 的 API 金鑰。

  2. 傳送請求

    向 /api/v1/kling/image_to_video 傳送 POST 請求,並傳入 kling-o1 模型 ID 與參數。

  3. 取得結果

    輪詢工作或依照回呼取得已完成的 kling-o1 結果。

此模型提供的功能

彈性參數

可設定 11 個已記錄的參數,包括 aspect_ratio, duration_seconds, enable_sound, first_frame_image_url, last_frame_image_url。

Endpoint 覆蓋範圍

公開 2 個公共 endpoint:text_to_video, image_to_video。

Webhook 傳送

非同步任務接受回呼 URL 以接收完成通知。

用量計費

依 second 計量,無需訂閱。

Kling o1 價格

API endpoint
解析度
時長
價格
text_to_video
暫無資料
second
$0.05-$0.08 / second
  • Mode: pro: $0.07 / second
  • Mode: std: $0.05 / second
image_to_video
暫無資料
second
$0.05-$0.08 / second
  • Mode: pro: $0.07 / second
  • Mode: std: $0.05 / second
API 參考

端點規格

端點
POST /api/v1/kling/image_to_video
模型 ID
kling-o1
工作類型
text_to_video, image_to_video
最長時長
5 秒
解析度
暫無資料
長寬比
16:9, 9:16, 1:1
輸出格式
暫無資料
平均生成時間
暫無資料

請求參數

mode

選填 string

Generation mode. (std, pro)

prompt

必填 string

Video description; reference media with matching numbered markers.

aspect_ratio

選填 string

Output aspect ratio. (16:9, 9:16, 1:1)

callback_url

選填 string

Webhook URL for async notifications.

enable_sound

選填 boolean

Sound generation must remain disabled.

duration_seconds

選填 integer

Duration in seconds. (5)

reference_video_url

選填 string

Public HTTP(S) MP4 or MOV reference video URL; cannot be combined with last_frame_image_url.

last_frame_image_url

選填 string

Public HTTP(S) JPG, JPEG, or PNG final-frame image URL; cannot be combined with reference_image_urls or reference_video_url.

reference_image_urls

選填 array

Ordered public HTTP(S) JPG, JPEG, or PNG reference image URLs; cannot be combined with last_frame_image_url.

reference_video_type

選填 string

Use the video as a base edit or feature reference. (base, feature)

first_frame_image_url

必填 string

Public HTTP(S) JPG, JPEG, or PNG first-frame image URL.

preserve_reference_video_audio

選填 boolean

Preserve the reference video's original audio.

使用情境

廣告與社群內容

根據文字簡報生成產品上市短片與短影音廣告,將製作時間從數週縮短到數小時。

線上學習

無需攝影機或團隊,即可大規模將課程腳本轉為動畫解說影片。

創作者工作流程

直接從 prompt 產生適合社群平台的爆紅短影音內容。

FAQ

關於 Kling o1 的常見問題

如何選擇 kling-o1?

傳入 quickstart 顯示的 model ID。

這個 variant 的速率限制是多少?

每個金鑰的速率限制會依使用方案而調整。請查看定價頁面以了解目前限制。

之後可以切換 variant 嗎?

可以——variant 只是旗標。只要變更 model 參數即可切換。

它支援串流嗎?

只要支援串流,RunAPI 就會端到端串流。

我該在哪裡回報品質問題?

請在公開 GitHub repo 提交 issue,或寄信給支援。

正在與團隊一起打造?

我們可以協助企業接入、整合與技術問題。

聯絡我們