All models

Stable Diffusion XL

by Stability AI

Image

Stable Diffusion XL 1.0 base text-to-image, served in-process by the Pendra (stable-diffusion.cpp) backend.

Publisher
Stability AI
Model card on Hugging Face

Run Stable Diffusion XL

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="sdxl-base-1.0",
    prompt="A misty Welsh valley at dawn",
    size="1024x1024",
)

pathlib.Path("out.png").write_bytes(base64.b64decode(result.data[0].b64_json))

Run Stable Diffusion XL on your own UK infrastructure

Deploy a worker, install Stable Diffusion XL, and start serving it through one sovereign API endpoint.