Chisle
The coding-agent plugin that bills 52% of a bare model across 20 live tasks. Terse persona + tool-output compressor + context diet.
翻訳待ち
Flux 2 image generation model pure C inference
翻訳待ち
開発ツールC · Objective-CGitHub @antirez自分でインストール所有者未確認
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Iris is an inference pipeline that generates images from text prompts using open weights diffusion transformer models. It is implemented entirely in C, with zero external dependencies beyond the C standard library. MPS, CUDA, ROCm and BLAS acceleration are optional but recommended. Under macOS, a BLAS API is part of the system, so nothing is required.
The name comes from the Greek goddess Iris, messenger of the gods and personification of the rainbow.
Supported model families:
-i image) and multi-reference generation (-i repeated).All the models run fully on the GPU with the Metal (Apple), CUDA (NVIDIA) and ROCm (AMD) backends.
# Build (choose your backend)
make mps # Apple Silicon (fastest)
# or: make cuda # NVIDIA GPU
# or: make rocm # AMD GPU
# or: make blas # Intel Mac / Linux with OpenBLAS
# or: make generic # Pure C, no dependencies
# Download a model (~16GB) - pick one:
./download_model.sh 4b # using curl
# or: pip install huggingface_hub && python download_model.py 4b
# Generate an image
./iris -d flux-klein-4b -p "A woman wearing sunglasses" -o output.png
If you want to try the base model, instead of the distilled one (much slower, higher quality), use the following instructions. Use 10 steps if your computer is quite slow, instead of the default of 50, it will still work well enough to test it (10 seconds to generate a 256x256 image on a MacBook M3 Max).
./download_model.sh 4b-base
# or: pip install huggingface_hub && python download_model.py 4b-base
./iris -d flux-klein-4b-base -p "A woman wearing sunglasses" -o output.png
If you want to try the 9B model (higher quality, non-commercial license, ~30GB download):
# 9B is a gated model - you need a HuggingFace token
# 1. Accept the license at https://huggingface.co/black-forest-labs/FLUX.2-klein-9B
# 2. Get your token from https://huggingface.co/settings/tokens
./download_model.sh 9b --token YOUR_TOKEN
# or: python download_model.py 9b --token YOUR_TOKEN
# or: set HF_TOKEN env var
./iris -d flux-klein-9b -p "A woman wearing sunglasses" -o output.png
For Z-Image-Turbo:
# Download Z-Image-Turbo (~12GB)
pip install huggingface_hub && python download_model.py zimage-turbo
./iris -d zimage-turbo -p "a fish" -o fish.png
For FLUX.3 Image Klein (gated, accept the license on HuggingFace first, ~20GB):
./download_model.sh flux3 --token YOUR_TOKEN
# or: python download_model.py flux3 --token YOUR_TOKEN
./iris -d flux-3-klein -p "a fish" -o fish.png
That's it. No Python runtime required at inference time.
Generated with: ./iris -d flux-klein-4b -p "A picture of a woman in 1960 America. Sunglasses. ASA 400 film. Black and White." -W 512 -H 512 -o woman.png
Generated with: ./iris -i antirez.png -o antirez_to_drawing.png -p "make it a drawing" -d flux-klein-4b
-i car.png -i beach.png for "car on beach")--no-mmap for faster inferenceDisplay generated images directly in your terminal with --show, or watch the denoising process step-by-step with --show-steps:
# Display final image in terminal (auto-detects Kitty/Ghostty/iTerm2/WezTerm/Konsole)
./iris -d flux-klein-4b -p "a cute robot" -o robot.png --show
# Display each denoising step (slower, but interesting to watch)
./iris -d flux-klein-4b -p "a cute robot" -o robot.png --show-steps
This is the beginning of the README. Read the rest at the original. Read the full README ↗