Kling 4.0 Omni
Model ID
Put this value in the request body's `model` field — not the display name above.
by kuaishou · Kuaishou Kling 4.0 Omni video generation (asynchronous task) with multi-image reference. Integer durations of 3-30 seconds, 720P / 1080P / 2K / 4K, aspect ratios 16:9 / 9:16 / 1:1 / 21:9, with native audio.
Quick start
POST /v1/videos/generationshttps://qd.zsopc.com/v1curl https://qd.zsopc.com/v1/videos/generations \
-H "Authorization: Bearer sk-gpushare-xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"model": "tvod-kling-video-4.0-omni",
"content": [
{"type": "text", "text": "海边日落,无人机航拍视角 --ratio 16:9"}
],
"duration": 5
}'
# 返回 {"id": "...", "status": "queued"}
# 图生视频:content 里追加 {"type":"image_url","image_url":{"url":"https://..."}}
# ⚠️ duration 缺省按 12 秒预扣,结算按实际时长 —— 建议显式传curl https://qd.zsopc.com/v1/videos/generations/$TASK_ID \
-H "Authorization: Bearer sk-gpushare-xxxxxxxx"
# status: queued -> running -> succeeded / failed / expired / cancelled
# 建议 5-10 秒轮询一次。轮询免费。This is an async task: submit for a task ID, then poll until it settles. Polling itself is free.
Pricing
Billed per second of delivered video; tiered SKUs use the rate for the resolution actually delivered.
- Rates
- per second720p54Credits1080p72Credits2k90Credits4k180Credits
- Settlement
- Pre-authorize on submit (by requested length) → settle on actual length → refund the difference
- Unit price × your requested `duration` is pre-authorized on submit, settled against the actual delivered length with the difference refunded; failed or expired tasks are refunded in full.
- With no `duration`, 12 seconds is pre-authorized — pass it explicitly so less of your balance is held.
- Failed or expired tasks are refunded in full.
- Polling task status is free and does not count toward usage.
- All your API keys share one balance; when it runs out the API returns HTTP 402 `quota_exceeded`.
Sign in and any personal discount on your account will show up here. Sign in
Capabilities & specs
- Category
- Video generation
- Endpoint family
- Video generation (Videos)
- Released
- 2026-10-24
- License
- Closed source
Try it
Models like this bill for real per image / per second / per call and are mostly async tasks, so there is no one-click test here. Use the sample code above, or generate in the matching workbench (which has a parameter panel and a cost estimate).
Open the workbenchCommon errors
404 model_not_foundYou passed the display name instead of the model ID.✗ Kling 4.0 Omni→✓ tvod-kling-video-4.0-omni
→ Copy the Model ID at the top of this page
402 quota_exceededInsufficient account balance. All your API keys share one balance.
401 / 403The API key is invalid, or it has a model allowlist that doesn't include this ID.
→ Check the key's status and allowed models
400 invalid_request`resolution` is required on Lite (`-lite`) SKUs and only accepts 720p / 1080p; anything else also returns 400.
→ Check your request body against the sample code above