Instructions to use socialtrait/flux-3-image-klein-infendpoint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use socialtrait/flux-3-image-klein-infendpoint with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("socialtrait/flux-3-image-klein-infendpoint", 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
Socialtrait FLUX.3 Klein deployment checkpoint
BF16 deployment subset of black-forest-labs/flux-3-image-klein,
upstream commit 337337621b8526e120f2275d250242f4a6bedd75.
Weights are unchanged. Includes Diffusers transformer, text encoder, VAE,
configuration, tokenizers, original licenses and notices. Duplicate original
weights, FP8/NVFP4 alternatives and gallery assets are omitted.
See README.upstream.md for the original upstream model card.
handler.py provides the HF Inference Endpoints custom handler.
modal_app.py deploys an authenticated API on Modal; see DEPLOYMENT.txt.
Defaults: 16 steps, 1024 x 1024, BF16 transformer and text encoder, FP32 VAE,
no CPU offloading, no prompt upsampling. The separate prompt-upsampler model
is not included. A10 GPU memory fit and throughput still require benchmarking.
The optional GGUF fallback requires a separate Unsloth checkpoint.
The /sdxl Modal route accepts the existing persona generator payload and
returns base64 JPEG. SDXL-only options are ignored; this route uses 16 steps.
Use /generate for explicit dimensions and 4โ16 steps.
This is a deployment subset, not a new model or a change to the upstream license.
Rights to use these weights are granted directly by Black Forest Labs under LICENSE.md. See the required attribution in NOTICE.md. This deployment packaging is maintained by Socialtrait and is not an official Black Forest Labs product. Model weights are unchanged.
- Downloads last month
- 11
Model tree for socialtrait/flux-3-image-klein-infendpoint
Base model
black-forest-labs/flux-3-image-klein