Instructions to use smshahbaj/RIFA-Lumina with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use smshahbaj/RIFA-Lumina 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("smshahbaj/RIFA-Lumina") prompt = "rifa lumina, a girl in a yellow raincoat standing at a rainy crossing at dusk, colored shop lights blurred behind her, soft gray rain light with shimmering reflections, wide cinematic shot" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
🎨 RIFA Lumina
Cinematic, luminous illustrations of skies, cities and quiet moments
Trigger: rifa lumina
About
RIFA Lumina is a FLUX.1-dev LoRA for cinematic, luminous illustrations: vast skies and towering clouds, golden-hour gradients, rain with colored bokeh, starry nights, trains and crossings, quiet rooms full of light, and gentle touches of wonder. People are usually small against a big, glowing world.
Created by SM Shahbaj as part of the RIFA project family.
Training data
The training set is synthetic: 640 images across 32 categories (skies and clouds, twilight cities, rain, trains, countryside, school rooftops, seaside, night skies, festivals, night shops, interiors with light, streets, mountains, seasons, longing, gentle fantasy, rivers and bridges, rooftops, bicycles, food and warmth, markets, snow towns, Bengal delta life, travel, craft, pets, sports, music and art, nostalgia, cosmos, architecture, weather).
What's included
| File | Description |
|---|---|
pytorch_lora_weights.safetensors |
Standard Diffusers format |
RIFA-Lumina.safetensors |
Single file (ComfyUI / other UIs) |
training_config.json |
Training hyperparameters |
inference.py |
Ready-to-run Python example |
comfyui_workflow_RIFA_Lumina.json |
Basic ComfyUI workflow |
showcase/ |
Example images |
Examples
1. Rainy crossing
Prompt: rifa lumina, a girl in a yellow raincoat standing at a rainy crossing at dusk, colored shop lights blurred behind her, soft gray rain light with shimmering reflections, wide cinematic shot
2. Rooftop stargazing
Prompt: rifa lumina, two friends lying on a rooftop at night staring up at a sky crowded with stars and the milky way, deep indigo sky, city lights glowing below
3. Station at sunset
Prompt: rifa lumina, a small rural station at sunset, a single passenger on a bench and a train approaching through golden clouds, golden hour light with soft lens flare
4. Summer road
Prompt: rifa lumina, a boy on a bicycle coasting down a country road under towering summer clouds, fresh greens against a sparkling blue sky, wide shot
5. Window at dusk
Prompt: rifa lumina, a girl reading by a tall window at dusk with a cat on the sill, the sky outside glowing pink and violet, warm lamp glow
6. Floating island
Prompt: rifa lumina, a girl on a floating island in the sky at sunset, a small house and a single tree, glowing clouds drifting below
Usage (Diffusers)
from diffusers import FluxPipeline
import torch
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("smshahbaj/RIFA-Lumina")
pipe.enable_model_cpu_offload()
prompt = "rifa lumina, a boy on a bicycle coasting down a country road under towering summer clouds"
image = pipe(prompt, num_inference_steps=20, guidance_scale=3.5,
height=512, width=512).images[0]
image.save("rifa_lumina.png")
Prompt tips
- Start the prompt with
rifa lumina, then describe the scene in full sentences: who, what they are doing, the place, small props. - Add the sky and the light: towering clouds, golden hour with soft lens flare, rain-streaked air with a soft glow of distant lights, deep indigo sky full of stars.
- Add a palette and a camera hint: vivid saturated blues and luminous whites, wide cinematic shot with a tiny figure against a vast sky.
- Works for people, landscapes, cityscapes, interiors and gentle fantasy.
License
Released under the FLUX.1 [dev] Non-Commercial License (non-commercial use only). The source style LoRA (InstantX) is also released under the FLUX.1 [dev] Non-Commercial License.
Creator
SM Shahbaj · huggingface.co/smshahbaj
- Downloads last month
- 44
Model tree for smshahbaj/RIFA-Lumina
Base model
black-forest-labs/FLUX.1-dev