Skip to main content
POST
Kling 3.0 text to video
For pending tasks, poll the returned ID. The successful task detail includes usage with billable seconds and the applicable price row. See usage fields.

Authorizations

Authorization
string
header
required

A workspace API key beginning with gengen_live_.

Body

application/json
model
enum<string>
required
Available options:
kling-3.0-turbo,
kling-3.0
prompt
string
required

At most 2,500 characters, except Turbo text-to-video (3,072). Overlong prompts are rejected, never truncated.

Maximum string length: 3072
mode
enum<string>

Turbo and Kling 3.0 accept only text_to_video or image_to_video.

Available options:
text_to_video,
image_to_video
assets
object
controls
object
providerOptions
object

Response

The Kling task was accepted.

id
string
required
model
string
required

The requested Kling model. Historical tasks may return a retired model ID.

status
enum<string>
required
Available options:
pending,
queued,
processing,
running,
succeeded,
failed,
cancelled
outputs
object
required
usage
object

Successful task detail. Kling 3.0 and Turbo charge whole output seconds. The native audio setting selects the Kling 3.0 price row.

createdAt
string<date-time>
updatedAt
string<date-time>
statusUpdateTime
string<date-time>
failureReason
string