A pure C implementation of the FLUX.2-klein-4B image generation model that runs without Python, PyTorch, or CUDA dependencies. The project supports text-to-image and image-to-image generation with optional BLAS and Metal GPU acceleration, requires ~16GB of model weights, and provides both a CLI tool and C library API. Notably,

9m read timeFrom github.com
Post cover image
Table of contents
An experiment in AI code generation and open source softwareQuick StartExample OutputFeaturesUsageBuildingModel DownloadTechnical DetailsC Library APILicense

Sort: