by Alibaba

Qwen Image 2.1 images and edits with up to three of your LoRAs

alibaba/qwen-image-2.1-lora/text-to-image
Qwen Image 2.1 LoRA AI Image Generator online
  • Up to 2K
  • Up to 10 reference images
  • 15 aspect ratios
  • Loads your own LoRA
  • Create Image
  • Edit Image

About Qwen Image 2.1 LoRA

Qwen Image 2.1 LoRA runs Alibaba’s Qwen Image 2.1 with your own LoRA files loaded on top: up to three per run, each with its own strength, for creating and editing. A character LoRA helps you carry a trained appearance across a set.

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

Introduction

Qwen Image 2.1 LoRA Text to Image runs Alibaba's newest open-weight image model with your own LoRA weights loaded on top — up to three files per request, each with its own strength.

A LoRA here is a URL, not an upload.

Choose a Qwen Image 2.1 LoRA mode by starting material

Starting materialMode
A brief plus your own weightsQwen Image 2.1 LoRA Text to Image
Source images plus your own weightsQwen Image 2.1 LoRA Editing
No custom weights neededQwen Image 2.1

Key features

Load LoRAs from direct links

Supply a direct link to a .safetensors file or a Hugging Face repository and a strength. The file is fetched when the request runs.

Three slots, independent strengths

Three entries per call, each with its own scale from 0 to 4, covers the stack production work actually uses: a character LoRA holding the person, a house-style LoRA at a lower weight colouring the frame, a detail LoRA for skin or fabric. Change one scale per run — moving two at once leaves you unable to attribute the result.

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 · 2:1 · 1:2 · 3:1 · 1:3 · 5:4 · 4:5 · 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 · 2k · 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
resolution 1K$0.03
resolution 1.5K$0.054
resolution 2K$0.102

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

Consistent characters at scale

A character LoRA holds a face and body across hundreds of frames far more reliably than seeds or reference chaining.

House style over a general model

A style LoRA trained on your own catalogue makes output look like yours rather than like a generic render.

Production stacks

Character, style and detail weights together in one request, each at its own strength.

Prompt guide & pro tips

Let the weights do their job

Describe the scene, not the thing the LoRA already knows. Restating a character's features when a character LoRA is loaded tends to fight it rather than reinforce it.

Start at 1, then move one value

Scale 1 is neutral. Drop to 0.4-0.6 when a weight overwhelms the prompt; push past 1 when it has to survive a busy scene. One change per run.

Budget for the first call

The weights are fetched before generation. A 1.2 GB file added around 25 seconds to that request in our testing. Later calls with the same file are faster.

Check a new LoRA actually does something

Weights for a different base architecture can load without an error and barely affect the image. Run one obvious test prompt before committing a batch.

API quick start

Call the Qwen Image 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/qwen-image-2.1-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/qwen-image-2.1-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.

Qwen Image 2.1 LoRA API questions

How much does the Qwen Image 2.1 LoRA API cost?

Qwen Image 2.1 LoRA starts at $0.03 per image with Create Image, its lowest-priced task. Prices by option: 1K $0.03 per image, 1.5K $0.054 per image, 2K $0.102 per image. 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 Qwen Image 2.1 LoRA in the API?

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

How do I supply a LoRA?

As an entry in the loras array: a path, which is a direct HTTPS URL to a .safetensors file or a Hugging Face repository, and a scale from 0 to 4. Nothing is uploaded to us; the file is fetched when the request runs.

How many LoRAs can I stack?

Three per request, each with its own strength. A fourth entry is rejected before generation starts.

What does scale actually do?

It weights how strongly the LoRA overrides the base model. 1 is neutral, below 1 softens its influence, above 1 lets it dominate. When stacking, move one value at a time or you will not know which weight caused a change.

Can I combine a LoRA with a marked-region edit?

Yes. Mark the region on the reference image and describe the change inside it as usual. Keep in mind the LoRA is not scoped to that region — at a high scale a style LoRA will influence the whole frame, so drop it toward 0.4-0.6 when you want the edit to stay local.

Why did my LoRA seem to do nothing?

Most often the weights were trained for a different base architecture. They can load without an error and still barely affect the image. Run one obvious test prompt against a known-good LoRA before committing a batch.

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

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

Can I try Qwen Image 2.1 LoRA without writing code?

Run Qwen Image 2.1 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 Qwen Image models

Plain Qwen Image 2.1 is cheaper when you don't need your own weights.

More about Qwen Image 2.1 LoRA