Instructions to use chinhtruong/kk-kontext-lora1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use chinhtruong/kk-kontext-lora1 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-Kontext-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("chinhtruong/kk-kontext-lora1") prompt = "katzkin_upholstery" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Katzkin Kontext LoRA Model
This is a custom-trained LoRA adapter for FLUX.1-Kontext-dev designed for premium automotive seat transformations (fabric-to-leather upholstery conversions).
Model Details
- Base Model:
black-forest-labs/FLUX.1-Kontext-dev - Trigger Word:
katzkin_upholstery - Training Steps: 1500 steps
- Training Dataset: 60 high-resolution real-world Katzkin upholstery installations.
How to use in 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("chinhtruong/kk-kontext-lora1", weight_name="katzkin_kontext_lora.safetensors")
pipe.fuse_lora(lora_scale=1.0)
pipe.to("cuda")
# Run inference matching your trigger word
# prompt = "katzkin_upholstery, Seat Tones Configuration: 2-Tone Face [Wrap: BLACK, Face: RED]..."
- Downloads last month
- 2
Model tree for chinhtruong/kk-kontext-lora1
Base model
black-forest-labs/FLUX.1-Kontext-dev