Skip to main content
Orux AIOruxAI
Developer docsAPI reference

Kling / Video

kling-v2-6

Create a video from text. Try the real morning-coffee example.

POSThttps://orux.top/api/v1/tasks

Authorization

Pass your Orux API key in the request header. Keep keys on your server.

  • Authorization: Bearer YOUR_API_KEY
  • Content-Type: application/json

Request body

model: kling-v2-6. Place model parameters inside input.

Examples use configured defaults. Replace placeholders in angle brackets with actual values.

Parameters

Fields accepted in the request body for this model.

prompttext
Required
durationenum
Optional
Values: 5 / 10Default: 5
aspect_ratioenum
Optional
Values: 16:9 / 9:16 / 1:1Default: 16:9
modeenum
Optional
Values: proDefault: pro
Advanced
negative_prompttext
Optional

Response examples

Illustrative response structures. Actual content depends on the request.

Retrieve the result

Save task_id and poll the task endpoint. An accepted task has not yet finished generating.

Open playground