Instructions to use fal/FLUX.2-dev-Turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fal/FLUX.2-dev-Turbo 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.2-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("fal/FLUX.2-dev-Turbo") 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -41,6 +41,11 @@ FLUX.2 [dev] Turbo is available through fal.ai hosted endpoints:
|
|
| 41 |
- [Image Editing](https://fal.ai/models/fal-ai/flux-2/turbo/edit)
|
| 42 |
|
| 43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
## Usage
|
| 45 |
|
| 46 |
```python
|
|
|
|
| 41 |
- [Image Editing](https://fal.ai/models/fal-ai/flux-2/turbo/edit)
|
| 42 |
|
| 43 |
|
| 44 |
+
## ComfyUI
|
| 45 |
+
|
| 46 |
+
ComfyUI-compatible weights are available in the `comfy/` directory, converted by [ByteZSzn](https://huggingface.co/ByteZSzn/Flux.2-Turbo-ComfyUI).
|
| 47 |
+
|
| 48 |
+
|
| 49 |
## Usage
|
| 50 |
|
| 51 |
```python
|