Instructions to use prithivMLmods/Qwen-Image-Anime-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Qwen-Image-Anime-LoRA 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", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("prithivMLmods/Qwen-Image-Anime-LoRA") prompt = "Qwen Anime, An animated animated image of a man holding a sword in his right hand. The man is wearing a white collared shirt with a white collar. His left hand is raised in the air with a ring on it. His right hand is bent at the top of the handle of the sword. His eyes are blue and he has short black hair. His hair is cut in a ponytail that is falling to the right side of his head. The background is a vibrant blue color. To the right of the man is a window with a yellow door." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K