# latkit CLI
Renders latkit scenes to images, image sequences, raw frames, and video on the machine's GPU, with
the same renderer as the browser package. Inputs are latkit's JSON, so any language can write them.
The package is `latkit-cli` and the executable is `latkit`.
```sh
cargo install latkit-cli
latkit validate scene.json -d grid.json
latkit render scene.json -d grid.json -o grid.png --size 2400x1350 --scale 2
latkit render scene.json -d grid.json --frames frames.jsonl --fps 60 -o film.mp4
latkit query grid.bin '{"of":"Branch","filter":{"gt":["$loading",90]},"limit":20}'
latkit tile history.bin -o history/ # time tiles a view fetches in spans: --tiles grid=history/frames.json
latkit schema scene > scene.schema.json
```
[The documentation](https://latkit.readthedocs.io/en/latest/cli.html) covers commands, inputs,
frames, outputs, and diagnostics. This CLI draws all of
[its examples](https://latkit.readthedocs.io/en/latest/examples/). The
[70,000-bus fault](examples/bus-fault/README.md) and
[WECC240 fault](examples/wecc240-fault/README.md) videos are made with only Python and this CLI.