Nexus
All models
Lightricks Video Available

LTX 2.5 Fast Text-To-Video

Generate a video with synchronized native audio — dialogue, sound effects and ambience — from a text prompt, in a single pass. 720p–1440p, 24–50 fps, 6–20 seconds, with multi-shot prompting.

Text to Video

From 400 credits (≈ ₹400.00) per request.

Parameters

ParameterTypeDescription
promptRequired string Text prompt, 1–5000 characters, any language. Describe the scene, action, camera and sound. Text inside quotes is spoken as dialogue in its original language. Write "Shot 1 / Shot 2 …" for multiple shots.
max length 5000
resolution string Output resolution (short side). Billing depends on resolution.
one of: "720p", "1080p", "1440p" · default "1080p"
fps integer Frame rate. Does not change the price. 48 and 50 fps allow up to 10 seconds.
one of: 24, 25, 48, 50 · default 24
duration integer Video length in seconds: 6, 8, 10, 12, 14, 16, 18 or 20 at 720p / 1080p with 24 / 25 fps; only 6, 8 or 10 at 1440p or at 48 / 50 fps.
one of: 6, 8, 10, 12, 14, 16, 18, 20 · default 10
aspect_ratio string Aspect ratio of the video.
one of: "16:9", "9:16", "1:1", "3:2", "2:3" · default "16:9"
seed integer Optional random seed (0–2147483647). Random if omitted.
min 0 · max 2147483647

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": "ltx-2.5-fast-text-to-video",
    "input": {
        "prompt": "A cinematic shot of a lighthouse at dawn",
        "resolution": "1080p",
        "fps": 24,
        "duration": 10,
        "aspect_ratio": "16:9"
    },
    "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": "ltx-2.5-fast-text-to-video",
        "input": {
            "prompt": "A cinematic shot of a lighthouse at dawn",
            "resolution": "1080p",
            "fps": 24,
            "duration": 10,
            "aspect_ratio": "16:9",
        },
        "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": "ltx-2.5-fast-text-to-video",
      "input": {
          "prompt": "A cinematic shot of a lighthouse at dawn",
          "resolution": "1080p",
          "fps": 24,
          "duration": 10,
          "aspect_ratio": "16:9"
      },
      "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": "ltx-2.5-fast-text-to-video",
    "input": {
        "prompt": "A cinematic shot of a lighthouse at dawn",
        "resolution": "1080p",
        "fps": 24,
        "duration": 10,
        "aspect_ratio": "16:9"
    }
}

Response

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