Generate and edit images with Qwen Image 2.1
Qwen Image 2.1 is an image creation app maintained by Olares. It runs the Qwen Image 2.1 model locally to generate pictures from text and edit existing images. You can combine reference images, change a selected area, extend a composition, and remove backgrounds through a visual interface.
AI prompt enhancement uses a chat model connected through Router to help refine your descriptions.
Learning objectives
- Install the app and download its image models.
- Configure a chat model for AI prompt enhancement.
- Create a product image, then refine its colors, composition, and background.
- Find, reuse, and download your results.
Prerequisites
- Olares 1.12.8 or later and an administrator account for installation and model configuration.
- An NVIDIA GPU supported by the app. The package requests 22 GiB of GPU memory and 32 GiB of system memory.
- Space for the app, generated images, and model weights. The default INT8 weights require approximately 25 GB of downloads.
Install the app and prepare the image models
- Open Market and search for "Qwen Image 2.1".
- Click Get, then Install, and wait for installation to complete.
- Open Qwen Image 2.1 from Launchpad. On first start, the app downloads the INT8 image models by default. Wait for the download screen to finish and the workspace to open.
- In Settings > Models, check that the INT8 weights show Installed. Click Open the Model Console to view file download progress and checksums. Once the models have downloaded and the generation service is ready, you can submit your first task.
The examples below use INT8. To try NVFP4, download its weights in Settings > Models, then select that precision when generating an image.
INT8 and NVFP4
INT8 and NVFP4 are two formats of the model weights. INT8 is the default and balances image quality, generation speed, and GPU memory use. NVFP4 is a third-party format that needs less GPU memory and generates faster, with some loss of image quality.
Configure a chat model for AI enhancement
Use your own prompts directly to generate and edit pictures, or connect a chat model to refine your descriptions with AI enhance.
This guide uses Qwen3.8-27B (llama.cpp), a local chat model that can also receive reference images.
Install "Qwen3.8-27B (llama.cpp)" from Market. When the installation completes, open its Model Console and wait for Model to show Ready and Engine to show Running.
For another model, install its packaged app or follow Run local LLMs with Engine Base apps.
Open Router from Launchpad, go to Default models, and select the chat model for
default-chat.Return to Qwen Image 2.1, go to Settings > AI optimize, and click Refresh to reload the chat models from Router.
In Chat model, keep Router default (default-chat) to follow Router's default, or select a specific model from the list. Confirm that the status shows Ready.
Models marked sees images can use your reference images when rewriting the prompt. With a text-only model, enhancement uses the text alone. A specific model selection applies independently of Router's default.
Create and edit images
Use the coffee mug examples below to create a product photograph and adapt it for different uses. Substitute your own product and desired changes as needed.
Generate an image from text
Go to Apps and select Generate image. For a new image from text alone, remove any existing reference images with their remove buttons.
Enter a description in Prompt. For example:
textA clean product photograph of a matte teal ceramic coffee mug on a warm ivory tabletop, soft morning window light from the left, a few coffee beans beside the mug, minimalist composition, no text, no logo.Optionally, click AI enhance to refine your description. Review the rewritten prompt and edit any details you do not want before generating.
Optionally, to enhance without translating or to translate only, click the arrow beside AI enhance and select Enhance, keep the language or Translate to English only.
Set Aspect to 1:1 and Images to 1.
Under Advanced settings, set the remaining options:
Setting This tutorial How to choose Resolution 1K Select 2K when generating a higher-resolution version. Precision INT8 Keep the default. Speed Quality priority Fixed when generating from text. Seed Random Lock a seed to compare prompt changes from the same starting point. Click Generate and wait for the task to complete. Open the result to preview it.
Edit an existing image
Use a text instruction to change an image while keeping its composition. For example, make a second color option for the same mug.
Open the generated mug image and click Edit. It becomes the first reference image, and the aspect setting changes to Image 1.
Describe the change and what should remain unchanged:
textChange only the mug color to terracotta orange. Keep its shape, handle, position, the coffee beans, tabletop, lighting and framing unchanged.Keep Aspect set to Image 1, then click Generate.
Open the result and click the Compare with the original icon in the top-right corner. Move the divider to inspect the edited and original areas.

