header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired
Example
{"prompt":"A girl sat on the train, looking out the window with a melancholic expression, her head swaying with the train.","options":{"watermark_info":{"enabled":false}},"settings":{"duration":3,"resolution":"720p","aspect_ratio":"9:16"}}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location'https://api.ezlinkai.com/kling/text-to-video/kling-3.0-turbo' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data'{
"prompt": "A girl sat on the train, looking out the window with a melancholic expression, her head swaying with the train.",
"options": {
"watermark_info": {
"enabled": false
}
},
"settings": {
"duration": 3,
"resolution": "720p",
"aspect_ratio": "9:16"
}
}'