CQTAI
Kling · Video

Kling · Introduction

Kling video models (3.0 Turbo / 3.0 Omni / 3.0 / O1 / 2.6 / 2.5 Turbo / 2.1 / 2.0 / 1.6): text-to-video, image / first-last frame video and reference-to-video; some models can generate audio or take a reference video. Billed per tier (credits/sec) x duration. Returns a taskId; poll for the result.

How to call

  1. Submit: POST /api/cqt/generator/kling, returns a taskId.
  2. Query: GET /api/cqt/info/kling?id=taskId, poll until status = succeeded.

Capability map

💰 See the pricing page for prices →

Common Errors

CodemsgMeaningHow to fix
400model must be one of: [...]model is not a sub-model of this channelUse a model from the sub-model table
400<model> does not support ...The sub-model does not support this mode / resolution (e.g. vidu-q3 is reference-only, kling has no 540P)Switch to a supported mode / resolution or another sub-model; the error lists the supported tiers
400duration must be ... seconds for <model>Duration is out of range for the sub-modelAdjust duration per the table (e.g. kling-o1 / 2.6 / 2.5-turbo / 2.1 / 2.0 / 1.6 accept only 5 or 10)
400firstFrameUrl/lastFrameUrl cannot be combined with imageUrls/videoUrlsFirst/last frames were sent together with reference materialsUse either first/last frames or reference materials, not both
400prompt is requiredText-to-video is missing promptAdd prompt
500generation_failedGeneration failed; data.errorMsg has details (credits auto-refunded)Adjust based on the error and retry; contact support if it persists

Errors are returned as a bizCode, e.g. bizCode=451, msg=prompt_unsafe.

Tip: after saving your API Key via Authorize, every capability page supports "Try it".