Text-to-Image
Diffusers
lora
stable-diffusion
cosplay
image-editing
ai-image-generation
template:diffusion-lora
Instructions to use Leon1000/Qwen-Image-Edit-Cosplay with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Leon1000/Qwen-Image-Edit-Cosplay with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Leon1000/Qwen-Image-Edit-Cosplay") prompt = "-" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - stable-diffusion | |
| - cosplay | |
| - image-editing | |
| - ai-image-generation | |
| - template:diffusion-lora | |
| widget: | |
| - output: | |
| url: images/output1.jpg | |
| text: '-' | |
| - output: | |
| url: images/output2.jpg | |
| text: '-' | |
| - output: | |
| url: images/output3.jpg | |
| text: '-' | |
| - output: | |
| url: images/output4.jpg | |
| text: '-' | |
| base_model: Qwen/Qwen-Image-Edit-2509 | |
| instance_prompt: 把图2中动漫人物中的发型,服饰和装扮道具迁移到图1的真实人物,图1真实人物保持高度人脸一致性 | |
| license: apache-2.0 | |
| # Qwen-Image-Edit-Cosplay LoRA:动漫角色装扮迁移(换衣)模型 | |
| <Gallery /> | |
| ## 🎨 效果对比展示 | |
| | 真实人物原图 | 动漫角色参考 | AI生成效果 | | |
| |:---:|:---:|:---:| | |
| |  |  |  | | |
| |  |  |  | | |
| |  |  |  | | |
| |  |  |  | | |
| ## 模型描述 | |
| Qwen-Image-Edit-Cosplay LoRA 是一个基于Qwen-Image-Edit-2509图像编辑模型的微调版本,专门用于动漫角色装扮迁移任务。该模型能够将动漫人物的发型、服饰和装饰道具精准地迁移到真实人物图像上,同时保持原始人物的面部特征高度一致。 | |
| **核心功能特点:** | |
| - 实现从动漫到真实人物的装扮风格转换 | |
| - 保持原始人脸识别特征不变 | |
| - 支持发型、服装、配饰等多种元素的迁移 | |
| - 基于Qwen-Image-Edit-2509基础模型优化 | |
| ## 触发提示词 | |
| 使用以下中文提示词来激活图像生成功能: | |
| `把图2中动漫人物中的发型,服饰和装扮道具迁移到图1的真实人物,图1真实人物保持高度人脸一致性` | |
| ## 模型下载与使用 | |
| 您可以在 [模型文件页面](/valiantcat/Qwen-Image-Edit-Cosplay/tree/main) 下载并使用这个LoRA模型。该模型兼容主流的diffusers库,便于集成到现有的AI图像生成工作流中。 | |
| **许可证:** Apache-2.0 | |
| --- | |
| *适用于角色扮演、创意设计和图像编辑等场景* |