Downloads · 30 days
29
43% of all-time downloads
nivas25/rekh-sanganeri-lora
rekh-sanganeri-lora is a text-to-image model from nivas25. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
<div align="center" <img src="https://ik.imagekit.io/nivas25/Rekh/logo.png?updatedAt=1787032210771" width="300" alt="Rekh Logo" <h1Rekh: Sanganeri Hand-Block Print LoRA for FLUX.1-dev</h1 </div
Downloads · 30 days
29
43% of all-time downloads
All-time downloads
68
Public
Repo size
1 GB
Likes
1
Public
Click a slice to open those files.
.safetensors1 GB · 100%
From the Hugging Face model README
Rekh is a high-fidelity LoRA (Low-Rank Adaptation) fine-tuned on the FLUX.1-dev base model, designed to accurately generate authentic Sanganeri hand-block prints. Sanganeri printing is a centuries-old traditional textile art from Rajasthan, India, characterized by delicate floral motifs, specific natural dye colors (Syahi, Begar), and intricate black outlines known as rekh.
This model forces the AI to respect the physical laws of hand-block printing, rendering accurate fabric textures, subtle ink bleeds, and slight stamp misalignments, completely eliminating the "digital vector art" aesthetic that base models typically produce.
To ensure absolute authenticity, we developed a highly rigorous dataset curation pipeline:
black-forest-labs/FLUX.1-devbf16)(Note: We also experimented with a DoRA Rank 64 model, but found that the standard LoRA Rank 32 achieved vastly superior spatial understanding of the dense floral patterns without overfitting our curated dataset.)
For the best authentic block-print results:
sanganeri hand block print (must be prepended to your prompt)1.0 (The model is highly stable and does not fry at full weight)3.5 (Yields crisp, authentic black rekh outlines. Lower values like 2.0 give a softer, artistic output.)28import torch
from diffusers import FluxPipeline
# Load the base FLUX.1-dev pipeline
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.enable_model_cpu_offload()
# Load the Rekh Sanganeri LoRA
pipe.load_lora_weights("nivas25/rekh-sanganeri-lora", weight_name="rekh_sanganeri_lora_v2.safetensors")
# Generate!
prompt = "sanganeri hand block print, flowing vines with blue flowers and green leaves on white background, fine rekh outlines, traditional Rajasthani textile"
image = pipe(
prompt,
num_inference_steps=28,
guidance_scale=3.5,
generator=torch.Generator("cpu").manual_seed(888)
).images[0]
image.save("sanganeri_output.jpg")
In our comprehensive "Mega Showdown" benchmarking, Rekh successfully handled extremely complex, out-of-domain prompts while maintaining the rigid aesthetic laws of block printing.
Here is a 5-prompt comparison showing the progression of the models:
Prompt: "Sanganeri hand block print, magnificent large-scale Tree of Life motif in vivid emerald green and ruby red on a crisp white background, fine black rekh outlines..."
| FLUX.1-dev Base | LoRA v1 | DoRA v1 | LoRA v2 (Final) |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
Prompt: "Sanganeri hand block print, a majestic peacock (Mor) with a fully fanned tail, printed in brilliant sapphire and jade green against a soft cream background..."
| FLUX.1-dev Base | LoRA v1 | DoRA v1 | LoRA v2 (Final) |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
Prompt: "Sanganeri hand block print, completely packed layout of overlapping miniature jasmine flowers, deep blue and white on a dark indigo background..."
| FLUX.1-dev Base | LoRA v1 | DoRA v1 | LoRA v2 (Final) |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
Prompt: "Sanganeri hand block print of a majestic tiger prowling in a dense jungle, traditional hand-block print technique, authentic fabric texture"
| FLUX.1-dev Base | LoRA v1 | DoRA v1 | LoRA v2 (Final) |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
Prompt: "A beautiful woman wearing an elegant Sanganeri block printed cotton saree, flowing fabric, traditional motifs, high quality textile photography"
| FLUX.1-dev Base | LoRA v1 | DoRA v1 | LoRA v2 (Final) |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
See our GitHub repository for the full Mega Showdown containing 50 prompts across all categories.
This model is built on top of FLUX.1-dev, which falls under the FLUX.1 [dev] Non-Commercial License. Consequently, this LoRA inherits those exact same non-commercial restrictions. It is released for academic, research, and artistic exploration.
Disclaimer: This AI model cannot replace the profound craftsmanship of the real artisans in Sanganer, Rajasthan. We encourage everyone to support authentic handmade textiles.
<!-- updated gallery display -->