Docs / video / Wan 3.0 Video Prime
Wan 3.0 Video Prime online
The high-fidelity tier of Wan 3.0 — same multimodal reference workflow with a sharper, more stable render.
Rp Mulai Rp3.944 / video
wan/3-0-video-prime model id
1 · Create a task
Kirim permintaan untuk membuat tugas generasi video. Wajib header Idempotency-Key. Saldo direservasi sebesar estimasi; task gagal tidak ditagih.
curl -X POST https://getrun.id/v1/tasks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: my-task-001" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/3-0-video-prime",
"input": {
"prompt": "Create a 24-second cinematic international hip-hop music video with photorealistic visuals, premium street-fashion aesthetics, confident energy, and fast pacing.\n\nReferences:\nImage 1 defines the fixed four-person group: female lead singer front-center, male DJ rear-center, two hype performers left/right. Image 2 defines the singer’s face, hair, makeup, silver-black techwear outfit, and microphone. Image 3 defines the rooftop stage. Keep all characters, outfits, identities, and location consistent throughout.\n\nMusic:\nOriginal international hip-hop anthem, ~106 BPM. Start with a strong groove immediately: punchy kick, crisp snare, syncopated bass, catchy synth/brass hook. Eight languages flow naturally as one rap performance. Beat drop at 21s.\n\nShots:\n0–3s: Aerial city → descend to rooftop → low-angle push-in. “One beat.”\n3–6s: Front close-up. “同一个节拍。”\n6–9s: DJ controls → tilt up to singer. “ひとつのリズム。”\n9–12s: 3/4 singer shot, smooth lateral move. “하나의 리듬.”\n12–15s: Low-angle tracking as singer walks forward. “Um só ritmo.”\n15–18s: Singer + right performer turn toward camera. “จังหวะเดียวกัน.”\n18–21s: Strong frontal push-in. “Un mismo ritmo.”\n21–24s: Side-lit close-up. “إيقاع واحد.” Beat drops, pull back to heroic group wide shot. Singer: “Different voices, one beat.” Group: “One beat.”\n\nPrecise multilingual lip-sync with the same singer and voice throughout. Keep singer front-center, DJ behind, performers left/right. Use smooth pushes, pullbacks, lateral moves, hard cuts, and natural wipes. Deep blue, silver, warm gold, subtle magenta neon; cinematic 24/35/50mm lenses, shallow DOF, film grain, realistic skin.\n\nNo subtitles, text, logos, UI, or watermark. No character duplication, identity changes, distorted hands, floating objects, or unstable equipment.",
"resolution": "1080P",
"aspect_ratio": "adaptive"
}
}'const res = await fetch('https://getrun.id/v1/tasks', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Idempotency-Key': 'my-task-001',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "wan/3-0-video-prime",
"input": {
"prompt": "Create a 24-second cinematic international hip-hop music video with photorealistic visuals, premium street-fashion aesthetics, confident energy, and fast pacing.\n\nReferences:\nImage 1 defines the fixed four-person group: female lead singer front-center, male DJ rear-center, two hype performers left/right. Image 2 defines the singer’s face, hair, makeup, silver-black techwear outfit, and microphone. Image 3 defines the rooftop stage. Keep all characters, outfits, identities, and location consistent throughout.\n\nMusic:\nOriginal international hip-hop anthem, ~106 BPM. Start with a strong groove immediately: punchy kick, crisp snare, syncopated bass, catchy synth/brass hook. Eight languages flow naturally as one rap performance. Beat drop at 21s.\n\nShots:\n0–3s: Aerial city → descend to rooftop → low-angle push-in. “One beat.”\n3–6s: Front close-up. “同一个节拍。”\n6–9s: DJ controls → tilt up to singer. “ひとつのリズム。”\n9–12s: 3/4 singer shot, smooth lateral move. “하나의 리듬.”\n12–15s: Low-angle tracking as singer walks forward. “Um só ritmo.”\n15–18s: Singer + right performer turn toward camera. “จังหวะเดียวกัน.”\n18–21s: Strong frontal push-in. “Un mismo ritmo.”\n21–24s: Side-lit close-up. “إيقاع واحد.” Beat drops, pull back to heroic group wide shot. Singer: “Different voices, one beat.” Group: “One beat.”\n\nPrecise multilingual lip-sync with the same singer and voice throughout. Keep singer front-center, DJ behind, performers left/right. Use smooth pushes, pullbacks, lateral moves, hard cuts, and natural wipes. Deep blue, silver, warm gold, subtle magenta neon; cinematic 24/35/50mm lenses, shallow DOF, film grain, realistic skin.\n\nNo subtitles, text, logos, UI, or watermark. No character duplication, identity changes, distorted hands, floating objects, or unstable equipment.",
"resolution": "1080P",
"aspect_ratio": "adaptive"
}
}),
});
const task = await res.json();import requests
res = requests.post(
"https://getrun.id/v1/tasks",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "my-task-001",
},
json={
"model": "wan/3-0-video-prime",
"input": {
"prompt": "Create a 24-second cinematic international hip-hop music video with photorealistic visuals, premium street-fashion aesthetics, confident energy, and fast pacing.\n\nReferences:\nImage 1 defines the fixed four-person group: female lead singer front-center, male DJ rear-center, two hype performers left/right. Image 2 defines the singer’s face, hair, makeup, silver-black techwear outfit, and microphone. Image 3 defines the rooftop stage. Keep all characters, outfits, identities, and location consistent throughout.\n\nMusic:\nOriginal international hip-hop anthem, ~106 BPM. Start with a strong groove immediately: punchy kick, crisp snare, syncopated bass, catchy synth/brass hook. Eight languages flow naturally as one rap performance. Beat drop at 21s.\n\nShots:\n0–3s: Aerial city → descend to rooftop → low-angle push-in. “One beat.”\n3–6s: Front close-up. “同一个节拍。”\n6–9s: DJ controls → tilt up to singer. “ひとつのリズム。”\n9–12s: 3/4 singer shot, smooth lateral move. “하나의 리듬.”\n12–15s: Low-angle tracking as singer walks forward. “Um só ritmo.”\n15–18s: Singer + right performer turn toward camera. “จังหวะเดียวกัน.”\n18–21s: Strong frontal push-in. “Un mismo ritmo.”\n21–24s: Side-lit close-up. “إيقاع واحد.” Beat drops, pull back to heroic group wide shot. Singer: “Different voices, one beat.” Group: “One beat.”\n\nPrecise multilingual lip-sync with the same singer and voice throughout. Keep singer front-center, DJ behind, performers left/right. Use smooth pushes, pullbacks, lateral moves, hard cuts, and natural wipes. Deep blue, silver, warm gold, subtle magenta neon; cinematic 24/35/50mm lenses, shallow DOF, film grain, realistic skin.\n\nNo subtitles, text, logos, UI, or watermark. No character duplication, identity changes, distorted hands, floating objects, or unstable equipment.",
"resolution": "1080P",
"aspect_ratio": "adaptive"
}
},
)
task = res.json()Input parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
seed |
integer | No | Random seed for result reproducibility.0<=x<= 2147483647 (min 0, max 2147483647) | 0 |
audio |
boolean | No | Whether the output video includes audio. true (default): Includes audio; false: No audio track. | true |
prompt |
string | No | Text prompt used to describe the desired video content. Supports both Chinese and English, with a maximum length of 20,000 characters. (max 20000 chars) | Create a 24-second cinematic international hip |
duration |
integer | No | Durasi video dalam detik (4-30). Bila ada video referensi, durasinya ikut dihitung dalam harga. (min 4, max 30) | 5 |
resolution |
string | No | Preset resolution levels for video generation. Opsi: 480P 720P 1080P |
1080P |
aspect_ratio |
string | No | Aspect ratio for generated video. "Adaptive" auto-recommends a ratio based on input media proportions and intent. Opsi: adaptive 16:9 4:3 1:1 3:4 9:16 |
adaptive |
nsfw_checker |
boolean | No | A configurable parameter. Defaults to true in the Playground. | true |
last_frame_url |
string | No | End frame image (file URL) | — |
first_frame_url |
string | No | Start frame image (file URL) | — |
reference_file_urls |
array | No | Maximum 1 file. Cannot be used together with reference_link_urls, nor with first frame / last frame. Supported formats: docx, doc, xlsx, xls, pptx, ppt, pdf, txt, key, pages, numbers, md. File size ≤ 100MB. For file types such as pdf, docx, ppt, key, pages, etc., page count ≤ 50 pages. | — |
reference_link_urls |
array | No | Maximum 1 publicly accessible webpage (no login required). Cannot be used together with reference_file_urls, nor with first frame / last frame. | — |
reference_audio_urls |
array | No | Maximum 5 clips. Each clip: 1–15s; total combined duration ≤ 15s. Mapped in array order to Audio1, Audio2, ... in the prompt. Formats: wav, mp3; file size ≤ 15MB per clip. When not used as the sole media input, it is still recommended to pair with images or videos. (array of file URLs) | — |
reference_image_urls |
array | No | Maximum 10 images. Mapped in array order to Image1, Image2, ... in the prompt. Specifications are the same as first_frame_url. Cannot be used together with first frame / last frame. (array of file URLs) | — |
reference_video_urls |
array | No | Maximum 5 clips. Each clip: 1–15s; total combined duration ≤ 15s. Mapped in array order to Video1, Video2, ... in the prompt. Formats: mp4, mov. Single side: [240, 4096] px; aspect ratio ≤ 8:1; file size per clip ≤ 100MB. Additionally, on the output side: total input video duration + output duration (duration parameter) must not exceed 30 seconds. (array of file URLs) | — |
2 · Poll the result
Ambil status tugas hingga selesai — poll tiap 2–5 detik.
Respons saat sukses:
{
"id": "task_9f2c…",
"status": "succeeded",
"model": "wan/3-0-video-prime",
"price": {
"currency": "IDR",
"estimated": 3944,
"reserved": 3944,
"final": 3944
},
"output": {
"urls": [
"https://storage.getcore.id/outputs/task_9f2c…/0.mp4"
],
"expires_at": "(7 hari setelah selesai)"
}
}
Status values
| Status | Keterangan |
|---|---|
queued | Tugas sedang diantrikan. |
processing | Sedang diproses. |
succeeded | Berhasil. |
failed | Gagal — lihat error detail, tidak ditagih. |
video/mp4, dilayani dari CDN kami dan berlaku 7 hari — salin ke penyimpananmu sendiri untuk jangka panjang.Best practices
Bila generation gagal, task berstatus failed dengan error.code ternormalisasi (mis. moderation_blocked, upstream_error) dan price.final = 0 — saldo dikembalikan otomatis. Daftar lengkap kode error ada di Error handling. Selalu kirim Idempotency-Key unik per tugas agar retry aman.
Coba tanpa kode: jalankan model ini langsung dari Playground atau lihat di API Market.
