Get API key

by Alibaba

Light 720p Wan 2.2 clips that load your own LoRAs

alibaba/wan-2.2-5b-lora/text-to-videoFrom 18 creditsper run · $0.18
  • Loads your own LoRA
  • Create Video
  • Image to Video
See examples

About Wan 2.2 5B LoRA

The Wan 2.2 5B LoRA API is the cheapest way to run custom LoRAs on video: each request returns one five second 720p clip at a flat price, with only prompt, aspect ratio or image, seed and loras as inputs. That makes it suitable as a LoRA preview step before rendering on a larger model.

Call it with the model name alibaba/wan-2.2-5b-lora/text-to-video on POST /jobs/createTask, from 18 credits per run ($0.18). New accounts get 30 free credits to try it in the Playground first.

Introduction

Wan 2.2 5B LoRA Text to video turns a prompt into a five-second 720p clip with up to three of your LoRA files loaded.

Choose a mode by starting material

What you haveMode
a written descriptionWan 2.2 5B LoRA Text to video
a photo to animateWan 2.2 5B LoRA Image to video
LoRAs made for the 14B Wan 2.2Wan 2.2 LoRA Text to video

Key features

Steady faces and fabric

Knitwear, skin and lamplight hold up across the clip; one action per prompt works best.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 16:9 · 9:16 · Default: 16:9
lorasNoLoad your own LoRA files to lock in a style or character. Default: []
promptYesDescribe the scene, the action and the camera move. Put a LoRA trigger word first.
seedNoReuse the same number to get a repeatable result. ≥ 0 · ≤ 2147483647

Pricing

Prices are in credits, the same credits you use on the website (1 credit = $0.01). The hold is taken when the task is accepted and settled to the actual charge when it finishes; failed tasks are refunded.

OptionCredits per run≈ USD
Standard18$0.18

For an exact number before you run, send the same body to POST /jobs/quote.

Use cases

LoRA drafts

Try a new LoRA at two or three scales before you commit a shot to a larger model.

Vertical clips

704 x 1280 portrait clips for social feeds.

Prompt guide & pro tips

Check the base model

LoRAs for the 14B Wan 2.2 or Wan 2.1 load without an error and change nothing here.

Compare against no LoRA

Same prompt, same seed, loras empty: two identical requests still differ slightly, so look for a clear change in look, not a few pixels.

API quick start

Call the Wan 2.2 5B 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- and use the same credits as the website.
  2. Send the request. POST /jobs/createTask with model alibaba/wan-2.2-5b-lora/text-to-video 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.2-5b-lora/text-to-video",
  "input": {
    "prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
    "aspect_ratio": "16:9"
  }
}'

# 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.

What to build with the Wan 2.2 5B LoRA API

  • A LoRA preview service: render one cheap clip per uploaded LoRA.
  • Consistent-look vertical clips for social templates.
  • Gentle photo animations in a branded style.

Wan 2.2 5B LoRA parameter notes

  • Inputs: prompt, aspect_ratio (text) or image_url (image), seed and loras (up to three).
  • No duration, resolution or negative prompt fields.
  • LoRAs must be trained on Wan 2.2 TI2V-5B.
  • Output is silent 720p, five seconds.

How Wan 2.2 5B LoRA API pricing adds up

A single flat price per clip on both endpoints, with no tiers. It is one of the cheapest LoRA-capable video calls available.

  • Create Video: 18 credits ($0.18) per run, 1800 credits ($18.00) for 100 runs

Async jobs, webhooks and rate limits

Every Wan 2.2 5B LoRA request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for alibaba/wan-2.2-5b-lora/text-to-video never runs or bills twice.

Common Wan 2.2 5B LoRA API errors

errorCodeWhat it usually means and how to fix it
invalid_requestDuration or resolution fields, which this model does not accept.
invalid_assetA LoRA link that cannot be downloaded.
generation_failedRetry; incompatible LoRAs can fail the run.

Wan 2.2 5B LoRA API questions

How much does the Wan 2.2 5B LoRA API cost?

Wan 2.2 5B LoRA starts at 18 credits ($0.18) per run with Create Video, its cheapest task. Credits are the same as on the website (1 credit = $0.01), new accounts get 30 free credits, and failed tasks are refunded.

What is the model name for Wan 2.2 5B LoRA in the API?

Put alibaba/wan-2.2-5b-lora/text-to-video for Create Video; alibaba/wan-2.2-5b-lora/image-to-video for Image to Video in the model field of POST /jobs/createTask.

How much does a Wan 2.2 5B LoRA clip cost?

One flat per-clip price, regardless of prompt or LoRAs.

Can I use 14B Wan 2.2 LoRAs?

They load but have no effect. Use alibaba/wan-2.2-lora for those.

Does it accept a seed?

Yes, on both endpoints.

What are the limits of the Wan 2.2 5B LoRA API?

Aspect ratios: 16:9 · 9:16. Requests outside these limits are rejected before anything is charged.

Can I try Wan 2.2 5B LoRA without writing code?

Yes. The Playground runs Wan 2.2 5B LoRA on your PopNow credits, needs no API key, and shows the matching code for every run.

All Wan models

Wan 2.2 LoRA runs the larger 14B model with separate motion and detail slots, at 5 or 8 seconds.

More about Wan 2.2 5B LoRA