Alibaba | Qwen Image | 2.1 | Pro | Image Edit image preview

Alibaba | Qwen Image | 2.1 | Pro | Image Edit

Image Gen·qwen·by Alibaba

Qwen Image 2.1 Pro Image Edit transforms reference images with text instructions for visual revisions, creative variations, and design workflows on each::labs.

Runtime (p50)
-
Estimated price
$0.04 per image
Call the API
prediction.sh
sh
curl -X POST \
  -H "Authorization: Bearer $EACHLABS_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
    "model": "alibaba-qwen-image-2-1-pro-image-edit",
    "input": {
        "n": 1,
        "size": "1024*1024",
        "prompt": "Create a hyper-realistic editorial fashion portrait of the uploaded person seated front-facing on an ornate carved white-painted chair against a soft blush-pink wall, on pale whitewashed floorboards. Keep the subject's face, hair, eye color, skin tone, body shape, and all physical features fully preserved and unchanged. She wears a mint-green high-neck zip blouse with large white hand-painted polka dots and puffed sleeves, a flowing poppy-red wide-leg skirt, glossy lemon-yellow patent boots, oversized white pearl-cluster earrings and berry lipstick. Behind her, four loose gouache canvases lean against the wall, each a naive painterly portrait of the same woman with her exact face and hairstyle, wearing red and white polka-dot tops. A bowl of strawberries and pears sits on a gift box wrapped in red-dot paper, another in mint checkerboard paper. Soft pastel daylight, matte painterly textures, straight-on symmetrical shot. The subject looks directly at the camera.",
        "image_urls": [
            "https://cdn-us.eachlabs.ai/defaults/2d572d16b145463a853daa87f28cb2d0.png"
        ],
        "prompt_extend": true,
        "enable_thinking": true,
        "prompt_extend_mode": "direct"
    },
    "webhook_url": ""
}' \
  https://api.eachlabs.ai/v1/prediction/
Documentation8 sections
  • Overview

    Alibaba Qwen Image 2.1 Pro Image Edit Overview

    Qwen Image 2.1 Pro Image Edit transforms reference images with text instructions for visual revisions, creative variations, and design workflows on each::labs.

    Ordered reference images and a text instruction guide changes to an existing composition.

    Alibaba Qwen Image 2.1 Pro Image Edit from Alibaba is available through each::labs in the qwen family. Required fields are prompt, image_urls.

    negative_prompt: Describe content to exclude from the generated image. size: Output image size.

    Use the Alibaba Qwen Image 2.1 Pro Image Edit API when you need this transformation or analysis as a repeatable step in an application or creative pipeline. The sections below distinguish the required material, adjustable controls and checks that matter before delivery.

  • Capabilities

    Capabilities

    • Ordered reference images and a text instruction guide changes to an existing composition.
    • negative_prompt: Describe content to exclude from the generated image.
    • size: Output image size.
    • n: Number of output images, from 1 to 6.
    • image_urls: Provide 1 to 10 reference images in order.
  • Use cases

    Use Cases for Alibaba Qwen Image 2.1 Pro Image Edit

    Alibaba Qwen Image 2.1 Pro Image Edit is useful when this specific operation fits between source preparation and delivery. These scenarios show how it can support different parts of a working pipeline.

    Creators

    Revise a product background. Use a representative source or a concise brief, then inspect the result before preparing a larger set of assets.

    Design and marketing teams

    Combine ordered visual references. Compare the result with the intended message, composition and destination. Keep reviewable versions of the source and output.

    Developers

    Prepare a text-guided design variation. Inspect the actual returned value before connecting it to another step, and keep the chosen request settings with the result.

    Start with a clear definition of the desired result and use the exposed controls to reach it. Keep any additional generation, editing or application logic in separate steps so that the effect of this operation remains easy to review.

  • Tips & tricks

    Tips and Tricks

    Make the main subject, composition, lighting and intended visual style unambiguous. When references are available, state which details should be retained and which should change. Start with one clear creative direction before adding several competing requests.

    • size: Output image size.
    • n: Number of output images, from 1 to 6.
    • Example direction: “Replace the background with a softly lit studio; keep the subject, colors and framing unchanged.”
    • Example direction: “Make the lighting warmer while preserving the main subject and its visible details.”

    Compare one deliberate adjustment at a time. Inspect the part of the result affected by that change, then check the rest of the asset or response for unwanted side effects before reusing the settings.

  • Technical spec

    Technical Specifications

    • Result type: array.
    • Required fields: prompt, image_urls.
    • size: string; options 512*512, 1024*1024, 2048*2048, 2688*1536, 1536*2688, 2368*1728, 1728*2368, custom; default "1024*1024".
    • prompt: string.
    • negative_prompt: string or null.
    • n: integer; default 1; minimum 1; maximum 6.

    image_urls: Provide 1 to 10 reference images in order.

    Values must use the types and accepted options listed in the parameter reference. A displayed default does not remove a required-field requirement. Choose a supported output setting for this entry rather than borrowing a preset from a related model.

  • Things to be aware of

    Things to Be Aware Of

    Review lettering, small structures, edges and any requested product details at the intended display size. An attractive first impression is not enough to establish that a visual matches its brief.

    Optional settings are not necessarily interchangeable with those on another entry in the same family. Use the accepted names, types and values shown for this operation.

    For media-based inputs, supply a directly retrievable file URL rather than a page containing the asset. Keep the source available while processing. Check the final content in the destination player, editor or application, not only the request status.

  • Key considerations

    Key Considerations

    Thinking depends on prompt extension. Use direct extension for image editing; do not assume the text-to-image extension modes are also accepted for edits.

    $0.04 per generated image.

    Prepare prompt, image_urls before starting. Optional settings include negative_prompt, size, n. Keep these settings aligned with the intended delivery, especially when a later step expects a particular type or format.

    Run a representative request before scaling to a larger collection. Judge the result against the source and the brief, and account for all generated outputs or usage-sensitive options when estimating a batch.

  • Limitations

    Limitations

    • image_urls: minimum items: 1; maximum items: 10; item string; item format: uri; item pattern: ^https?://.
    • size: allowed values: ["512*512", "1024*1024", "2048*2048", "2688*1536", "1536*2688", "2368*1728", "1728*2368", "custom"].

    Unsupported parameters do not establish additional capabilities. A generated result can differ from the intended brief, so review detail and consistency before publication.

Related models

4 models
* FAQ

About Alibaba | Qwen Image | 2.1 | Pro | Image Edit

01 / 03

What is Qwen Image 2.1 Pro Image Edit?

Qwen Image 2.1 Pro Image Edit is an Alibaba image editing model that transforms existing images according to written instructions. Provide one to ten reference images and describe the changes you want. This separate model on each::labs requires reference images and does not replace the existing Text-to-Image integration.