by Alibaba

Wan 2.1 LoRA video to video API: restyle your own footage with LoRAs while keeping motion and timing, strength control, 480p or 720p, billed per clip.

alibaba/wan-2.1-lora/video-edit
Wan 2.1 LoRA AI Video Generator online
  • Up to 720p
  • 5–10s clips
  • Loads your own LoRA
  • Create Video
  • Image to Video
  • Edit Video

About Wan 2.1 LoRA

Wan 2.1 LoRA video edit takes video_url and a prompt and restyles the footage, with strength controlling how far it departs.

Call it with the model name alibaba/wan-2.1-lora/video-edit on POST /jobs/createTask, from $0.24.

Introduction

Wan 2.1 LoRA Video to video redraws a clip you already have, keeping its motion and pacing, with up to three of your LoRA files loaded on Alibaba's open 14B video model.

Choose a mode by starting material

What you haveMode
a written descriptionWan 2.1 LoRA Text to video
a photo to animateWan 2.1 LoRA Image to video
a clip to restyleWan 2.1 LoRA Video to video
a still image instead of a clipWan 2.1 Image LoRA Text to image

Key features

Motion kept, look changed

The result keeps the movement, the camera and the timing of your source clip, while wardrobe, setting, light and style follow the prompt. In our test a woman walking across a hotel room in a dark dress kept her walk and framing while her clothes changed to what the prompt described.

One strength control

strength 0.9, the default, redraws the clip; at 0.5 our source came back almost unchanged. Go between the two when you want to keep more of the original.

LoRAs on footage

Text-to-video LoRAs for Wan 2.1 apply here too.

Request parameters

ParameterRequiredDescription
duration_secondsNoLength of the generated clip. 5 · 10 · Default: 5
flow_shiftNoAn advanced flow-matching parameter. Leave it unset to use the model's default. ≥ 1 · ≤ 10
guidance_scaleNoHow strictly the model follows the prompt. ≥ 0 · ≤ 20 · Default: 5
lorasNoAdd LoRA weights compatible with this model to guide its style or character. Default: []
negative_promptNoThings you don't want to see.
promptYesDescribe what you want to make.
resolutionNoChoose an available output size. 480p · 720p · Default: 480p
seedNoUse the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647
stepsNoSet the number of sampling steps the model runs. ≥ 1 · ≤ 40 · Default: 30
strengthNoHow far the result may move away from your input. ≥ 0.1 · ≤ 1 · Default: 0.9
video_urlYesThe clip to work on.

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per run
duration_seconds 5 · resolution 480p$0.24
duration_seconds 10 · resolution 480p$0.36
duration_seconds 5 · resolution 720p$0.36
duration_seconds 10 · resolution 720p$0.54

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

Costume and period changes

Turn modern footage into a costume or period scene without reshooting: the actor's movement and the camera stay, the clothes and the set change.

A consistent cast across clips

Redraw every clip in a set with the same prompt and LoRA so the people and their clothes match from shot to shot.

Prompt guide & pro tips

Describe the result

Write the whole scene as it should look, subject, wardrobe, setting and light, not only the change. The model redraws everything from your description and borrows the motion from the source.

Keep strength high

Below about 0.6 the source comes back nearly unchanged. Start at 0.9 and lower it only when too much of the original disappears.

Match the length

Pick 10 seconds only for sources of 10 seconds or more.

Send a video

Check the link before you send it.

API quick start

Call the Wan 2.1 LoRA API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model alibaba/wan-2.1-lora/video-edit and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "alibaba/wan-2.1-lora/video-edit",
  "input": {
    "prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
    "video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
    "resolution": "480p",
    "duration_seconds": 5
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

About the Wan 2.1 LoRA Edit Video endpoint

A style LoRA such as flat colour animation turns live action into animation while keeping the original movement.

Output is never longer than the source; the 10 second option bills at the 10 second rate.

A request carries video_url, a prompt that starts with the style LoRA's trigger words, loras, and strength between 0.1 and 1. Around 0.5 keeps faces recognisable while restyling clothes and backgrounds.

steps, guidance_scale and flow_shift are also exposed; leave them at defaults unless a restyle looks undercooked.

Pricing is per clip at 480p or 720p, which makes restyling a 5 second user clip a predictable charge.

Examples

Mooring mask portraitExamples

Wan 2.1 LoRA API questions

How much does the Wan 2.1 LoRA API cost?

Wan 2.1 LoRA starts at $0.24 per run with Edit Video, its lowest-priced task. Prices by option: 5 · 480p $0.24 per run, 10 · 480p $0.36 per run, 5 · 720p $0.36 per run, 10 · 720p $0.54 per run. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What are the limits of the Wan 2.1 LoRA · Edit Video API?

Clip length: 5–10 s; Resolutions: 480p · 720p. Requests outside these limits are rejected before anything is charged.

More about Wan 2.1 LoRA