Views
No views yet
bc1@k style to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.2-klein-base-4B', torch_dtype=torch.float16).to('cuda')
5pipeline.load_lora_weights('busetolunay/bc1k-background-klein-4b-r32', weight_name='backgrounds_klein_4b_r32.safetensors')
6image = 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]
7image.save("my_image.png")