Instructions to use Freepik/flux.1-lite-8B-alpha with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Freepik/flux.1-lite-8B-alpha with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Freepik/flux.1-lite-8B-alpha", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download sample_images/skip_blocks/mse_dit_img.png from Freepik/flux.1-lite-8B-alpha: direct link, hf CLI and curl.
- Browser
- Download file 59.3 kB
-
https://huggingface.co/Freepik/flux.1-lite-8B-alpha/resolve/main/sample_images/skip_blocks/mse_dit_img.png
- Command line
-
hf download hf://Freepik/flux.1-lite-8B-alpha/sample_images/skip_blocks/mse_dit_img.png
-
curl -L -o mse_dit_img.png https://huggingface.co/Freepik/flux.1-lite-8B-alpha/resolve/main/sample_images/skip_blocks/mse_dit_img.png
59.3 kB

- Xet hash:
- 3aa42dd6d24c5d98e52534dfd0f636d5be822ff397cbed326644b9b91ebe5018
- Size of remote file:
- 59.3 kB
- SHA256:
- 854ffdafde8bcbb1912b1edd3024b84a999cd1bbd27474d06e081f600c9e5b95
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.