Instructions to use XLabs-AI/flux-RealismLora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use XLabs-AI/flux-RealismLora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("XLabs-AI/flux-RealismLora") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Prompt help
Firstly, this is amazing!! But I need a little help. I love how you don't need much detail in the prompt to get amazing quality, lifelike images but mine are always heavily focused on the subject matter. The image is great but how do I get it to zoom out more to give a field of view? I'm not a prompt wordsmith and and trying to learn as I go. Hopefully someone can share a prompt structure. Thanks
This image was made with the prompt - A professional environment with two individuals or a small group in a relaxed, conversational pose, over a coffee with open notebooks and a laptop. One individual is actively listening while the other speaks, with open body language and visible engagement (e.g., leaning slightly forward, making eye contact)