Instructions to use prithivMLmods/Qwen-Image-Fragmented-Portraiture with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Qwen-Image-Fragmented-Portraiture 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-Fragmented-Portraiture") prompt = "Fragmented Portraiture, a close-up shot of a young Asian girls face is seen through a transparent window. The girls head is tilted slightly to the left, and his eyes are wide open. Her hair is a vibrant shade of black, and he is wearing a white collared shirt with a white collar. Her lips are painted a bright pink, adding a pop of color to the scene. The backdrop is a stark white, creating a stark contrast to the boys body. The window is made up of thin, light-colored wooden blinds, adding depth to the image." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K