Introduction
Wan 2.6 reference-to-video recasts supplied subjects into a new scene using up to three video references and two images, with five references in total; name the subjects in the prompt using the documented character1 convention.
| Field | Value |
|---|---|
| Input | Text |
| Output | Video |
| Required input | prompt, |
| Controls | 2–10 seconds; 720p or 1080p; five aspect ratios; single or multi shot; negative prompt, seed |
| Delivery mode | Wan 2.6 · Asynchronous task; poll or callback |
| Output sizes | 720p: 1280×720, 720×1280, 960×960, 1088×832, 832×1088. 1080p: 1920×1080, 1080×1920, 1440×1440, 1632×1248, 1248×1632 |
| Billable seconds | Output duration plus reference footage, each rounded up, reference counted up to 5 seconds in total |
| Retention | Wan 2.6 · Generated clips deleted after 14 days, uploaded source files after 1 day |
Key features & highlights
Let the model cut the story
Set shot_type to multi and write the prompt as numbered shots. Image-to-video keeps the look of your opening frame while it cuts between angles, so a fifteen-second clip can carry an establishing view, a detail and a payoff instead of one drifting camera move.
Request parameters
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | The new scene: say what each reference clip contributes, then setting, action, camera and light. Keep it under 1,500 characters. at least 1 characters · at most 1500 characters |
negative_prompt | No | What must not appear: extra people, captions, props from the reference clip you do not want carried over. at most 1500 characters |
reference_video_urls | No | Up to three clips of the characters or objects to cast. at least 1 items · at most 3 items |
reference_image_urls | No | Up to two still images of characters or objects to cast, alongside the clips or instead of them; with the clips a request takes at most five references. at least 1 items · at most 2 items |
aspect_ratio | No | For Wan 2.6 reference-to-video, select 16:9 / 9:16 / 1:1 / 4:3 / 3:4. A different ratio may rearrange the Wan 2.6 composition, so compare variants at the intended delivery shape. |
resolution | No | The Wan 2.6 reference-to-video request offers 720p / 1080p, with 720p as the default. |
duration_seconds | No | Set the requested Wan 2.6 reference-to-video length to 2–10; the default is 5. The estimate for Wan 2.6 reference-to-video uses this selected duration as its output quantity. |
shot_type | No | single keeps one continuous take; multi lets the model cut between shots within the same scene. |
seed | No | For Wan 2.6, keep seed between 0 and 2147483647 when comparing one change to the same source; matching seeds do not guarantee identical output. |
Pricing
For Wan 2.6 reference-to-video, billable time is output duration plus reference-video duration, rounded up separately, with at most five reference seconds counted: a five-second output and a three-second reference make eight billable seconds, while nine source seconds count as five and make ten.
| Specification | Price |
|---|---|
| $0.065 / second |
| $0.0975 / second |
Use cases
Fifteen-second story cards
One key frame, three numbered shots in the prompt, shot_type multi, fifteen seconds. It is enough for a pre-roll or a product teaser without an editor, and the sound comes back inside the file.
Product turntables from a single still
Start from the approved packshot and describe only the move: a slow quarter turn, light sweeping the surface. The frame decides the product, so the prompt never has to re-describe it.
One brief per channel
On text-to-video, render the same brief at 9:16 and 16:9 with the seed held; on image-to-video, crop the still to each shape before sending. Either way the channel format is settled before the clip exists, not fixed afterwards.
Prompt guide & pro tips
Pick and trim the clips
One to three short clips, each with a clearly visible subject you have the rights to use. The subject should be large in frame, well lit and ideally seen from more than one angle. Trim before uploading rather than after: reference seconds are billable, and the few seconds where the subject is clearest usually transfer better than a long take.
Write the new scene
Name what each clip contributes first, then describe setting, action, camera and light the way you would for text-to-video. Choose aspect ratio, resolution and 2 to 10 seconds, and pick single or multi shot. Use the negative prompt for things that keep appearing and should not.
Create, poll, review
Create Wan 2.6 reference-to-video work with an Idempotency-Key and save its task id, then poll or receive the completion callback; after a timeout, check that existing task before spending on another submission.
Wan 2.6 · reference-to-video
Wan 2.6 API covers three starting points: a written scene, an opening still, or reference footage. Text and image modes deliver fixed 5-, 10- or 15-second videos; reference-to-video accepts 2–10 whole seconds and applies the content filter recorded for that endpoint.
Wan 2.6 reference-to-video recasts supplied subjects into a new scene using up to three video references and two images, with five references in total; name the subjects in the prompt using the documented character1 convention.
In Wan 2.6, choose the task before assembling inputs: a shot list belongs in text mode, a locked opening composition in image mode, and character1-style references in reference mode; keep single for uninterrupted motion.
The reference-to-video task in Wan 2.6 uses creator-side checks of prompts and output, so adult requests can be rejected without a charge; SpicyAPI adds no filter and cannot unlock that one, while Wan 2.6 Spicy is a separate image-to-video family.
Create Wan 2.6 reference-to-video work with an Idempotency-Key and save its task id, then poll or receive the completion callback; after a timeout, check that existing task before spending on another submission.
For Wan 2.6 reference-to-video, billable time is output duration plus reference-video duration, rounded up separately, with at most five reference seconds counted: a five-second output and a three-second reference make eight billable seconds, while nine source seconds count as five and make ten.
| Starting material | Available task |
|---|---|
| a written scene or script | Wan 2.6 Text to video |
| an approved opening image | Wan 2.6 Image to video |
| separate visual, motion, or sound references | Wan 2.6 Reference to video |
For Wan 2.6, use only licensed sources and consenting adults, respect likeness and music rights, and exclude minors, non-consensual intimate imagery and deceptive impersonation; the public examples remain suitable for general audiences. The reference-to-video task in Wan 2.6 uses creator-side checks of prompts and output, so adult requests can be rejected without a charge; SpicyAPI adds no filter and cannot unlock that one, while Wan 2.6 Spicy is a separate image-to-video family.
For commercial use of Wan 2.6, you are responsible for permissions covering the source material, likenesses, trademarks and music, and for compliance with the applicable law.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "alibaba/wan-2.6/reference-to-video",
"input": {
"aspect_ratio": "16:9",
"duration_seconds": 5,
"prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
"resolution": "720p",
"shot_type": "single",
"reference_video_urls": [
"https://example.com/reference.mp4"
]
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.






















