Skip to main content
POST
Kling O3 Text-to-Video

Authorizations

Authorization
string
header
required

All APIs require Bearer Token authentication

Add to request header:

Authorization: Bearer YOUR_API_KEY

Body

application/json
model
string
default:kling-o3-text-to-video
required

kling-o3-text-to-video: Pure text driven video generation, supports 720p / 1080p / 4k

Example:

"kling-o3-text-to-video"

prompt
string | null

Text prompt

Notes:

  • Maximum 2500 characters
  • Mutually exclusive with multi_prompt
Maximum string length: 2500
Example:

"A seaside pier at sunset, golden light shimmering on the waves"

resolution
string
default:720p

Output resolution

Options:

  • 720p — 720P SD
  • 1080p — 1080P HD
  • 4k — Native 4K UHD (independent tier, billing not affected by generate_audio)
Example:

"720p"

generate_audio
boolean
default:false

Whether to generate accompanying audio

Example:

false

aspect_ratio
string
default:16:9

Output video aspect ratio

Available values:

  • 16:9 — Landscape (default)
  • 9:16 — Portrait
  • 1:1 — Square
Example:

"16:9"

duration
integer | null

Output video duration (seconds), 3-15

Example:

5

shot_type
string | null
default:customize

Multi-shot segmentation mode, currently fixed to customize

Do not pass this parameter unless necessary.

Example:

"customize"

multi_prompt
object[] | null

Multi-prompt sequence

Notes:

  • Mutually exclusive with prompt
  • The sum of all segment duration values should equal the total duration

Do not pass this parameter unless necessary.

Response

Task created successfully

created
integer

Task creation timestamp

Example:

1757165031

id
string

Task ID

Example:

"task-unified-1757165031-uyujaw3d"

model
string

Actual model name used

object
enum<string>

Specific task type

Available options:
video.generation.task
progress
integer

Task progress percentage (0-100)

Required range: 0 <= x <= 100
Example:

0

status
enum<string>

Task status

Available options:
pending,
processing,
completed,
failed
Example:

"pending"

task_info
object

Async task information

type
enum<string>

Task output type

Available options:
video
Example:

"video"