Kling V3

Kling V3 是一款綜合型影片模型,支援文字、圖片、首尾幀、動作控制、數位人與生成音訊,同時具備圖片生成與編輯能力。它適合從腳本到成片的多階段創作、角色導向內容、帶聲音的影片、可控動作鏡頭,以及需要圖片與影片協同生產的工作流程。你可以在試驗場中依照任務選擇輸入與輸出方式,調整時長、解析度、參考素材與音訊選項,在正式串接前比較畫面品質、動作控制、聲音效果、速度與成本。具體可用能力與參數範圍以目前頁面為準。

A stunt performer in red tracked by a motion-control camera on a film stage
模型識別碼
kling-v3
供應商
Kling
API 端點
/v1/videos
計費
0.117647058824
更新時間
2026-08-13

能力

  • 透過目前公開任務端點生成影片
  • 即時 Schema 提供時支援圖片、參考素材、時長或解析度控制
  • 目前參數包括 prompt, operation, resolution

限制

  • 模型能力與參數範圍可能更新,正式環境應鎖定並驗證使用的參數組合
  • 未出現在即時 Request Schema 中的參數不應假定可用
  • 非同步任務需要處理輪詢、失敗、逾時與內容安全狀態

典型情境

  • 產品原型與自動化內容工作流程
  • 批次媒體生成與程式化創作
  • 需要統一驗證、計費與呼叫記錄的多模型應用

價格與計費範例

  • PRO digital human by audio duration | 0.117647058824 | input_audio_seconds | {"input_audio_seconds":{"gt":0},"operation":"video.avatar","resolution_tier":"pro"}
  • PRO digital human voice estimate (5 seconds) | 0.588235294118 | output_videos | {"input_audio_seconds":0,"operation":"video.avatar","resolution_tier":"pro"}
  • STD digital human by audio duration | 0.058823529412 | input_audio_seconds | {"input_audio_seconds":{"gt":0},"operation":"video.avatar","resolution_tier":"std"}
  • STD digital human voice estimate (5 seconds) | 0.294117647059 | output_videos | {"input_audio_seconds":0,"operation":"video.avatar","resolution_tier":"std"}
  • Subject image completion | 0.073529411765 | output_images | {"operation":"image.complete_subject"}
  • Image generation, editing, or outpainting | 0.029411764706 | output_images | {"operation":["image.generate","image.edit","image.outpaint"]}
  • PRO motion control | 0.176470588235 | input_video_seconds | {"operation":"video.motion_control","resolution_tier":"pro"}
  • STD motion control | 0.132352941176 | input_video_seconds | {"operation":"video.motion_control","resolution_tier":"std"}
  • PRO video output with audio | 0.176470588235 | output_video_seconds | {"generated_audio":true,"operation":["video.generate","video.image_to_video","video.reference_to_video"],"resolution_tier":"pro"}
  • PRO silent video output | 0.117647058824 | output_video_seconds | {"generated_audio":false,"operation":["video.generate","video.image_to_video","video.reference_to_video"],"resolution_tier":"pro"}
  • STD video output with audio | 0.132352941176 | output_video_seconds | {"generated_audio":true,"operation":["video.generate","video.image_to_video","video.reference_to_video"],"resolution_tier":"std"}
  • STD silent video output | 0.088235294118 | output_video_seconds | {"generated_audio":false,"operation":["video.generate","video.image_to_video","video.reference_to_video"],"resolution_tier":"std"}

請求參數

參數類型必填預設值可選值
modelstring
prompttextarea
operationselecttext_to_videotext_to_video, image_to_video, first_last_frame, motion_control, avatar
resolutionselectstdstd, pro
durationinteger5
aspect_ratioselect16:916:9, 9:16, 1:1
soundselectoffoff, on
imageasset_list
last_imageasset_list
watermarkbooleanfalse

API 串接範例

cURL

curl -X POST 'https://api.uniall.ai/v1/videos' \
  -H 'Authorization: Bearer $UNIALL_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"aspect_ratio":"16:9","duration":5,"model":"kling-v3","operation":"text_to_video","prompt":"Describe the output you want","resolution":"std","sound":"off","watermark":false}'

Python

import json
import requests

payload = json.loads(r'''{"aspect_ratio":"16:9","duration":5,"model":"kling-v3","operation":"text_to_video","prompt":"Describe the output you want","resolution":"std","sound":"off","watermark":false}''')
response = requests.post(
    "https://api.uniall.ai/v1/videos",
    headers={"Authorization": "Bearer " + UNIALL_API_KEY},
    json=payload,
)
response.raise_for_status()
result = response.json()

JavaScript

const response = await fetch("https://api.uniall.ai/v1/videos", {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.UNIALL_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({"aspect_ratio":"16:9","duration":5,"model":"kling-v3","operation":"text_to_video","prompt":"Describe the output you want","resolution":"std","sound":"off","watermark":false}),
});

if (!response.ok) throw new Error(`HTTP ${response.status}`);
const result = await response.json();

常見問題

kling-v3 的 API 端點是甚麼?

端點會依目前模型能力與 Request Schema 自動解析,並顯示於本頁 API 區域。

kling-v3 如何計費?

價格區域直接讀取目前的結構化計費設定;改價後不需要重寫本文。

可以使用 Python 串接嗎?

可以。本頁範例使用目前端點與原始模型程式碼識別碼。

是否提供 JavaScript 與 cURL 範例?

提供。三種範例共用同一個即時請求結構。

支援哪些解析度、時長或參考圖參數?

支援範圍取決於目前 Request Schema,未顯示的欄位不應假定可用。

正式環境串接時要注意甚麼?

請驗證參數、逾時、錯誤處理與非同步影片任務狀態,並在模型更新後重新執行小範圍測試。