|
|
--- |
|
|
tags: |
|
|
- text-to-image |
|
|
- flux |
|
|
- lora |
|
|
- diffusers |
|
|
- template:sd-lora |
|
|
- ai-toolkit |
|
|
widget: |
|
|
- text: 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. |
|
|
output: |
|
|
url: samples/1740105245129__000003500_0.jpg |
|
|
- text: A DnD scene of a stone pathway surrounded by trees and flowers. The pathway |
|
|
is made of cobblestone and leads to a set of large stone pillars. The scene |
|
|
is set in a lush green field with purple flowers scattered throughout. The |
|
|
sun is shining, casting a warm glow on the scene. The overall atmosphere is |
|
|
serene and inviting, with the stone pillars adding a sense of mystery and |
|
|
intrigue. |
|
|
output: |
|
|
url: samples/1740105255419__000003500_1.jpg |
|
|
- text: A DnD scene of a waterfall with a dragon flying over it. The dragon is orange |
|
|
and black and appears to be flying towards the waterfall. The waterfall is |
|
|
surrounded by rocks and trees, creating a lush and green environment. The |
|
|
dragon is the central focal point of the scene, and its position is high above |
|
|
the waterfall, giving it a sense of motion and power. The lighting in the |
|
|
scene is bright and colorful, with the dragon's colors standing out against |
|
|
the green and blue backdrop. The overall atmosphere is one of adventure and |
|
|
excitement, as the dragon soars through the air, possibly seeking treasure |
|
|
or a new challenge. |
|
|
output: |
|
|
url: samples/1740105265708__000003500_2.jpg |
|
|
base_model: black-forest-labs/FLUX.1-dev |
|
|
instance_prompt: DND Scene |
|
|
license: other |
|
|
license_name: flux-1-dev-non-commercial-license |
|
|
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md |
|
|
--- |
|
|
|
|
|
# my_first_flux_lora_v1 |
|
|
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) |
|
|
<Gallery /> |
|
|
|
|
|
## Trigger words |
|
|
|
|
|
You should use `DND Scene` 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](/soloai1/scenev1/tree/main) them in the Files & versions tab. |
|
|
|
|
|
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers) |
|
|
|
|
|
```py |
|
|
from diffusers import AutoPipelineForText2Image |
|
|
import torch |
|
|
|
|
|
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda') |
|
|
pipeline.load_lora_weights('soloai1/scenev1', weight_name='my_first_flux_lora_v1.safetensors') |
|
|
image = 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] |
|
|
image.save("my_image.png") |
|
|
``` |
|
|
|
|
|
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters) |
|
|
|
|
|
|