Instructions to use black-forest-labs/FLUX.1-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use black-forest-labs/FLUX.1-dev 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") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Add generated example
#378
by kmitchell2300 - opened
This comment has been hidden (marked as Off-Topic)
Sir, I believe in the correctness of morality, and I am required to stop your attempts. I am letting you know a few things by telling you this. I am going to discuss this in multiple parts. First, uploading this to such a widely viewed repository would likely cause a lawsuit for Black Forest Labs. Secondly, this is immoral, since the AI is trained on other people's data. So I'm going to ask you one final thing. Are you ok?
kmitchell2300 changed pull request status to closed