Nexus
All models
PixVerse Video Available

PixVerse V6 Image-To-Video

Learn how to check task status and retrieve the generated result

Image to Video

From 400 credits (≈ ₹400.00) per request.

Parameters

ParameterTypeDescription
promptRequired string Generate prompt, cannot be empty, length is limited to 3-5000 characters.
max length 5000
image_urlsRequired array<string> Without template_id, provide 1 image (used as the first frame). With template_id, provide the number of images given by the template's effect_type (1 or 2). Single image size not exceeding 20 MB. Supports HTTP, HTTPS, and OSS addresses. Supported image formats include JPG, JPEG, PNG, and WebP.
qualityRequired string Required. Output video resolution. Supports 360p, 540p, 720p, and 1080p.
one of: "360p", "540p", "720p", "1080p"
durationRequired integer Generated video duration in seconds, ranging from 1 to 15. Required when template_id is not passed; if template_id is passed, the video duration is fixed by the selected template, please do not pass this parameter at the same time.
min 1 · max 15
generate_audio_switch boolean Whether to generate audio synchronized with the video content.
default false
generate_multi_clip_switch boolean Whether to generate a multi-clip video.
default false
seed integer Random seed, value range is 0-2147483647. Using the same parameters and seed helps improve result reproducibility.
min 0 · max 2147483647
template_id string Used to select a PixVerse video effect template. Please pass in the corresponding template_id. Once a template_id is provided, the video duration is fixed by the selected template, so duration cannot be set at the same time. effect_type indicates the number of images required by the selected template. Please upload the specified number of images accordingly. To preview the template effect, open https://static.aiquickdraw.com/tools/example/.mp4 in a browser and replace with the actual template ID
one of: "412736208886848", "411563216524736", "411316927927040", "411174903569216", "410999246341952", "408891141511104", "410317363057408", "410285445698304", "410133101388544", "409899296377728", "408897485909952", "408869061406656", "408661207662528", "409767750265728", "409766559675264", "409589071559552", "407804339389760", "407658863287616", "407474361215744", "407473438360320", "407467702283008", "385844572217469", "406428904874432", "406423682060736", "406411724685760", "406372274350528", "406218913317312", "406218479198656", "406064763308480", "406413607395776", "405662117814720", "406014934000064", "405658369331648", "405321470423488", "405175211454656", "404955806201792", "404820147974080", "398980393937856", "403916646846400", "403739217192896", "403560060358144", "403556618212098", "398965022284579", "402201060373270", "403085292466285", "402061828030966", "402888569901524", "402155676592228", "402047865383360", "402046136040202"

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": "pixverse-v6-image-to-video",
    "input": {
        "prompt": "A cinematic shot of a lighthouse at dawn",
        "image_urls": null,
        "quality": "360p",
        "duration": 1,
        "generate_audio_switch": false,
        "generate_multi_clip_switch": false,
        "template_id": "412736208886848"
    },
    "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": "pixverse-v6-image-to-video",
        "input": {
            "prompt": "A cinematic shot of a lighthouse at dawn",
            "image_urls": None,
            "quality": "360p",
            "duration": 1,
            "generate_audio_switch": False,
            "generate_multi_clip_switch": False,
            "template_id": "412736208886848",
        },
        "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": "pixverse-v6-image-to-video",
      "input": {
          "prompt": "A cinematic shot of a lighthouse at dawn",
          "image_urls": null,
          "quality": "360p",
          "duration": 1,
          "generate_audio_switch": false,
          "generate_multi_clip_switch": false,
          "template_id": "412736208886848"
      },
      "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": "pixverse-v6-image-to-video",
    "input": {
        "prompt": "A cinematic shot of a lighthouse at dawn",
        "image_urls": null,
        "quality": "360p",
        "duration": 1,
        "generate_audio_switch": false,
        "generate_multi_clip_switch": false,
        "template_id": "412736208886848"
    }
}

Response

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