Model Details
Qwen-Image-Edit takes a source image plus a plain-language instruction and returns an edited version of that image. Describe the change you want — recolor an object, swap the background, restyle the scene, add or remove an element, or rewrite text in the picture — and it applies the edit while preserving the rest of the image. Its standout strength carries over from the Qwen-Image family: it edits and renders accurate, legible text directly inside the image in both English and Chinese, so signage, labels, and captions stay correct after the edit.
## Best for - Instruction-based edits to a photo or graphic — change colors, materials, backgrounds, lighting, or style - Adding or removing objects, people, or elements from an existing image - Editing or correcting the actual text inside an image (signs, posters, packaging, menus), including Chinese - Restyling a scene (e.g. photo to illustration) while keeping the subject and layout recognizable
## Choose another model when - You want to generate a brand-new image from a text prompt with no source image — use the text-to-image Qwen-Image - You need pixel-precise local edits confined to a hand-drawn mask region — use a dedicated inpainting model - You want video or animation from your image — use an image-to-video model
## Tips - Write the instruction as a direct edit command ("change the car to red", "replace the background with a sunny sky"), and name only what should change so the rest stays intact - To edit words in the image, quote the exact replacement text in the prompt - Leave `image_size` unset to keep the input's original dimensions; set a preset (e.g. `landscape_4_3`) or a custom `{ width, height }` object to reframe the output - Use `num_images` (1-4) to get several edit variations in a single call
## Limitations - Heavy, multi-step instructions in one prompt may apply only part of the requested change - Very small text or dense, multi-line passages can still introduce glyph errors after editing
To run via the ModelRunner JavaScript client: ```js import { modelrunner } from "@modelrunner/client";
const result = await modelrunner.subscribe("qwen/qwen-image-edit", { input: { prompt: "change the background to a sunny blue sky", image_url: "https://media.modelrunner.ai/example-input.jpg", num_images: 1, }, }); ```

