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,未显示的字段不应假定可用。

生产环境接入时要注意什么?

请验证参数、超时、错误处理和异步视频任务状态,并在模型更新后重新运行小范围测试。