Instructions to use fal/Z-Image-Turbo-Control-2.1-Int8Dynamic-FlashPack with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fal/Z-Image-Turbo-Control-2.1-Int8Dynamic-FlashPack with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fal/Z-Image-Turbo-Control-2.1-Int8Dynamic-FlashPack", 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
File size: 136 Bytes
6bfb3d3 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:05e455ea5e440919b6ba2001fdd6023d85e3dcb5a6799b92c7334efda8750237
size 16017510394
|