Views
No views yet
DND Scene to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
5pipeline.load_lora_weights('soloai1/scenev1', weight_name='my_first_flux_lora_v1.safetensors')
6image = pipeline('A DnD scene of a dark cave with a large, glowing blue skull in the center. The skull is surrounded by long, black tentacles that stretch out in various directions. The cave walls are adorned with blue and green moss, creating a moist and damp atmosphere. The lighting in the cave is dim, with the blue glow from the skull being the main source of illumination. The overall scene has a mysterious and eerie feel, as if one is exploring an ancient underground temple.').images[0]
7image.save("my_image.png")