TBI Indian Miniature
LoRA for image generation in the style of classical Indian miniature
2 min readupdated
This is an artistic LoRA (a small add-on for a base model) for image generation that brings any modern or historical scene into the aesthetic of 16th-to-19th-century Indian court painting. The model adds characteristic flat perspective, muted mineral colors, fine line work, and patterned borders. It was trained on public-domain museum images and handles traditional royal portraits as well as scenes featuring programmers or astronauts with ease.
Key features
- Authentic style: recreates the manner of Indian miniatures from roughly 1560 to 1830.
- Any subjects: allows you to stylize astronauts, IT engineers, cricket matches, or everyday scenes with an antique look.
- Precise prompt adherence: text alignment score is virtually on par with the base model (30.74 vs 30.35).
- Commercial license: the model is distributed under the Apache-2.0 license and trained on materials from open archives.
What you can do
- Illustrations and design: create unique book covers, postcards, and themed materials with a historical flair.
- Unusual concept art: generate futuristic or everyday scenes (such as working on a laptop) in the picturesque style of ancient masters.
- Portraits and landscapes: experiment with portrait formats and narrative compositions by adding a trigger phrase to the prompt.
Example
import torch
from diffusers import Flux2KleinPipeline
pipe = Flux2KleinPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-4B", torch_dtype=torch.bfloat16)
pipe.load_lora_weights(
"mrinaltbi/tbi-indian-miniature-flux2-klein-4b-lora",
weight_name="tbi-indian-miniature-flux2-klein-4b-lora.safetensors",
)
pipe.enable_model_cpu_offload()
prompt = "miniature style Indian miniature painting, a software engineer working on a laptop in a palace garden"
image = pipe(
prompt=prompt,
height=1024,
width=1024,
guidance_scale=4.0,
num_inference_steps=50,
generator=torch.Generator("cuda").manual_seed(0),
).images[0]
image.save("miniature.png")
Read more
DetailsBase model: FLUX.2 [klein] 4B Base (Black Forest Labs)
Adapter size: 48 MB (24.1 million parameters, rank 16)
Hardware requirements: graphics card with 16 GB VRAM (tested on RTX 4060 Ti with CPU offload)
Trigger phrase: miniature style Indian miniature painting,
Recommendations: guidance scale 4.0, 30 steps for drafts and 50 for final images








Comments