Downloads · 30 days
234
5% of all-time downloads
flymy-ai/qwen-image-anime-irl-lora
qwen-image-anime-irl-lora is a text-to-image model from flymy-ai. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
LoRA model that transforms anime-style prompts into photorealistic images for Qwen-Image
Downloads · 30 days
234
5% of all-time downloads
All-time downloads
5K
Public
Repo size
49.5 MB
Likes
53
Public
Click a slice to open those files.
.safetensors47.2 MB · 95%
From the Hugging Face model README
LoRA model that transforms anime-style prompts into photorealistic images for Qwen-Image
trigger word: "Real life Anime"
from diffusers import DiffusionPipeline
import torch
model_name = "Qwen/Qwen-Image"
# Load the pipeline
if torch.cuda.is_available():
torch_dtype = torch.bfloat16
device = "cuda"
else:
torch_dtype = torch.float32
device = "cpu"
pipe = DiffusionPipeline.from_pretrained(model_name, torch_dtype=torch_dtype)
pipe = pipe.to(device)
# Load LoRA weights
pipe.load_lora_weights("flymy-ai/qwen-image-anime-irl-lora", weight_name='flymy_anime_irl.safetensors', adapter_name="lora")
prompt = '''Real life Anime in a cozy kitchen, eating noodles with chopsticks, while a curious cat looks out the window.'''
negative_prompt = " "
image = pipe(
prompt=prompt,
negative_prompt=negative_prompt,
width=1024,
height=1024,
num_inference_steps=50,
true_cfg_scale=4,
generator=torch.Generator(device="cuda").manual_seed(4633346 + 2)
).images[0]
# Display the image (in Jupyter or save to file)
image.show()
# or
image.save("output.png")
Examples of anime characters transformed into photorealistic images:
We provide a ready-to-use ComfyUI workflow that works with our trained LoRA models. Follow these steps to set up and use the workflow:
Download the latest ComfyUI:
Install ComfyUI:
Download Qwen-Image model weights:
Place Qwen-Image weights in ComfyUI:
ComfyUI/models/Download our pre-trained LoRA weights:
.safetensors filesPlace LoRA weights in ComfyUI:
flymy-ai/qwen-image-lora/pytorch_lora_weights.safetensors to ComfyUI/models/loras/Load the workflow:
qwen_image_lora_example.json located in this repositoryThe ComfyUI workflow provides a user-friendly interface for generating images with our trained LoRA models without needing to write Python code.

Below are examples showing how our LoRA model transforms anime-style descriptions into photorealistic images:



If you have questions or suggestions, join our community:
⭐ Don't forget to star the repository if you like it!