All models
Model card on Hugging Face
FLUX.2 klein [4B]
by Black Forest Labs
Image
FLUX.2 klein 4B fast text-to-image, served in-process by the Pendra (stable-diffusion.cpp) backend.
- Publisher
- Black Forest Labs
Run FLUX.2 klein [4B]
Install it on a Pendra worker, then call it through the OpenAI-compatible API with a pdr_sk_ key.
from pendra import Pendra
import base64, pathlib
client = Pendra(api_key="pdr_sk_...")
result = client.images.generations.create(
model="flux.2-klein-4b",
prompt="A misty Welsh valley at dawn",
size="1024x1024",
)
pathlib.Path("out.png").write_bytes(base64.b64decode(result.data[0].b64_json)) Run FLUX.2 klein [4B] on your own UK infrastructure
Deploy a worker, install FLUX.2 klein [4B], and start serving it through one sovereign API endpoint.