Instructions to use a3xrfgb/Qwen-2512-portrait with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use a3xrfgb/Qwen-2512-portrait 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-2512", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("a3xrfgb/Qwen-2512-portrait") prompt = "The image is a high-resolution photograph of a middle-aged woman with a fair complexion and light blue eyes. She has her blonde hair pulled back in a neat, low bun, with a few strands framing her face. Her expression is neutral, with a slight furrow between her eyebrows that adds a hint of seriousness or contemplation. She is wearing a black button-up shirt that has a smooth texture and a classic, modest collar. The background is a stark white, which creates a clean and minimalist look, focusing all attention on the subject. The lighting is soft and even, eliminating shadows and highlighting her facial features and the texture of her skin. The overall mood of the photograph is serious and perhaps introspective, with the woman's expression and the simplicity of the background contributing to this effect. There are no additional objects or distractions in the image, making it a pure portrait." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
.png)
- Xet hash:
- b2aa3738d3b77f3e25bae7895bbcdba5ce42c16fb0f2f28acddeabf1279d56af
- Size of remote file:
- 1.27 MB
- SHA256:
- c9bf0d92c847714694aa2a2bc5f35d4b378776ebf54c762f0a0bc37a409cf8b3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.