Instructions to use Ninifee/flfwrld-style-lora-replicate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Ninifee/flfwrld-style-lora-replicate 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("Ninifee/flfwrld-style-lora-replicate") prompt = "flfwrld" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| 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 | |
| base_model: black-forest-labs/FLUX.1-dev | |
| tags: | |
| - flux | |
| - lora | |
| - style | |
| - text-to-image | |
| - diffusers | |
| - replicate | |
| instance_prompt: flfwrld | |
| pipeline_tag: text-to-image | |
| # flfwrld – Fluffy World Style LoRA | |
| A style LoRA for **FLUX.1-dev**, trained to capture a soft, fluffy visual aesthetic. | |
| ## Trigger word | |
| Use **`flfwrld`** in your prompt to activate the style. | |
| Example: | |
| ``` | |
| flfwrld, a cozy cabin in a snowy forest at dusk | |
| ``` | |
| ## Training details | |
| - **Base model:** FLUX.1-dev | |
| - **LoRA type:** Style | |
| - **Training steps:** 1000 | |
| - **Seed:** 42 | |
| - **Trained with:** [fast-flux-trainer](https://replicate.com/replicate/fast-flux-trainer) on Replicate (8x H100) | |
| A version of this LoRA was also trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) for comparison. | |
| ## Usage | |
| ### Diffusers | |
| ```python | |
| from diffusers import FluxPipeline | |
| import torch | |
| pipe = FluxPipeline.from_pretrained( | |
| "black-forest-labs/FLUX.1-dev", | |
| torch_dtype=torch.bfloat16 | |
| ).to("cuda") | |
| pipe.load_lora_weights("YOUR_USERNAME/flfwrld-fluffy-lora") | |
| image = pipe( | |
| "flfwrld, a cozy cabin in a snowy forest at dusk", | |
| num_inference_steps=28, | |
| guidance_scale=3.5, | |
| ).images[0] | |
| image.save("output.png") | |
| ``` | |
| ### Replicate | |
| ```javascript | |
| import Replicate from "replicate"; | |
| const replicate = new Replicate(); | |
| const output = await replicate.run( | |
| "annina-walker/flfwrld-fluffy-lora:df6d510f", | |
| { input: { prompt: "flfwrld, a cozy cabin in a snowy forest at dusk" } } | |
| ); | |
| ``` | |
| ## License | |
| This LoRA is a derivative of FLUX.1-dev and is subject to the [FLUX.1-dev Non-Commercial License](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md). |