text-to-video
/kling/text-to-video/kling-3.0-turboBody Parametersapplication/json
[Alternative] Prompt array form, mutually exclusive with top-level prompt. Each item type must be "prompt" (text-to-video does not support first_frame). Gateway extracts contents[].text into top-level prompt then forwards upstream.
itemsTask control parameters, all optional.
propertiesUpstream callback URL after task completion (must be publicly accessible).
Caller-defined external task ID for idempotent queries and reconciliation.
Watermark config defined by upstream, passed through as-is.
[Recommended] top-level prompt. max 3072 characters. full-width punctuation(, ; : )auto-converted to half-width by the gateway. Mutually exclusive with contents[]; if both are set, contents[] is ignored.
Generation params, all optional. Gateway defaults when missing: resolution=720p, aspect_ratio=16:9, duration=5.
propertiesAspect ratio, default 16:9.
Video duration (seconds), range 3–15, default 5. Billing scales linearly with duration.
Output resolution, default 720p. 1080p bills ~1.25×.
Responses
0 = success; non-zero = failure; see message
Task info. id and task_id may both carry the task ID; prefer id.
Message text
upstream request ID; provide to upstream support when troubleshooting
