Views
No views yet
DND battle map 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/v3flux', weight_name='my_first_flux_lora_v1.safetensors')
6image = pipeline(' A top down aerial view DND battle map, DND battle map. Depicts a fantastical building complex designed like giant seashells situated on a sandy seabed or beach, surrounded by coral-like formations. Notable elements include a large central domed structure resembling a clam or scallop shell, smaller surrounding shell-shaped sections, stairs leading up, sandy ground with rocks and smaller shells, and underwater flora. The atmosphere is whimsical, aquatic, and unique. The scene is set during the daytime (possibly underwater), rendered in a detailed fantasy style with linework.').images[0]
7image.save("my_image.png")