Qwen Image Edit

alibaba/qwen-image-edit

Qwen Image Edit is Alibaba's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.

Base price
$0.04USD / run
Execution
async
Model type
image
Input fields
6
Production route

Try the model

Playground

Open playground
Input
The prompt to generate the image with

PNG, JPEG, WebP, or GIF · 20 MiB maximum

The URL of the image to edit.
0.011
Strength of the image-to-image transformation. Lower values preserve more of the original image. Range: 0.01 to 1.
The format of the generated image. Allowed values: jpeg, png.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
The same seed and the same prompt given to the same version of the model will output the same image every time.
OutputExample

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.04 / run

Context & modalities

Input
Schema-defined
Output
image

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
Alibaba
Model ID
alibaba/qwen-image-edit
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

Human preference

Arena

Elo ratings from blind side-by-side votes, compared with other image and video models.

Rankings sourced from Artificial Analysis Arena

Leaderboard
Image Editing
Rank
#70 of 77
Elo
889 ±20
Gap to #1
−310

Image-editing arena: people pick the better of two edits of the same image and instruction, without seeing the model names.

  1. #65FLUX.1 Kontext [max]Black Forest Labs932±19
  2. #66FLUX.1 Kontext [pro]Black Forest Labs916±19
  3. #67FIBO EditBria915±19
  4. #68SeedEdit 3.0ByteDance Seed901±20
  5. #69LongCat ImageMeituan897±20
  6. #70Qwen Image EditAlibabaThis model889±20
  7. #71FLUX.1 Kontext [dev]Black Forest LabsOn SandBase883±21
  8. #72HiDream-O1-Image-DevHiDream880±15
  9. #73GLM-ImageZ AI824±22
  10. #74BagelBytedance792±25

API README

Qwen Image Edit

The original Qwen Image Edit: change one image with an instruction, including Chinese and English text edits. strength controls how far the result may move from the input.

Fields

FieldTypeDefaultNotes
promptstring, required—Text instruction.
imageimage URL, required—Image to edit. JPEG, PNG, or WebP URL.
strengthnumber 0.01–10.94How much the output may differ from the input (0.01–1).
output_formatjpeg / pngpngOutput file format.
aspect_ratio21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16—Omit to follow the input image.
seedintegerrandomFix it to compare prompt changes.

Billing

$0.045 per output image, Alibaba's list price.

RequestPrice
One image$0.045

Failed runs are not charged.

Prompting

  • State the change and what must stay the same.
  • Lower strength for subtle edits.

Limits

  • One input image per request; 2511 accepts several.

Also on SandBase

Related: alibaba/qwen-image-edit/2511, alibaba/qwen-image-edit/2511/multiple-angles, alibaba/qwen-image-3/edit (newer).

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
alibaba/qwen-image-edit
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "alibaba/qwen-image-edit",
  "image": "https://static.sandbase.ai/examples/alibaba/qwen-image-edit/input_image_0.png",
  "prompt": "Change bag to apple macbook",
  "strength": 0.94,
  "output_format": "png"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
Qwen Image EditThis model
Alibaba
Image$0.04 / runSep 30, 2025
AlibabaImage$0.04 / runJul 21, 2026
AlibabaImage$0.04 / runJul 21, 2026
AlibabaImage$0.07 / runApr 1, 2026
AlibabaImage$0.03 / runApr 1, 2026
AlibabaImage$0.03 / runApr 1, 2026

Questions

FAQ

How do I call Alibaba Qwen Image Edit through SandBase?

Create a SandBase API key, then send requests with the model ID "alibaba/qwen-image-edit" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate Alibaba account?

No. One SandBase API key and balance gives you access to Alibaba Qwen Image Edit and the other models in the catalog; you do not need to sign up with Alibaba separately.