Instructions to use Shakker-Labs/FLUX.1-dev-LoRA-Garbage-Bag-Art with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Shakker-Labs/FLUX.1-dev-LoRA-Garbage-Bag-Art 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.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-Garbage-Bag-Art") prompt = "Installation art style, A colorful inflatable bear is wrapped in a clear plastic bag against a white background,dolls made from inflatable garbage bags,colorful,huge toys,on a white background,artist's exhibition,environmental art," image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
FLUX.1-dev-LoRA-Garbage-Bag-Art
This is a LoRA (Garbage-Bag-Art) trained on FLUX.1-dev by Hongke on Shakker AI.
Showcases

- Prompt
- Installation art style, A colorful inflatable bear is wrapped in a clear plastic bag against a white background,dolls made from inflatable garbage bags,colorful,huge toys,on a white background,artist's exhibition,environmental art,

- Prompt
- Installation art style, Inflatable transparent plastic bag full of Coke bottles

- Prompt
- A colorful plastic-wrapped figure resembling a bird sits against a white background with a transparent plastic bag draped over its shoulder
Trigger words
You should use Inflatable plastic bag as trigger words. The recommended scale is 1.0 in diffusers.
Inference
import torch
from diffusers import FluxPipeline
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-Garbage-Bag-Art", weight_name="FLUX-dev-lora-Garbage-Bag-Art.safetensors")
pipe.fuse_lora(lora_scale=1.1)
pipe.to("cuda")
prompt = "Installation art style, A colorful inflatable bear is wrapped in a clear plastic bag against a white background,dolls made from inflatable garbage bags,colorful,huge toys,on a white background,artist's exhibition,environmental art,"
image = pipe(prompt,
num_inference_steps=24,
guidance_scale=3.5,
).images[0]
image.save(f"example.png")
Online Inference
You can also download this model at Shakker AI, where we provide an online interface to generate images.
Acknowledgements
This model is trained by our copyrighted users Hongke. We release this model under permissions. The model follows flux-1-dev-non-commercial-license.
- Downloads last month
- 22
Model tree for Shakker-Labs/FLUX.1-dev-LoRA-Garbage-Bag-Art
Base model
black-forest-labs/FLUX.1-dev