Nexus
All models
Kling Video Available

Kling 3.0 Omni Text to Video

Text to Video

From 400 credits (≈ ₹400.00) per request.

Parameters

ParameterTypeDescription
promptRequired string Text description of the video. It must not be empty after leading and trailing whitespace is removed, and must not exceed 3,072 characters.
max length 3072
customize_multi_shots boolean Optional, default false. Set true for custom multi-shot (multi_prompt required).
default false
prefer_multi_shots boolean Whether to enable intelligent shot planning. This field is mutually exclusive with `customize_multi_shots`. Both fields may be `false`, but they cannot both be `true`.
multi_prompt array<object> List of custom shots. When `customize_multi_shots` is `true`, this field is required, must not be empty, and supports up to 6 shots. When `customize_multi_shots` is `false`, it must be an empty array or omitted.
default []
elements array<object> List of one-time subject assets. The default is an empty array. When using only multi-image subjects, up to 7 subjects can be uploaded. When using only video character subjects, the number of video character subjects must not exceed 3. When using both video character and multi-image subjects, the number of video character subjects must not exceed 3, and the number of multi-image subjects must not exceed 4.
default []
audio boolean Whether to add audio to the generated video. `true` enables audio; `false` disables audio.
default false
resolution string Resolution of the generated video. Available values are `720p` (outputs a 720p video), `1080p` (outputs a 1080p video), and `4k` (outputs a 4K video).
one of: "720p", "1080p", "4k" · default "720p"
aspect_ratio string Aspect ratio of the generated video. Supported values are `16:9`, `9:16`, and `1:1`.
one of: "16:9", "9:16", "1:1" · default "16:9"
duration integer Total video duration in seconds. The supported range is 3 to 15 seconds, and the default is 5 seconds.
one of: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 · min 3 · max 15 · default 5

What you get back

Files arrive in output.files[] as private links that expire, with their type and size.

Use it from your code

# 1. Create the task
curl https://nexus.promptscenes.in/api/v1/tasks \
  -H "Authorization: Bearer $NEXUS_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "model": "kling-3.0-omni-text-to-video",
    "input": {
        "prompt": "A cinematic shot of a lighthouse at dawn",
        "customize_multi_shots": false,
        "multi_prompt": [],
        "elements": [],
        "audio": false,
        "resolution": "720p",
        "aspect_ratio": "16:9",
        "duration": 5
    },
    "callback_url": "https://your-app.com/webhooks/nexus"
}'

# 2. Poll for the result
curl https://nexus.promptscenes.in/api/v1/tasks/TASK_ID \
  -H "Authorization: Bearer $NEXUS_API_KEY"
import os, time, uuid, requests

API = "https://nexus.promptscenes.in/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['NEXUS_API_KEY']}"}

task = requests.post(
    f"{API}/tasks",
    headers={**HEADERS, "Idempotency-Key": str(uuid.uuid4())},
    json={
        "model": "kling-3.0-omni-text-to-video",
        "input": {
            "prompt": "A cinematic shot of a lighthouse at dawn",
            "customize_multi_shots": False,
            "multi_prompt": [],
            "elements": [],
            "audio": False,
            "resolution": "720p",
            "aspect_ratio": "16:9",
            "duration": 5,
        },
        "callback_url": "https://your-app.com/webhooks/nexus",
    },
).json()

while task["status"] not in ("succeeded", "failed", "cancelled"):
    time.sleep(3)
    task = requests.get(f"{API}/tasks/{task['id']}", headers=HEADERS).json()

print(task["status"], task.get("output"))
const API = "https://nexus.promptscenes.in/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.NEXUS_API_KEY}`,
  "Content-Type": "application/json",
};

let task = await fetch(`${API}/tasks`, {
  method: "POST",
  headers: { ...headers, "Idempotency-Key": crypto.randomUUID() },
  body: JSON.stringify({
      "model": "kling-3.0-omni-text-to-video",
      "input": {
          "prompt": "A cinematic shot of a lighthouse at dawn",
          "customize_multi_shots": false,
          "multi_prompt": [],
          "elements": [],
          "audio": false,
          "resolution": "720p",
          "aspect_ratio": "16:9",
          "duration": 5
      },
      "callback_url": "https://your-app.com/webhooks/nexus"
  }),
}).then((r) => r.json());

while (!["succeeded", "failed", "cancelled"].includes(task.status)) {
  await new Promise((r) => setTimeout(r, 3000));
  task = await fetch(`${API}/tasks/${task.id}`, { headers }).then((r) => r.json());
}
console.log(task.status, task.output);

Request

{
    "model": "kling-3.0-omni-text-to-video",
    "input": {
        "prompt": "A cinematic shot of a lighthouse at dawn",
        "customize_multi_shots": false,
        "multi_prompt": [],
        "elements": [],
        "audio": false,
        "resolution": "720p",
        "aspect_ratio": "16:9",
        "duration": 5
    }
}

Response

{
    "id": "6f1c…",
    "object": "task",
    "model": "kling-3.0-omni-text-to-video",
    "status": "succeeded",
    "output": {
        "files": [
            {
                "url": "https://…signed…",
                "mime": "…",
                "size": 0
            }
        ]
    },
    "estimated_cost": "…",
    "charged": "…"
}