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.

使用場景

廣告及社交內容

由文字 brief 生成產品發佈短片同短版廣告,將製作時間由幾星期縮短到幾個鐘。

電子學習

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

創作者流程

直接由 prompt 為社交平台製作易爆紅的短內容。

FAQ

關於 Kling o1 的常見問題

點樣選擇 kling-o1?

傳入 quickstart 顯示嘅 model ID。

這個 variant 的 rate limit 係多少?

每個 key 的 rate limit 會按使用層級而定。請查看定價頁了解最新限制。

之後可以切換 variant 嗎?

可以——variant 只係一個旗標。只要更改 model 參數就可以切換。

支援 streaming 嗎?

在可用 streaming 的情況下,RunAPI 會端到端串流。

我應該在邊度回報品質問題?

可以在公開 GitHub repo 開 issue,或者電郵支援團隊。

正在與團隊一起建立?

我們可以協助企業設定、整合和技術問題。

聯絡我們