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
- Draw Things
- DiffusionBee
how to do `textual inversion` in this ?
how to do textual inversion in this ?
I have implemented Textual Inversion on FLUX, which may bring some help: https://github.com/Littleor/textual-inversion-script
I have implemented Textual Inversion on FLUX, which may bring some help: https://github.com/Littleor/textual-inversion-script
Hi Littleor, the link is not working, can you share your implementation on textual inversion for FLUX again, thanks a lot for your work! or would you be able to discuss sometime?
I have implemented Textual Inversion on FLUX, which may bring some help: https://github.com/Littleor/textual-inversion-script
Hi Littleor, the link is not working, can you share your implementation on textual inversion for FLUX again, thanks a lot for your work! or would you be able to discuss sometime?
I'm sorry for the late reply, and I have mentioned this in this issue.
By the way, perhaps this comment will be helpful:
https://github.com/kohya-ss/sd-scripts/issues/1588#issuecomment-2541964261