A wildlife photography benchmark for vision-language models.
Inspired by Pokémon Snap. Piloted by AI.
Quick start · Benchmarks · Results · Development
Mariner Island · Three animals to find · One drone camera
A model pilots a drone around Mariner Island and photographs three animals. Each observation pairs a first-person image with the drone's pose; the world pauses while the model decides its next move.
| Explore | Frame | Photograph |
|---|---|---|
| Navigate woodland, meadows, and coastal paths. | Adjust position, altitude, and camera tilt. | Capture a visible animal at sufficient image size. |
Under the hood: Zig/raylib runs the world, a Rust controller calls models through OpenRouter, and Python runs the benchmark suite.
Results coming soon.
| Tool | Requirement |
|---|---|
| Zig | 0.16.0 |
| Rust | 2024 edition support |
| Python | 3.11+ with uv |
| Graphics | OpenGL 3.3 or newer |
Tested on macOS with Apple Silicon. Run commands from the repository root so assets can be found.
No API key needed. Change SEED to explore another layout.
git clone https://github.com/kxzk/snapbench.git
cd snapbench
make sim SEED=42Flight controls
| Control | Action |
|---|---|
| WASD / arrow keys | Fly relative to heading |
| Space / Shift (left) | Ascend / descend |
| Q / E | Turn |
| I / K | Tilt the camera |
| Tab | Switch chase / photography camera |
| P | Photograph a framed animal |
| R | Reset and return to manual control |
| F3 | Toggle diagnostics |
| Esc | Close |
Leave the simulation open. In a second terminal, from the repository root:
export OPENROUTER_API_KEY="your-openrouter-api-key"
make droneThe default controller uses Gemini 3 Flash Preview. To choose a model and limit the run to 50 decisions:
cargo run --release --manifest-path llm_drone/Cargo.toml -- \
--model openai/gpt-5.6-luna --max-iterations 50Close any manually running simulation first. Set OPENROUTER_API_KEY in the
terminal running the benchmark. The runner builds the simulator and controller,
then starts a simulation for each model/seed pair.
# All configured models; skip model/seed pairs with existing results
make bench
# One model
uv run bench/bench_runner.py --model google/gemini-3.8-flash
# Rerun that model, replacing its existing results as each run finishes
uv run bench/bench_runner.py --model google/gemini-3.8-flash --force| File or directory | Purpose |
|---|---|
| bench/models.toml | Model lineup and prices per million tokens |
data/results-v2.csv |
New benchmark results |
.snapbench/replays/ |
Controller replay records |
data/results.csv |
Historical results from the original scenario |
make test # Zig, Rust, and Python regression tests
make check # Formatting, lints, and Python types
# With a simulation running: verify a full flight and replay it
make verify
make replay REPLAY=.snapbench/verification.jsonlThese checks require no model API calls.
- Simulation guide — Agent API, photography rules, deterministic replay, and profiling.
- Archived README — Previous write-up and historical results.
- Drone by NateGazzard, CC BY, via Poly Pizza.
- Cube World Kit by Quaternius, via Poly Pizza.
- Manrope by the Manrope Project Authors, SIL Open Font License. The bundled font is a static weight-550 instance of the Google Fonts source.