视频Kuaishou新增
Kling 4.0
具有逐镜头提示的多模态视频,最长30秒
model: "kling-4"
模式
一个模型ID,支持下列所有模式。您发送的字段决定模式,价格随模式而定。
| 模式 | 选择方式 | 典型价格 |
|---|---|---|
| 文本生成视频 | prompt请求示例{
"model": "kling-4",
"input": {
"prompt": "a lighthouse at dusk"
}
} | $0.785 |
| 图像生成视频 | image_url请求示例{
"model": "kling-4",
"input": {
"prompt": "a lighthouse at dusk",
"image_url": "https://example.com/image.jpg"
}
} | $0.785 |
| 首尾帧 | image_urlend_image_url请求示例{
"model": "kling-4",
"input": {
"prompt": "a lighthouse at dusk",
"image_url": "https://example.com/image.jpg",
"end_image_url": "https://example.com/image-2.jpg"
}
} | $0.785 |
| 参考生成视频 | reference_imagesvideo_urls请求示例{
"model": "kling-4",
"input": {
"prompt": "a lighthouse at dusk",
"reference_images": [
"https://example.com/image.jpg",
"https://example.com/image-2.jpg"
]
}
} | $0.785 |
输入
必需
Prompt
可选
First frame to animate (image-to-video). Leave it out for text-to-video.
可选
Reference images (https URLs). Two or more images in total (with image_url) make a reference video: the subjects and style are carried into a new scene rather than animated from the first frame.
可选
Last frame (https URL). Sent with image_url, the video moves from the first frame to this one.
可选
Reference videos (https URLs) for motion or style. Selects reference video.
可选
5
Duration (seconds)
可选
Aspect Ratio
结果
示例输出
该模型的真实结果。运行它可在此处查看您的输出。
curl https://arteza.ai/api/v1/generations \
-H "Authorization: Bearer $ARTEZA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4",
"input": {
"prompt": "One continuous shot tracking sideways along the lip of a stone weir in heavy flow, the sheet of water folding over the edge in a smooth glassy curve before breaking into white turbulence below, spray hanging in cold morning light, wet dark granite and moss at the margins, the camera gliding at a steady pace the whole way, every strand of the falling water resolved and stable"
}
}'使用 Kling 4.0 创建
相关模型
视频新增
Black Forest Labs
FLUX 3
最多 20 秒的 1080p AI 视频,支持原生音频
12.8 点数或按成本价 $0.42
视频新增
Gemini Omni Flash
具有原生同步音频的多模态AI视频
15.4 点数或按成本价 $1.02
视频新增
Gemini Omni Flash 1.1
支持原生音频和视频编辑的多模态4K AI视频
12.1 点数或按成本价 $0.24
视频新增
MiniMax
MiniMax H3
支持4K的参考驱动AI视频
9.8 点数或按成本价 $0.25
视频新增
MiniMax
MiniMax H3 Max
最快的高质量AI视频,768P秒级生成
6 点数或按成本价 $0.25
视频新增
ByteDance
Seedance 2.0
具有原生音频合成的电影级AI视频
22.8 点数或按成本价 $1.51