antirez/iris.c
A pure C implementation of diffusion model inference for text-to-image generation using FLUX.2 and Z-Image-Turbo models.

Velocity · 7d
+14
★ / day
Trend
→steady
star history
Iris is a zero-dependency C inference pipeline that runs open-weight diffusion transformer models for image synthesis. It supports FLUX.2 (Klein and base variants, 4B and 9B) and Z-Image-Turbo models, with optional MPS and BLAS acceleration for faster generation. The project downloads model weights from HuggingFace and performs denoising steps to generate images from text prompts entirely in C.