All models

FLUX.2 klein [9B]

by Black Forest Labs

Image

FLUX.2 klein 9B text-to-image, served in-process by the Pendra (stable-diffusion.cpp) backend.

Publisher
Black Forest Labs
Model card on Hugging Face

Run FLUX.2 klein [9B]

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-9b",
    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 [9B] on your own UK infrastructure

Deploy a worker, install FLUX.2 klein [9B], and start serving it through one sovereign API endpoint.