Instructions to use furaidosu/masha2d-cartoon-qwen-image-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use furaidosu/masha2d-cartoon-qwen-image-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("furaidosu/masha2d-cartoon-qwen-image-lora") prompt = "Masha is depicted from the knees up against a plain white background. She is smiling widely with an open mouth. She wears a large, magenta-pink kerchief or shawl over her head, tied under her chin, with a distinctive light tan, semicircular, woven straw brim protruding over her forehead. Masha is dressed in a long-sleeved white shirt or dress, partially visible at her neck and arms. She stands on her small feet, which are wearing pink shoes with bright yellow soles. Masha is holding and playing a large, acoustic guitar that dominates her torso. The guitar has a rich, orange-brown wooden body with a dark soundhole and a light-colored scratch plate. The six-stringed neck and dark brown headstock are clearly visible, angled up to the right. Her right hand is placed over the strings near the soundhole as if strumming, and her left hand is positioned on the fretboard. The figure is brightly lit and centered. character design on white background" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K