Documentation Index
Fetch the complete documentation index at: https://api.xcompute.us/llms.txt
Use this file to discover all available pages before exploring further.
kling-v3 - 可灵 v3(推荐)"一只金毛犬在沙滩上奔跑,日落,电影质感""模糊, 低画质, 变形"std - 标准模式(720P)pro - 专业模式(1080P)4k - 4K 模式std5
视频时长(秒)取值范围:3-15(最短 3 秒,最长 15 秒)⚠️ 注意: 必须输入纯数字(如 6),不要加引号,否则会报错16:9 - 横屏9:16 - 竖屏1:1 - 方形16:9["https://example.com/first.jpg"]truefalsecustomize(自定义)/ intelligence(智能)。当 multi_shot=true 时必填。index、prompt、duration 定义分镜序号及提示词、时长。multi_shot=true 且 shot_type=customize 时当前参数必填。name、description、element_input_urlsname、description、element_input_urls 必填element_input_urls:每个主体至少 2 张、最多 4 张(第 1 张正面图 + 其余参考图)prompt 中通过 @name 引用,如:"@element_dog 和 @element_cat 在草地上追逐玩耍"mode=4k 在本页模型 kling-v3 可用image_urls 最多 2 张(1 张首帧,2 张首尾帧)last_frame)会报错,必须配首帧multi_shot=true 时,顶层 prompt 可省略multi_prompt 最多 6 个分镜,index 从 1 连续递增| 类型 | 功能 | std 5s | std 10s | std 15s | pro 5s | pro 10s |
|---|---|---|---|---|---|---|
| 文生视频 | 视频生成 | ✅ | ✅ | ✅ | ✅ | ✅ |
| 图生视频 | 视频生成 | ✅ | ✅ | ✅ | ✅ | ✅ |
| 图生视频 | 首帧 | ✅ | ✅ | ✅ | ✅ | ✅ |
| 图生视频 | 尾帧 | ✅ | ✅ | ✅ | ✅ | ✅ |
image_urls 自动判断生成模式(文生 / 图生)。
| 参数 | 文生视频 | 图生视频 |
|---|---|---|
prompt | ✅ 必填 | ✅ 建议填写 |
image_urls | ❌ 不传 | ✅ 可选(1-2 张) |
negative_prompt | ✅ 可选 | ✅ 可选 |
mode | ✅ 可选 | ✅ 可选 |
duration | ✅ 可选(3-15) | ✅ 可选(3-15) |
aspect_ratio | ✅ 可选 | ✅ 可选(图生可能受输入图影响) |
watermark | ✅ 可选 | ✅ 可选 |
audio | ✅ 可选 | ✅ 可选 |
task_id。使用 获取任务状态 接口查询生成进度和结果。