About Wan 2.1 LoRA
Wan 2.1 LoRA image to video animates image_url with a required prompt and up to three LoRAs.
Call it with the model name alibaba/wan-2.1-lora/image-to-video on POST /jobs/createTask, from $0.24.
Introduction
Wan 2.1 LoRA Image to video animates one photo with up to three of your LoRA files loaded on Alibaba's open 14B video model.
Choose a mode by starting material
| What you have | Mode |
|---|---|
| a written description | Wan 2.1 LoRA Text to video |
| a photo to animate | Wan 2.1 LoRA Image to video |
| a clip to restyle | Wan 2.1 LoRA Video to video |
| a still image instead of a clip | Wan 2.1 Image LoRA Text to image |
Key features
Camera and effect LoRAs
Orbit, dolly and other effect LoRAs trained for Wan 2.1 image-to-video load by direct link. In our example an orbit LoRA swung the camera round behind the subject; without it, at the same seed, the camera stayed still.
Repeatable runs
The same seed and inputs gave a byte-identical clip in our test. That makes this endpoint the cleanest place to tune a LoRA: change one scale at a time and every difference you see comes from that change.
Wan 2.2 low-noise LoRAs
In our test the low-noise file of a Wan 2.2 image-to-video LoRA changed the clip in the same direction as its Wan 2.1 version, so many newer LoRAs are usable here too.
Request parameters
| Parameter | Required | Description |
|---|---|---|
duration_seconds | No | Length of the generated clip. 5 · 10 · Default: 5 |
flow_shift | No | An advanced flow-matching parameter. Leave it unset to use the model's default. ≥ 1 · ≤ 10 |
guidance_scale | No | How strictly the model follows the prompt. ≥ 0 · ≤ 20 · Default: 5 |
image_url | Yes | The picture to start from. |
loras | No | Add LoRA weights compatible with this model to guide its style or character. Default: [] |
negative_prompt | No | Things you don't want to see. |
prompt | Yes | Describe what you want to make. |
resolution | No | Choose an available output size. 480p · 720p · Default: 480p |
seed | No | Use the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647 |
steps | No | Set the number of sampling steps the model runs. ≥ 1 · ≤ 40 · Default: 30 |
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.
| Option | USD 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
Moving portraits
Turn a still into a shot with a camera move you choose, from a slow push-in to a full orbit, while the face and the outfit stay those of your photo.
Fashion and product stills
An orbit LoRA shows an outfit or an object from every side, starting from one good photograph, which saves a second shoot.
Prompt guide & pro tips
Write the trigger phrase
Effect LoRAs usually need their trigger words, for example the orbit phrase their author lists. Put it in the sentence that describes the camera, as our orbit example does.
Ask for the change
The model stays close to the photo: clothing and setting in the photo tend to stay. Name the action and the change you want early in the prompt, one main action per clip.
Compare at the same seed
Run once with loras empty and once with your LoRA at the same seed; the clips are directly comparable here, so you see exactly what the LoRA does.
Use direct, public links
Use a public link that downloads the .safetensors file itself, such as a Hugging Face "resolve/main" link.
API quick start
Call the Wan 2.1 LoRA API in three steps
- 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.
- Send the request. POST /jobs/createTask with model alibaba/wan-2.1-lora/image-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
- 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/image-to-video",
"input": {
"prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"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 Image to Video endpoint
Camera LoRAs such as a 360 orbit move around the photo when their trigger phrase is in the prompt.
The clip keeps the photo's shape and stays close to what the photo shows.
Steps, guidance_scale and flow_shift are available for fine control, and seed makes runs repeatable.
Billing is per clip at 480p or 720p, regardless of which LoRAs you load.
Examples
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 Image to 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 · Image to Video API?
Clip length: 5–10 s; Resolutions: 480p · 720p. Requests outside these limits are rejected before anything is charged.