Instructions to use drawthingsai/flux-3-image-klein with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use drawthingsai/flux-3-image-klein with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("drawthingsai/flux-3-image-klein", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Commit History
12 days ago
-
Preserve upstream README, license, notice, and model card images
Verified signatureCopy documentation and its image assets unchanged from black-forest-labs/flux-3-image-klein at 337337621b8526e120f2275d250242f4a6bedd75. Model weights will be added separately.0239f33