by Alibaba

Photoreal Wan 2.1 stills and restyles with your LoRAs

alibaba/wan-2.1-image-lora/text-to-image
Wan 2.1 Image LoRA AI Image Generator online
  • Up to 1.5K
  • 9 aspect ratios
  • Loads your own LoRA
  • Create Image
  • Edit Image

About Wan 2.1 Image LoRA

The Wan 2.1 Image LoRA API renders one frame from the Wan 2.1 video model, accepting the same Wan LoRAs as video endpoints. It is an efficient LoRA preview step: validate a style on stills, then send approved settings to alibaba/wan-2.1-lora for video.

Call it with the model name alibaba/wan-2.1-image-lora/text-to-image on POST /jobs/createTask, from $0.03.

Introduction

Wan 2.1 Image LoRA Text to image generates a single image using Alibaba’s open 14B video model, with up to three of your Wan LoRA files loaded.

Choose a mode by starting material

What you haveMode
a written descriptionWan 2.1 Image LoRA Text to image
an image to changeWan 2.1 Image LoRA Image editing
a scene that should moveWan 2.1 LoRA Text to video

Key features

Video LoRAs on stills

Wan 2.1 renders an image as a single frame, so Wan 2.1 14B text-to-video LoRAs apply here. In our example an origami LoRA turned a masked couple into folded-paper figures; without it, at the same seed, they stayed people.

Wan 2.2 style LoRAs

A single-file Wan 2.2 style LoRA turned a crisp colour photograph into warm brown film light on this model.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 21:9 · 9:21 · Default: 1:1
lorasNoAdd LoRA weights compatible with this model to guide its style or character. Default: []
output_formatNoFile type of the result. jpeg · png · webp · Default: jpeg
promptYesDescribe what you want to make.
resolutionNoChoose an available output size. 1k · 1.5k · Default: 1k
seedNoUse the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647

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 image
Standard$0.03

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

Opening frames

Make the first frame here with the same LoRA, then animate it with Wan 2.1 LoRA image-to-video so the look stays consistent from still to clip.

Prompt guide & pro tips

Write like a photographer

Lens, light and colour words steer the look well: "50mm, shallow depth of field, warm lantern light" did more for our images than adjectives about quality.

Use 1.5k

Both sides are rounded down to a multiple of 32.

Trigger words first

Put a LoRA's trigger phrase at the start of the prompt. On stills some trigger words already push the style by themselves, so compare against a run without the LoRA.

API quick start

Call the Wan 2.1 Image 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-image-lora/text-to-image 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-image-lora/text-to-image",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "aspect_ratio": "1:1",
    "resolution": "1k",
    "output_format": "jpeg"
  }
}'

# 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.1 Image LoRA API

  • LoRA preview before expensive video renders.
  • Opening-frame generation for Wan image to video.
  • Photoreal still generation with custom styles.

Wan 2.1 Image LoRA parameter notes

  • loras up to three Wan 2.1 (and single-file Wan 2.2) LoRAs as public direct links.
  • resolution 1k or 1.5k at the same price.
  • edit takes image_url and strength.
  • seed and output_format supported.

How Wan 2.1 Image LoRA API pricing adds up

A flat price per image at both sizes, far below the cost of a video clip.

  • Create Image: $0.03 per run, $3.00 for 100 runs

Async jobs, webhooks and rate limits

Every Wan 2.1 Image 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.1-image-lora/text-to-image never runs or bills twice.

Common Wan 2.1 Image LoRA API errors

errorCodeWhat it usually means and how to fix it
invalid_assetA gated or page link instead of a direct .safetensors download.
invalid_requestMore than three LoRAs.
content_rejectedA refused prompt or source image.

Examples

Origami gondola masks
Origami gondola masksExamples
Vintage lantern alley
Vintage lantern alleyExamples
Gondola pair flat color
Gondola pair flat colorExamples

Wan 2.1 Image LoRA API questions

How much does the Wan 2.1 Image LoRA API cost?

Wan 2.1 Image LoRA starts at $0.03 per image with Create Image, its lowest-priced task. 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 is the model name for Wan 2.1 Image LoRA in the API?

Put alibaba/wan-2.1-image-lora/text-to-image for Create Image; alibaba/wan-2.1-image-lora/edit for Edit Image in the model field of POST /jobs/createTask.

Can I use Wan video LoRAs on Wan 2.1 Image LoRA?

Yes, text-to-video LoRAs work because each image is a single frame.

Does 1.5K cost more?

No.

Is image to image instruction editing?

No, it redraws the photo with strength controlling the change.

What are the limits of the Wan 2.1 Image LoRA API?

Resolutions: 1K · 1.5K; Aspect ratios: 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 +3; Prompt length (characters): 5,000. Requests outside these limits are rejected before anything is charged.

Can I try Wan 2.1 Image LoRA without writing code?

Run Wan 2.1 Image LoRA in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.

All Wan models

Wan 2.1 LoRA animates the same LoRAs into 5 or 10 second clips.

More about Wan 2.1 Image LoRA