Instructions to use prithivMLmods/Qwen-Image-Synthetic-Face with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Qwen-Image-Synthetic-Face 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-Synthetic-Face") prompt = "Synthetic Face, a close-up shot of a young mans face features a maroon baseball cap adorned with a leather band. The mans hair is cut short and neatly trimmed. His eyes are a piercing blue, and his eyebrows are a darker shade of brown. He is wearing a gray tank top with a silver chain around his neck, adding a pop of color to his chest. The backdrop is a textured gray wall." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K