Instructions to use busetolunay/bc1k-background-klein-4b-r32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use busetolunay/bc1k-background-klein-4b-r32 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.2-klein-base-4B", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("busetolunay/bc1k-background-klein-4b-r32") prompt = "bc1@k style. A temple town built around a three-tier pagoda with upswept tiled roofs, approached through two torii gates along a lantern-lined path. A tea house with a curved roof sits beside a koi pond crossed by an arched wooden bridge at the front, with stone lanterns and cherry trees framing the walkways. Rows of low wooden shops with sloped roofs line the street on the left, and a bell tower stands on a stone platform on the right. Forested hills rise behind the rooftops." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
backgrounds_klein_4b_r32
Model trained with AI Toolkit by Ostris

- Prompt
- bc1@k style. A temple town built around a three-tier pagoda with upswept tiled roofs, approached through two torii gates along a lantern-lined path. A tea house with a curved roof sits beside a koi pond crossed by an arched wooden bridge at the front, with stone lanterns and cherry trees framing the walkways. Rows of low wooden shops with sloped roofs line the street on the left, and a bell tower stands on a stone platform on the right. Forested hills rise behind the rooftops.

- Prompt
- bc1@k style. A city boulevard lined with six-story townhouses topped by mansard roofs, balconies, and dormer windows. Sidewalk cafes with awnings and round tables spread along the pavement at the front, separated by street lamps, trees, and a central round fountain. A wide paved avenue runs down the middle, with a triumphal arch at the far end and a tall lattice tower rising above the rooftops in the background. Flower planters and benches line the walkways on both sides.

- Prompt
- bc1@k style. A tropical harbor town of stilt houses with thatched roofs raised over shallow water, connected by wooden walkways and jetties. A lighthouse stands on a rocky point at the right, and five boats are docked along a central pier lined with market stalls and hanging lanterns. Palm trees and flowering shrubs cluster between the huts, with a small waterfall spilling into a pool on the left. Forested hills and the open sea meet at the horizon.

- Prompt
- bc1@k style. A lakeside town of timber lodges with balconies and pitched roofs set along a curving shoreline. A long wooden pier with two moored rowboats extends into the lake at the front, beside a boathouse with a ramp. A rope suspension bridge crosses a gorge on the left where a waterfall descends, and pine trees and lamp posts line the paths. Snow-capped peaks and a forested ridge rise behind the rooftops.

- Prompt
- bc1@k style. A cobbled market square framed by terraced shops with awnings and a tall clock tower with a domed top at the back. In the center stand rows of market stalls with peaked canopies around a raised fountain statue on a stepped base. A covered wagon sits at the front left beside benches, lamp posts, and two trees, and an arched gateway opens onto a side street on the right. Steep gabled roofs and chimneys crowd the skyline behind the square.
Trigger words
You should use bc1@k style to trigger the image generation.
Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
Use it with the 🧨 diffusers library
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.2-klein-base-4B', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('busetolunay/bc1k-background-klein-4b-r32', weight_name='backgrounds_klein_4b_r32.safetensors')
image = pipeline('bc1@k style. A temple town built around a three-tier pagoda with upswept tiled roofs, approached through two torii gates along a lantern-lined path. A tea house with a curved roof sits beside a koi pond crossed by an arched wooden bridge at the front, with stone lanterns and cherry trees framing the walkways. Rows of low wooden shops with sloped roofs line the street on the left, and a bell tower stands on a stone platform on the right. Forested hills rise behind the rooftops.').images[0]
image.save("my_image.png")
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
- Downloads last month
- 295
Model tree for busetolunay/bc1k-background-klein-4b-r32
Base model
black-forest-labs/FLUX.2-klein-base-4B