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
File size: 134 Bytes
6d2acc4 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7b9c95806cc749f9ae93afaadc3a240d242d80fa91255079ebf2964a673c15ec
size 590058832
|