How to use joyfox/Qwen-Image-EVA-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("joyfox/Qwen-Image-EVA-LoRA") prompt = "mrx, The image is a digital illustration of an animated female character, likely from an anime or manga series. She has long, flowing orange hair with two small red horns on her head, which could suggest she is a fantasy or supernatural character. Her eyes are blue and expressive, adding to her lively demeanor. The character is wearing a form-fitting bodysuit that is predominantly red with black accents, including stripes along the legs and around the waist. The suit also features a green collar and cuffs, as well as some silver-colored buttons and fastenings, giving it a sleek and tactical appearance.She is posing playfully with one hand on her hip and the other near her face, winking at the viewer. This pose conveys confidence and a sense of fun. The background is minimalistic, featuring what appears to be a metallic wall with rivets, which complements the industrial aesthetic often found in sci-fi or mecha-related genres. There is no explicit context provided within the image itself, but the character's attire and design suggest themes of action, adventure, or science fiction. " image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!