GitHub - antirez/flux2.c: Flux 2 image generation model pure C inference
FLUX.2-klein-4B Pure C Implementation
This program generates images from text prompts (and optionally from other images) using the FLUX.2-klein-4B model from Black Forest Labs. It can be used as a library as well, and is implemented entirely in C, with zero external dependencies beyond the C standard library. MPS and BLAS acceleration are optional but recommended.
An experiment in AI code generation and open source software
I (the human here, Salvatore) wanted to test code generation with a more...
Read more at github.com