To start with your own photo, select Generate image, use Add images to upload it or choose it from the library, and select Image 1 for the aspect. The first reference is the image being edited.
Create a new composition from references
Reference generation combines elements from images into a new composition. Add references in the input panel and choose an output ratio for the new image.
Go to Apps, select Generate image, and add your reference images. You can add up to 10, including images already in Library.
Open a reference thumbnail to set its Image role, such as Product, Person, Style, or Scene. For a mug photograph, choose Product to indicate which design to preserve.
In Prompt, type
@and select an image from the list. Refer to each image where you explain how it should be used. For example, identify the mug image and a café interior image, then ask for the mug on a table in that café.textPlace the mug from @[product reference] on a table in @[café reference]. Put it near the center of the table, fully on the surface and away from the edge, at a size that looks natural in the scene. Keep the mug's color, shape and handle. Use warm morning light and leave empty space on the right for a headline. Do not add text.Insert each image reference by typing
@, replacing the bracketed placeholder.Select an output ratio, such as 16:9 for a wide composition.
Choose the resolution and image count, then click Generate. Check the product's shape and details in the result before using it.

Change a selected area
Use Inpaint for a change limited to part of an image, such as removing the coffee beans beside the mug.
Open the orange mug result and click Inpaint.
Click Paint mask. Paint over the coffee beans and their immediate shadows, leaving enough room for the change to blend into the surroundings. Adjust Size, use Eraser to refine the selection, or use Undo and Clear to correct it.
Click Done. The input panel now offers Edit mask and Remove mask.
Under What should change, enter:
textRemove the coffee beans and fill their area with the same warm ivory tabletop texture. Keep the mug and the rest of the photograph unchanged.Click Apply edit. When the result is ready, compare it with the original and inspect the selection's edges.

Extend the composition
Use Extend to make room around an existing image, such as adding space for a headline beside the mug.
Open the image and click Extend. To start from Apps instead, add a Source image and use Adjust position and size to open the same canvas editor.
In the canvas editor, choose 16:9, or choose Same shape and a multiplier such as 1.5x, 2x, or 3x to expand in the original proportions.
Drag the original image within the canvas to control where new content is added. For space on the right, move the original toward the left. Check the preview and displayed dimensions.
Click Extend in the editor to submit the task.
Open the result and inspect the join between the original and the new area. If the new area does not match the original background, retry with a smaller expansion, or use Inpaint to fix the junction.

Remove a background
Open the image and click Remove background.
Confirm the intended picture appears under Source image, then click Remove background in the input panel.
Open the completed result. The checkerboard indicates transparent areas. Inspect fine edges and the inside of the mug handle.
Click Download to save the PNG with transparency.

Continue from a result
Open a result and the actions below it let you carry the work forward:
| Action | Use |
|---|---|
| Use as source image | Add the result as an input to another composition. |
| Edit | Make a described change to this image. |
| Inpaint, Extend, Remove background | Start the corresponding tool with this image, the same as on the Apps page. |
| Generate variations | Generate alternatives from the same prompt and settings with new random seeds. |
| Reuse settings | Return the prompt and generation settings to the input panel so you can change them before submitting another task. |
Find and download your work
Besides Apps, two more pages manage your work. The Image page groups your results by generation task, and Library collects your assets. Both pages support search and download.
- Search on Image: Go to Image and use Search prompts to find a generation by its description, or narrow results by type and date with Filters.
- Search on Library: Go to Library and use Search names to find an asset.
- Download from either page: Open an image and click Download. To download several at once, select their checkboxes and click Download.
Common issues
Why can't I generate images after opening the app?
Open Settings > Models and the Model Console to check download and startup progress. Once the weights show Installed and the generation service is ready, submit your task.
How do I resolve "No chat model in Router"?
Confirm that the chat model is available in Router, then click Refresh under AI optimize in the app's Settings. While setting up enhancement, you can enter your own prompts to generate images.
What should I do if prompt enhancement reports a lost image reference?
The app keeps the original prompt. Continue with that prompt, or simplify it and try enhancement again. Check that the rewritten prompt references the intended images before generating.
How do I preserve the composition when editing an image?
Place the image you want to edit first in the reference tray and set Aspect to Image 1. To change a specific area, use Inpaint and paint a mask over that area.
What should I do if generation runs out of GPU memory?
Read the failed task's error message, then try generating at 1K with fewer reference images.
Learn more
- Run local LLMs with Engine Base apps: Prepare another local chat model for prompt enhancement.
- Olares Router: Manage the models available to Olares apps.