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-omni - 可灵 v3 Omni(统一接口)<<<image_N>>> 语法引用 image_urls 中的图片,N 从 1 开始。示例:"让<<<image_1>>>中的人物向镜头挥手"<<<image_N>>> 引用,系统会自动在 prompt 前添加 <<<image_1>>>。std - 标准模式(720P)pro - 高质量模式(1080P)4k - 4K 超清模式std5
视频时长(秒)取值范围:3-15(最短 3 秒,最长 15 秒)⚠️ 注意: 必须输入纯数字(如 6),不要加引号,否则会报错16:9 - 横屏9:16 - 竖屏1:1 - 方形16:9<<<image_N>>> 引用对应位置的图片(N 从 1 开始)示例:["https://example.com/photo.jpg"]{ "url": "...", "role": "..." }first_frame:首帧last_frame:尾帧reference:参考图refer_type 区分类型:base:待编辑视频(默认)feature:特征参考视频keep_original_sound 控制是否保留原声:no:不保留(默认)yes:保留原声customize(自定义)/ intelligence(智能)。当 multi_shot=true 时,该参数必填。{ index, prompt, duration }。duration 必须为整数,且 >= 1duration 之和必须等于顶层 durationindex 必须从 1 开始连续递增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 在草地上追逐玩耍"image_urls 与 image_with_roles 二选一mode=4k 在 kling-v3-omni 可用last_frame)会报错,必须配首帧video_list.refer_type=base(或缺省)时不允许首尾帧video_list 时,audio 参数会被忽略video_list 最多 1 段multi_prompt 最多 6 个分镜,index 从 1 连续递增<<<image_N>>> 语法在提示词中引用图片,提供统一的文生视频 / 图生视频体验:
| 语法 | 说明 |
|---|---|
<<<image_1>>> | 引用 image_urls 数组中的第 1 张图片 |
<<<image_2>>> | 引用 image_urls 数组中的第 2 张图片 |
image_urls,但提示词中未出现任何 <<<image_N>>>,系统会自动在提示词前添加 <<<image_1>>>。系统会自动在 prompt 前添加<<<image_1>>>,等效于"<<<image_1>>>人物缓缓转头微笑"。
注意:audio与video_list互相排斥。当video_list有值时,不需要参数audio。
task_id。使用 获取任务状态 接口查询生成进度和结果。