Instructions to use drbaph/GlassPrism-kontext-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use drbaph/GlassPrism-kontext-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("drbaph/GlassPrism-kontext-LoRA") prompt = "make this logo a glass prism with reflections, black background" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Glass Prism Kontext Dev LoRA

- Prompt
- make this logo a glass prism with reflections, black background

- Prompt
- make this logo a glass prism, black background

- Prompt
- make this logo a glass prism with reflections, black background

- Prompt
- make this object a glass prism with reflections

- Prompt
- make this object a glass prism with reflections

- Prompt
- make this object a glass prism with reflections

- Prompt
- make this object a glass prism, with reflections. black background
Model Description
Transform any object or logo into a stunning frosted glass prism with realistic light refraction effects. This LoRA is trained on the FLUX.1-Kontext-dev base model and specializes in creating glass-like transformations with optional reflections and customizable backgrounds.
Features
- ✨ Converts objects/logos to glass prism style
- 🌟 Optional light reflections and refraction effects
- 🎨 Customizable backgrounds (black/white/original)
- 🔧 Works with FLUX.1-Kontext-dev I2I
Usage
Trigger Words
make this object a glass prism with reflections
Example Prompts
make this logo a glass prism with reflections, black backgroundmake this object a glass prism, white backgroundmake this object a glass prism
Parameters
- Strength: 0.9-1.2 (recommended: 1.0)
- Steps: 25-34
Download Model & Workflow
Examples Gallery
The widget above shows various transformations created with this LoRA. Notice how different objects and logos are converted into realistic glass prisms with beautiful light refraction effects.
Technical Details
- Base Model: black-forest-labs/FLUX.1-Kontext-dev
- Training Method: LoRA (Low-Rank Adaptation)
- Model Type: Image-to-Image transformation
- License: FLUX.1-dev Non-Commercial License
Created by DrBaph
- Downloads last month
- 46
Model tree for drbaph/GlassPrism-kontext-LoRA
Base model
black-forest-labs/FLUX.1-Kontext-dev