Sand AISand AI MAGI-2MAGI-2 is now on SandBase: 1080p video with native audioTry it now
Video to VideoAlibaba

Wan 3.0 Prime Video Extend

API docs
40% OFFalibaba/wan/3.0/prime/video-extend

Wan 3.0 Prime Video Extend by Alibaba continues an input video forward from a text instruction, optionally guided by reference images and audio, with native audio.

Try the model

Playground

Open playground
Input
Text instruction describing the extension. Refer to the input video as Video 1 and to reference images or audio as Image 1, Audio 1, and so on.
URL of the input video (MP4 or MOV; 1-15 seconds, at least 16 fps, 240-4096px per side, under 100MB).

PNG, JPEG, WebP, or GIF Β· 20 MiB maximum each Β· up to 10

Up to 10 optional reference image URLs (JPEG, PNG, BMP, or WebP; up to 20MB each). Refer to them in the prompt as Image 1, Image 2, and so on.
Up to 5 optional reference audio URLs (WAV or MP3; 1-15s each, 15s total, under 15MB each).
Duration of the extension in seconds (2-30), or `auto` to let the model choose. The input video length plus this duration must not exceed 30 seconds. `auto` is pre-authorized at 30 seconds and billed on the actual output length.
Output video resolution tier.
Advanced settings
Generate a synchronized audio track. Pricing is the same either way.
Random seed (0-2147483647) for reproducible results. Omit for a random seed; the same seed may still produce slightly different results. Range: 0 to 2147483647.
Let the model rewrite your prompt with an LLM before generating. Helps short prompts but adds latency. Set false to use the prompt exactly as written.

Fill in prompt, video to run

40% OFF
Per run$1.68$2.8
Result
Example
  1. Open original

Examples

Select an example to load its inputs and result into the playground.

  • Input
    {
      "duration": 5,
      "prompt": "Extend Video 1 forward by 5s. Character A is a male with short dark brown hair wearing a black tailcoat, white shirt, black bow tie, and beige vest. Character B is a female with brown upswept hair wearing a beige puff-sleeve vintage long dress with black lace trim on the skirt, and dark teardrop earrings. Inside the ballroom, crystal chandelier light reflects off the marble floor. Guests chat in small groups, holding glasses and speaking in low voices. A graceful waltz string prelude slowly begins, and the guests' conversations gradually quiet. Character B walks slowly from one side of the ballroom, her skirt hem lightly brushing the marble floor, her gaze surveying the room. Character A emerges from the crowd, walks past the guests directly to Character B, gives a slight bow and extends his right hand, his gaze warm and attentive. Character B lowers her eyes with a gentle smile, lightly placing her right hand on Character A's palm. The two exchange a smile, and Character A leads Character B to the center of the dance floor. The surrounding guests naturally step back to make room, all eyes focused on the pair. Character A's left hand holds Character B's right hand raised, his right hand gently resting on her lower back. The two assume the waltz pose, stepping out on the downbeat of the strings, beginning to spin. The elegant atmosphere of a 19th-century court ball, warm golden tones.",
      "video": "https://static.sandbase.ai/examples/6e550014-aff8-44f0-8e00-0e7fd4abc0c7/input/9c647043-6044-4efa-9400-947c6f035deb.mp4"
    }
    Open result β†—
  • Input
    {
      "duration": 5,
      "generate_audio": true,
      "prompt": "Continue Video 1: the dancer stops and the camera pulls back through the open studio window to show the evening street below, a Bangkok soi full of tuk-tuks, food carts with glowing bulbs and people heading home. Traffic noise and tuk-tuk engines rise.",
      "resolution": "720p",
      "video": "https://static.sandbase.ai/examples/9b6d78b6-5177-4fb4-af39-31fa27cb1345/input/818de1f6-7fcf-4e4a-9441-8e1e12df41b7.mp4"
    }
    Open result β†—

Wan 3.0 Prime Video Extend

Continue a clip past its last frame. The model carries over the subject, look, and camera language of the source and generates the next beat you describe. The response contains the new segment only, so you can cut it onto the original yourself.

Prime is the faster Wan 3.0 tier: the same inputs and output quality as standard Wan 3.0, with significantly shorter end-to-end generation time and a higher per-second rate. Use standard Wan 3.0 for batch or background jobs where turnaround does not matter.

Fields

FieldTypeDefaultNotes
promptstring, requiredβ€”Up to 5,000 characters.
videovideo URL, requiredβ€”Source clip, Video 1 in the prompt. MP4/MOV, 1–15s, β‰₯16fps, 240–4096px per side, ≀100MB.
imagesimage URL[] (≀10)β€”Referenced as Image 1, Image 2, …
audiosaudio URL[] (≀5)β€”WAV/MP3, 1–15s each, 15s total, ≀15MB. Referenced as Audio 1, …
duration2–30 or auto5Length of the new segment. Source + duration ≀ 30s.
resolution480p720p1080p720pSets the per-second rate.
generate_audiobooleantrueNative dialogue, music, and effects. Same price on or off.
seedinteger 0–2147483647randomFix it to compare prompt changes.
prompt_extendbooleantrueLLM rewrites the prompt before generating. Set false to keep it verbatim.

The aspect ratio always follows the source, so there is no aspect_ratio field.

Billing

Following the official Wan 3.0 rule, billed seconds are the source clip length (rounded up) plus the new segment: $0.068 at 480p, $0.14 at 720p, $0.28 at 1080p per second. References are not metered. If the source length cannot be read, 15s is assumed, which is also what the listed starting price uses.

Source + new segmentBilled480p720p1080p
5s + 5s10s$0.68$1.40$2.80
10s + 5s15s$1.02$2.10$4.20
15s + 5s (default)20s$1.36$2.80$5.60
15s + 15s30s$2.04$4.20$8.40

With duration: "auto" the run is pre-authorized at 30 seconds, then settled on the length that was actually generated. Failed runs are not charged. Output files are copied to SandBase storage and the returned URL stays valid for 7 days; download anything you need to keep.

Prompting

  • Describe what happens next, not what the source already shows: β€œExtend Video 1 forward: the baker carries the tray to the oven and the camera follows.”
  • Mention the subject and direction of movement again if continuity matters.
  • Keep the source short when you need a long extension; both count toward 30 seconds.

Limits

  • The returned video is the extension only; the source is not included.
  • To change the existing footage instead, use video-edit.

Also on SandBase

Other Wan 3.0 Prime endpoints: alibaba/wan/3.0/prime/video (all modes in one schema), alibaba/wan/3.0/prime/text-to-video, alibaba/wan/3.0/prime/image-to-video, alibaba/wan/3.0/prime/reference-to-video, alibaba/wan/3.0/prime/video-edit. Standard tier: alibaba/wan/3.0/video-extend.