curl --request POST \
--url https://api.omniall.ai/v1/videos \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "kling-2.6",
"prompt": "Cyberpunk city night, slow camera push-in, cinematic",
"seconds": "5",
"metadata": {
"output_config": {
"resolution": "720P",
"aspect_ratio": "16:9"
}
}
}
'{
"id": "task_xxxxxxxx",
"task_id": "task_xxxxxxxx",
"object": "video",
"model": "kling-2.5-720p",
"status": "queued",
"progress": 0,
"created_at": 1780891541
}Kling
Create video
Create a Kling video task.
Path: POST https://api.omniall.ai/v1/videos
Text-to-video vs image-to-video: if image / images / input_reference / metadata.last_frame_* / reference video is present → image-to-video; else text-to-video.
Auth: Authorization: Bearer sk-...
POST
/
v1
/
videos
curl --request POST \
--url https://api.omniall.ai/v1/videos \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "kling-2.6",
"prompt": "Cyberpunk city night, slow camera push-in, cinematic",
"seconds": "5",
"metadata": {
"output_config": {
"resolution": "720P",
"aspect_ratio": "16:9"
}
}
}
'{
"id": "task_xxxxxxxx",
"task_id": "task_xxxxxxxx",
"object": "video",
"model": "kling-2.5-720p",
"status": "queued",
"progress": 0,
"created_at": 1780891541
}Body
application/json
Kling create-video body.
Response
200 - application/json
Task accepted