wanghaofan's picture
Update README.md
959e8aa verified
---
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- image-generation
- flux
- safetensors
widget:
- text: >-
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,
output:
url: images/6e086917898ed6abfa2ee8b7534efdeb741fe03022d2aeaf7fc27c79.jpg
- text: >-
Installation art style, Inflatable transparent plastic bag full of Coke
bottles
output:
url: images/42e944819b43869a03dc252d10409b5944a62494c7082816121016f9.jpg
- text: >-
A colorful plastic-wrapped figure resembling a bird sits against a white
background with a transparent plastic bag draped over its shoulder
output:
url: images/2063ac89e584b7507cc1d11535987e8ec48f43c61bb12b8a6865d2ac.jpg
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: Inflatable plastic bag
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
---
# FLUX.1-dev-LoRA-Garbage-Bag-Art
This is a LoRA (Garbage-Bag-Art) trained on FLUX.1-dev by [Hongke](https://www.shakker.ai/userpage/b1f1d4128cec474c8085576e6c9fb761/publish) on [Shakker AI](https://www.shakker.ai/modelinfo/0210878e637047c6bad4db62ebfcefe8?from=feed).
<div class="container">
<img src="./poster.jpg" width="1024"/>
</div>
## Showcases
<Gallery />
## Trigger words
You should use `Inflatable plastic bag` as trigger words. The recommended scale is `1.0` in diffusers.
## Inference
```python
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](https://www.shakker.ai/modelinfo/ae11c92961ac493e819a5a24b6fa1cbc?from=personal_page), where we provide an online interface to generate images.
## Acknowledgements
This model is trained by our copyrighted users [Hongke](https://www.shakker.ai/userpage/b1f1d4128cec474c8085576e6c9fb761/publish). We release this model under permissions. The model follows [flux-1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).