{"Code":200,"Data":{"AigcAttributes":"{}","AigcIsTop":0,"AigcType":"","AlreadyStar":false,"ApplyMeta":"{}","ApprovalMode":1,"ApprovalNotifyEmail":"","Architectures":[],"Avatar":"https://resouces.modelscope.cn/avatar/56d9e1ec-12f1-4d2b-a749-04ade9830aba.png","Backbone":[],"BackendSupport":{"architectures":null,"backend_info":{"deploy_task":null,"lmdeploy":null,"lmdeploy_turbomind":null,"ollama":null,"sglang":null,"vllm":null},"model_id":""},"BaseModel":[],"BaseModelRelation":"","CardReady":0,"CardUnreadyReason":"","CertificationCreateBy":"","CertificationCreatedTime":-62135596800,"ChineseName":"","CoverHeight":0,"CoverImages":[],"CoverWidth":0,"CreatedBy":"Cherrytest","CreatedTime":1755417492,"DashSdkParameter":"","Datasets":{},"DemoAvailable":0,"DemoUnavailableReason":"","Description":"","Domain":[],"Downloads":953404,"ExampleCodeAvailable":0,"ExampleCodeUnavailableReason":"","ForbiddenVisibilityUpdate":false,"Frameworks":["Pytorch"],"FromSite":"maas","Id":536583,"Integrating":0,"IntegrationFailureLog":"","IntegrationFailureReason":"","IsAccessible":1,"IsCertification":4,"IsHot":0,"IsNewModel":false,"IsOnline":1,"IsOrgClaimed":false,"IsPreTrain":0,"IsPublished":1,"IsTop":0,"Language":["en","zh"],"LastUpdatedTime":1758612733,"Libraries":["pytorch","safetensors","diffusers"],"License":"apache-2.0","LicenseLink":"","LicenseName":"","Meta":"","Metrics":[],"ModelDetail":{},"ModelInfos":{"safetensor":{"chat_template":"","files":[{"name":"text_encoder/model-00001-of-00004.safetensors","sha256":"d725335e4ea2399be706469e4b8807716a8fa64bd03468252e9f7acf2415fee4","size":4968243304},{"name":"text_encoder/model-00002-of-00004.safetensors","sha256":"b1830db6908dcc76df3a71492acbcf2b8cac130114cf1f3c2d9edae8de8c6de3","size":4991495816},{"name":"text_encoder/model-00003-of-00004.safetensors","sha256":"09c1807c6d00d7cab94f7db39d4c02ebb8537225ccde383861ac48db97945aa6","size":4932751040},{"name":"text_encoder/model-00004-of-00004.safetensors","sha256":"5dd068336d14d45ffb43cef374d286cc6ba9d8741b028f90a7d040d847961f4a","size":1691924384},{"name":"transformer/diffusion_pytorch_model-00001-of-00009.safetensors","sha256":"2003cdd961d3a94897f70a49c4cda975e9f92dd938adfeeba4f335f695570310","size":4989364312},{"name":"transformer/diffusion_pytorch_model-00002-of-00009.safetensors","sha256":"d20abf545941bbffe26e201276226332e6ad6a2d3d7a7a18fb45ec7006fcdc8a","size":4984214160},{"name":"transformer/diffusion_pytorch_model-00003-of-00009.safetensors","sha256":"1e4d15c80d388b630a97347694914cbc58ea9dc40e472305add52981ca02e856","size":4946470000},{"name":"transformer/diffusion_pytorch_model-00004-of-00009.safetensors","sha256":"e5baa4c61fbce2011ea179122a8dc4bfaefb5387feeee5eff765fb237977cbd1","size":4984213736},{"name":"transformer/diffusion_pytorch_model-00005-of-00009.safetensors","sha256":"c08a2489c7e11f09c9fd4aae929085a31199699f1fa4a2dd95fc65d1ab5c223c","size":4946471896},{"name":"transformer/diffusion_pytorch_model-00006-of-00009.safetensors","sha256":"901dfafc0de496f358e27b81af4155b889080aebd4417909303c70a260885fff","size":4946451560},{"name":"transformer/diffusion_pytorch_model-00007-of-00009.safetensors","sha256":"e8d9a14e343d841e425bb4f68c4be44b96d94730d328a175f4549bdde9114c96","size":4908690520},{"name":"transformer/diffusion_pytorch_model-00008-of-00009.safetensors","sha256":"f57b82e08f23a33af5a2a6dbf586180b4f5c9e69487d49112544ca5e8fe0d94e","size":4984232856},{"name":"transformer/diffusion_pytorch_model-00009-of-00009.safetensors","sha256":"b068de3d8644da55bc75f156ba50cd374f397f2fc49c8e8e00c0392db7cd3a70","size":1170918840},{"name":"vae/diffusion_pytorch_model.safetensors","sha256":"0c8bc8b758c649abef9ea407b95408389a3b2f610d0d10fcb054fe171d0a8344","size":253806966}],"model_size":28849460275,"tensor_type":["BF16"]}},"ModelRevisions":null,"ModelSource":"MODELSCOPE_BASE_MODEL","ModelTools":"","ModelType":[],"MuseInfo":null,"NEXA":{"Catalogues":null,"ModelCover":"","ScientificField":"","Source":"","SubScientificField":null},"Name":"Qwen-Image-Edit","NewVersion":"","NickName":"小橙鱼","OfficialTags":null,"OpenAiSwingDeployInfo":{"Order":0,"Recommend":null,"lmdeploy":{"eas":{"Script":"","requirements":""},"ens":{"Script":"","requirements":""},"fc":{"Script":"","requirements":""},"image_tag":""},"ollama":{"eas":{"Script":"","requirements":""},"ens":{"Script":"","requirements":""},"fc":{"Script":"","requirements":""},"image_tag":""},"pipeline":{"eas":{"Script":"","requirements":""},"ens":{"Script":"","requirements":""},"fc":{"Script":"","requirements":""},"image_tag":""},"vllm":{"eas":{"Script":"","requirements":""},"ens":{"Script":"","requirements":""},"fc":{"Script":"","requirements":""},"image_tag":""}},"Organization":{"ApplyFailureReason":"","ApplyReason":"","Avatar":"https://resources.modelscope.cn/avatar/4c40e6ce-1348-43b5-a3bc-6bafec6ac805.jpg","CreateCompetition":false,"CreatedBy":"Cherrytest","Description":"[\"root\",{},[\"p\",{},[\"span\",{\"data-type\":\"text\"},[\"span\",{\"data-type\":\"leaf\"},\"欢迎来到 Qwen 👋 !\"]]],[\"p\",{},[\"span\",{\"data-type\":\"text\"},[\"span\",{\"data-type\":\"leaf\"},\"这是 Qwen 的组织，来自阿里的大模型家族。在这个组织中，我们不断发布大型语言模型 (LLM)、大型多模态模型 (LMM) 和其他 AGI 相关项目。快来查看并享受吧！\"]]]]","DisplayUrl":"","Email":"","EmailDomain":"","FollowerCnt":0,"FromSite":"","FullName":"千问","GithubAddress":"https://qwen.ai/","GmtCreated":"2023-08-02T03:48:45Z","GmtModified":"2026-11-06T03:01:02Z","Id":209,"InitAdminMembers":"","IsApply":false,"IsCertification":"","MemberCnt":0,"Mobile":"","Name":"Qwen","Path":"","Roles":null,"SocialLinks":null,"StarCnt":0,"Status":0,"SubscribeVo":null,"Type":2},"PaiModelGalleryUrl":{"deploy":"https://account.aliyun.com/login/login.htm?oauth_callback=https%3A//pai.console.aliyun.com/regionId%3Dcn-hangzhou%23/quick-start/models/Qwen-Image-Edit/intro%3FviewType%3DDeploy%26from%3DModelScope\u0026lang=zh"},"PaiSdkParameter":null,"Path":"Qwen","ProtectedMode":2,"ReadMeContent":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/qwen_image_edit_logo.png\" width=\"400\"/\u003e\n\u003cp\u003e\n\u003cp align=\"center\"\u003e\n          💜 \u003ca href=\"https://chat.qwen.ai/\"\u003e\u003cb\u003eQwen Chat\u003c/b\u003e\u003c/a\u003e\u0026nbsp\u0026nbsp | \u0026nbsp\u0026nbsp🤗 \u003ca href=\"https://huggingface.co/Qwen/Qwen-Image-Edit\"\u003eHugging Face\u003c/a\u003e\u0026nbsp\u0026nbsp | \u0026nbsp\u0026nbsp🤖 \u003ca href=\"https://modelscope.cn/models/Qwen/Qwen-Image-Edit\"\u003eModelScope\u003c/a\u003e\u0026nbsp\u0026nbsp | \u0026nbsp\u0026nbsp 📑 \u003ca href=\"https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/Qwen_Image.pdf\"\u003eTech Report\u003c/a\u003e \u0026nbsp\u0026nbsp | \u0026nbsp\u0026nbsp 📑 \u003ca href=\"https://qwenlm.github.io/blog/qwen-image-edit/\"\u003eBlog\u003c/a\u003e \u0026nbsp\u0026nbsp \n\u003cbr\u003e\n🖥️ \u003ca href=\"https://huggingface.co/spaces/Qwen/Qwen-Image-Edit\"\u003eDemo\u003c/a\u003e\u0026nbsp\u0026nbsp | \u0026nbsp\u0026nbsp💬 \u003ca href=\"https://github.com/QwenLM/Qwen-Image/blob/main/assets/wechat.png\"\u003eWeChat (微信)\u003c/a\u003e\u0026nbsp\u0026nbsp | \u0026nbsp\u0026nbsp🫨 \u003ca href=\"https://discord.gg/CV4E9rpNSD\"\u003eDiscord\u003c/a\u003e\u0026nbsp\u0026nbsp| \u0026nbsp\u0026nbsp \u003ca href=\"https://github.com/QwenLM/Qwen-Image\"\u003eGithub\u003c/a\u003e\u0026nbsp\u0026nbsp\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_homepage.jpg\" width=\"1600\"/\u003e\n\u003cp\u003e\n\n\n# Introduction\nWe are excited to introduce Qwen-Image-Edit, the image editing version of Qwen-Image. Built upon our 20B Qwen-Image model, Qwen-Image-Edit successfully extends Qwen-Image’s unique text rendering capabilities to image editing tasks, enabling precise text editing. Furthermore, Qwen-Image-Edit simultaneously feeds the input image into Qwen2.5-VL (for visual semantic control) and the VAE Encoder (for visual appearance control), achieving capabilities in both semantic and appearance editing. To experience the latest model, visit [Qwen Chat](https://qwen.ai) and select the \"Image Editing\" feature.\n\nKey Features:\n\n* **Semantic and Appearance Editing**: Qwen-Image-Edit supports both low-level visual appearance editing (such as adding, removing, or modifying elements, requiring all other regions of the image to remain completely unchanged) and high-level visual semantic editing (such as IP creation, object rotation, and style transfer, allowing overall pixel changes while maintaining semantic consistency).\n* **Precise Text Editing**: Qwen-Image-Edit supports bilingual (Chinese and English) text editing, allowing direct addition, deletion, and modification of text in images while preserving the original font, size, and style.\n* **Strong Benchmark Performance**: Evaluations on multiple public benchmarks demonstrate that Qwen-Image-Edit achieves state-of-the-art (SOTA) performance in image editing tasks, establishing it as a powerful foundation model for image editing.\n\n\n\n## Quick Start\n\nInstall the latest version of diffusers\n```\npip install git+https://github.com/huggingface/diffusers\n```\n\nThe following contains a code snippet illustrating how to use the model to generate images based on text prompts:\n\n```python\nimport os\nfrom PIL import Image\nimport torch\n\nfrom diffusers import QwenImageEditPipeline\n\npipeline = QwenImageEditPipeline.from_pretrained(\"Qwen/Qwen-Image-Edit\")\nprint(\"pipeline loaded\")\npipeline.to(torch.bfloat16)\npipeline.to(\"cuda\")\npipeline.set_progress_bar_config(disable=None)\nimage = Image.open(\"./input.png\").convert(\"RGB\")\nprompt = \"Change the rabbit's color to purple, with a flash light background.\"\ninputs = {\n    \"image\": image,\n    \"prompt\": prompt,\n    \"generator\": torch.manual_seed(0),\n    \"true_cfg_scale\": 4.0,\n    \"negative_prompt\": \" \",\n    \"num_inference_steps\": 50,\n}\n\nwith torch.inference_mode():\n    output = pipeline(**inputs)\n    output_image = output.images[0]\n    output_image.save(\"output_image_edit.png\")\n    print(\"image saved at\", os.path.abspath(\"output_image_edit.png\"))\n\n```\n\n## Showcase\nOne of the highlights of Qwen-Image-Edit lies in its powerful capabilities for semantic and appearance editing. Semantic editing refers to modifying image content while preserving the original visual semantics. To intuitively demonstrate this capability, let's take Qwen's mascot—Capybara—as an example:\n![Capibara](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片3.JPG#center)\nAs can be seen, although most pixels in the edited image differ from those in the input image (the leftmost image), the character consistency of Capybara is perfectly preserved. Qwen-Image-Edit's powerful semantic editing capability enables effortless and diverse creation of original IP content.\nFurthermore, on Qwen Chat, we designed a series of editing prompts centered around the 16 MBTI personality types. Leveraging these prompts, we successfully created a set of MBTI-themed emoji packs based on our mascot Capybara, effortlessly expanding the IP's reach and expression.\n![MBTI meme series](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片4.JPG#center)\nMoreover, novel view synthesis is another key application scenario in semantic editing. As shown in the two example images below, Qwen-Image-Edit can not only rotate objects by 90 degrees, but also perform a full 180-degree rotation, allowing us to directly see the back side of the object:\n![Viewpoint transformation 90 degrees](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片12.JPG#center)\n![Viewpoint transformation 180 degrees](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片13.JPG#center)\nAnother typical application of semantic editing is style transfer. For instance, given an input portrait, Qwen-Image-Edit can easily transform it into various artistic styles such as Studio Ghibli. This capability holds significant value in applications like virtual avatar creation:\n![Style transfer](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片1.JPG#center)\nIn addition to semantic editing, appearance editing is another common image editing requirement. Appearance editing emphasizes keeping certain regions of the image completely unchanged while adding, removing, or modifying specific elements. The image below illustrates a case where a signboard is added to the scene. \nAs shown, Qwen-Image-Edit not only successfully inserts the signboard but also generates a corresponding reflection, demonstrating exceptional attention to detail.\n![Adding a signboard](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片6.JPG#center)\nBelow is another interesting example, demonstrating how to remove fine hair strands and other small objects from an image.\n![Removing fine strands of hair](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片7.JPG#center)\nAdditionally, the color of a specific letter \"n\" in the image can be modified to blue, enabling precise editing of particular elements.\n![Modifying text color](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片8.JPG#center)\nAppearance editing also has wide-ranging applications in scenarios such as adjusting a person's background or changing clothing. The three images below demonstrate these practical use cases respectively.\n![Modifying backgrounds](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片11.JPG#center)\n![Modifying clothing](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片5.JPG#center)\nAnother standout feature of Qwen-Image-Edit is its accurate text editing capability, which stems from Qwen-Image's deep expertise in text rendering. As shown below, the following two cases vividly demonstrate Qwen-Image-Edit's powerful performance in editing English text:\n![Editing English text 1](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片15.JPG#center)\n![Editing English text 2](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片16.JPG#center)\nQwen-Image-Edit can also directly edit Chinese posters, enabling not only modifications to large headline text but also precise adjustments to even small and intricate text elements.\n![Editing Chinese posters](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片17.JPG#center)\nFinally, let's walk through a concrete image editing example to demonstrate how to use a chained editing approach to progressively correct errors in a calligraphy artwork generated by Qwen-Image:\n![Calligraphy artwork](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片18.JPG#center)\nIn this artwork, several Chinese characters contain generation errors. We can leverage Qwen-Image-Edit to correct them step by step. For instance, we can draw bounding boxes on the original image to mark the regions that need correction, instructing Qwen-Image-Edit to fix these specific areas. Here, we want the character \"稽\" to be correctly written within the red box, and the character \"亭\" to be accurately rendered in the blue region.\n![Correcting characters](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片19.JPG#center)\nHowever, in practice, the character \"稽\" is relatively obscure, and the model fails to correct it correctly in one step. The lower-right component of \"稽\" should be \"旨\" rather than \"日\". At this point, we can further highlight the \"日\" portion with a red box, instructing Qwen-Image-Edit to fine-tune this detail and replace it with \"旨\".\n![Fine-tuning character](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片20.JPG#center)\nIsn't it amazing? With this chained, step-by-step editing approach, we can continuously correct character errors until the desired final result is achieved.\n![Final version 1](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片21.JPG#center)\n![Final version 2](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片22.JPG#center)\n![Final version 3](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片23.JPG#center)\n![Final version 4](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片24.JPG#center)\n![Final version 5](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/edit_en/幻灯片25.JPG#center)\nFinally, we have successfully obtained a completely correct calligraphy version of *Lantingji Xu (Orchid Pavilion Preface)*!\nIn summary, we hope that Qwen-Image-Edit can further advance the field of image generation, truly lower the technical barriers to visual content creation, and inspire even more innovative applications.\n\n\n## License Agreement\n\nQwen-Image is licensed under Apache 2.0. \n\n## Citation\n\nWe kindly encourage citation of our work if you find it useful.\n\n```bibtex\n@misc{wu2025qwenimagetechnicalreport,\n      title={Qwen-Image Technical Report}, \n      author={Chenfei Wu and Jiahao Li and Jingren Zhou and Junyang Lin and Kaiyuan Gao and Kun Yan and Sheng-ming Yin and Shuai Bai and Xiao Xu and Yilei Chen and Yuxiang Chen and Zecheng Tang and Zekai Zhang and Zhengyi Wang and An Yang and Bowen Yu and Chen Cheng and Dayiheng Liu and Deqing Li and Hang Zhang and Hao Meng and Hu Wei and Jingyuan Ni and Kai Chen and Kuan Cao and Liang Peng and Lin Qu and Minggang Wu and Peng Wang and Shuting Yu and Tingkun Wen and Wensen Feng and Xiaoxiao Xu and Yi Wang and Yichang Zhang and Yongqiang Zhu and Yujia Wu and Yuxuan Cai and Zenan Liu},\n      year={2025},\n      eprint={2508.02324},\n      archivePrefix={arXiv},\n      primaryClass={cs.CV},\n      url={https://arxiv.org/abs/2508.02324}, \n}\n```\n\n## Join Us\nIf you're passionate about fundamental research, we're hiring full-time employees (FTEs) and research interns. Don't wait — reach out to us at fulai.hr@alibaba-inc.com\n\n","ReadMeTips":null,"RelatedArxivId":["2508.02324"],"RelatedPaper":[174349],"Revision":"master","Stars":342,"StorageSize":57720468454,"Studios":[],"SubVisionFoundation":"","SupportApiInference":false,"SupportDashDeployment":0,"SupportDashInference":0,"SupportDashTraining":0,"SupportDeployment":0,"SupportExperience":1,"SupportFinetuning":0,"SupportFlexTrain":0,"SupportInference":"img2img","SupportPaiModelGallery":["deploy"],"SupportPaiSdk":0,"SupportPivotEval":false,"SwingDeployInfo":null,"Tags":[],"Tasks":[{"ChineseName":"图片生成图片","Description":"","DomainName":"multi-modal","Id":300,"IsExhibition":true,"IsHot":0,"IsLeaf":true,"IsLoginRequired":true,"IsRetrieval":true,"Level":1,"Name":"image-to-image","ParentId":-1,"ParentTask":null,"Sorting":0,"SupportWidgets":false,"TypicalModel":"","WidgetConfig":"{}","WidgetValidator":""}],"Tools":[],"TriggerWords":null,"Visibility":5,"VisionFoundation":"QWEN_IMAGE_20_B","_":null,"widgets":[{"enable":true,"enabled":false,"examples":[{"inputs":[{"data":["https://resources.modelscope.cn/aigc/image_edit.png"],"name":"image"},{"data":"turn the girl's hair blue","name":"text"}],"name":"","parameters":null,"title":""}],"inferencespec":null,"inputs":null,"parameters":null,"task":"image-to-image","template":{"general":true}}]},"Message":"success","RequestId":"7066dada-2754-48d6-89a2-b511fafba38d","Success":true}