All models
PixVerse
Video
Available
PixVerse V6 First & Last Frame Transition
Learn how to check task status and retrieve the generated result
Text to Video
From 400 credits (≈ ₹400.00) per request.
Parameters
| Parameter | Type | Description |
|---|---|---|
promptRequired |
string | Generate prompt, cannot be empty, length is limited to 3-5000 characters. max length 5000 |
first_frame_image_urlRequired |
string | First frame image URL. Supports HTTP, HTTPS, and OSS addresses; supported image formats include JPG, JPEG, PNG, and WebP; the size of a single image file must not exceed 20 MB format: uri |
last_frame_image_urlRequired |
string | Last frame image URL. Supports HTTP, HTTPS, and OSS addresses; supported image formats include JPG, JPEG, PNG, and WebP; the size of a single image file must not exceed 20 MB format: uri |
qualityRequired |
string | Required. Output video resolution. Supports 360p, 540p, 720p, and 1080p. one of: "360p", "540p", "720p", "1080p" |
durationRequired |
integer | Required. Output video duration in seconds. PixVerse V6 supports 1–15 seconds. min 1 · max 15 |
generate_audio_switch |
boolean | Whether to generate audio synchronized with the video content. 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 |
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-first-last-frame-transition",
"input": {
"prompt": "A cinematic shot of a lighthouse at dawn",
"first_frame_image_url": "https://example.com/input.png",
"last_frame_image_url": "https://example.com/input.png",
"quality": "360p",
"duration": 1,
"generate_audio_switch": false
},
"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-first-last-frame-transition",
"input": {
"prompt": "A cinematic shot of a lighthouse at dawn",
"first_frame_image_url": "https://example.com/input.png",
"last_frame_image_url": "https://example.com/input.png",
"quality": "360p",
"duration": 1,
"generate_audio_switch": False,
},
"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-first-last-frame-transition",
"input": {
"prompt": "A cinematic shot of a lighthouse at dawn",
"first_frame_image_url": "https://example.com/input.png",
"last_frame_image_url": "https://example.com/input.png",
"quality": "360p",
"duration": 1,
"generate_audio_switch": false
},
"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-first-last-frame-transition",
"input": {
"prompt": "A cinematic shot of a lighthouse at dawn",
"first_frame_image_url": "https://example.com/input.png",
"last_frame_image_url": "https://example.com/input.png",
"quality": "360p",
"duration": 1,
"generate_audio_switch": false
}
}
Response
{
"id": "6f1c…",
"object": "task",
"model": "pixverse-v6-first-last-frame-transition",
"status": "succeeded",
"output": {
"files": [
{
"url": "https://…signed…",
"mime": "…",
"size": 0
}
]
},
"estimated_cost": "…",
"charged": "…"
}