Instructions to use elifergunes/background_1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use elifergunes/background_1 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("elifergunes/background_1") prompt = "[trigger], illustration of an outdoor camp setting, mountain and lucious trees with blue tent in foreground, cartoon style, vivid colors" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - flux | |
| - lora | |
| - diffusers | |
| - template:sd-lora | |
| widget: | |
| - text: '[trigger], illustration of an outdoor camp setting, mountain and lucious | |
| trees with blue tent in foreground, cartoon style, vivid colors' | |
| output: | |
| url: samples/1728577495383__000003750_0.jpg | |
| - text: '[trigger], illustration of an indoor fireplace setting, seeing snowy landscape | |
| through the window, fireplace is burning and there are comfy chairs in the | |
| foreground, cartoon style, soft colors' | |
| output: | |
| url: samples/1728577509208__000003750_1.jpg | |
| - text: '[trigger], illustration of an outdoor cemetry setting, spooky tombstones | |
| with cobwebs, reflecting the halloween spirit, cartoon style, vivid colors' | |
| output: | |
| url: samples/1728577523035__000003750_2.jpg | |
| - text: '[trigger], illustration of an indoor work setting, many computers and desks | |
| next to each other, cartoon style, vivid colors' | |
| output: | |
| url: samples/1728577536877__000003750_3.jpg | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: b@ckground | |
| 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 | |
| # background_flux_lora | |
| Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `b@ckground` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/elifergunes/background_1/tree/main) them in the Files & versions tab. | |