Bearer token authentication. Use your CometAPI key.
ヘッダー
Content-Type
string
Content type of the request body.
ボディ
application/json
prompt
string
必須
Text prompt describing the desired video. Maximum length is 2,500 characters. When you send image_list, reference the image with <<<image_1>>>.
model_name
string
Optional model ID for this Kling Omni video request. Omit this field to use the route default.
image_list
object[]
Optional first-frame image reference for image-referenced Omni generation.
Show child attributes
sound
enum<string>
デフォルト:off
Whether to generate audio with the video. Use on or off.
利用可能なオプション:
on,
off
mode
enum<string>
Generation mode. Use std for standard generation or pro when the selected model supports the higher-quality mode.
利用可能なオプション:
std,
pro
aspect_ratio
enum<string>
Aspect ratio request for beta Kling Omni generation. The endpoint does not expose an exact size field; a 16:9 text-to-video request can render as 1920x1080.
利用可能なオプション:
16:9,
9:16,
1:1
duration
enum<string>
デフォルト:5
Requested output length for text-to-video and first-frame image-reference workflows. Use 5 or 10 as a string.
利用可能なオプション:
5,
10
watermark_info
object
Watermark options. When enabled is true, the task can return watermarked result URLs in addition to original result URLs.
Show child attributes
callback_url
string<uri>
Webhook URL for task status notifications. The server sends a callback when the task status changes.
external_task_id
string
Optional user-defined task ID for your own tracking. Does not replace the system-generated task ID. Must be unique per account.
レスポンス
200 - application/json
Success
code
integer
必須
Response code. 0 means the task request was accepted.
message
string
必須
Response message.
data
object
必須
Show child attributes
request_id
string
Request identifier returned by CometAPI when present.
最終更新日 2026年7月2日
⌘I
curl https://api.cometapi.com/kling/v1/videos/omni-video \ -H "Authorization: Bearer $COMETAPI_KEY" \ -H "Content-Type: application/json" \ -d '{ "model_name": "kling-v3-omni", "prompt": "A paper boat drifts across a calm pond at sunrise.", "mode": "std", "aspect_ratio": "16:9", "duration": "5", "sound": "off" }'