Authorization notice. Jasna is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA photo owner with one mosaiced picture who wants a restored copy quickly.
The problemA still image has mosaics that hide details, and the original file should stay unchanged.
The outcomeA restored image file saved at the output path you choose.
What you need first
- An NVIDIA GTX 16-series, RTX 20-series or newer GPU with a recent driver (610 or newer on Windows, 580 or newer on Linux), or an AMD Radeon RX 7000/9000 (experimental)
- A folder on a local disk whose path has no Chinese, Japanese, accented or other non-English characters
- An SSD is recommended, since Jasna is slow to start and load models on a hard disk
- The Jasna release downloaded from GitHub
Steps
- Open a terminal in the folder where the Jasna release is unpacked. (inferred, check the README)
- Run
jasna --input photo.png --output restored.png. - Open restored.png and compare it with photo.png.
- Check the README for which model your image run uses, since SD 1.5 for still images is a supporter model.
Prompt for your agent
Using the Jasna repo at Kruk2/jasna, run `jasna --input <image path> --output <output image path>`. Expected output: a restored image at <output image path>. Verify that the file opens and that the mosaic area looks different from the original while the rest of the picture is unchanged.
Caveat. The README marks SD 1.5 for still images as an experimental supporter model, so image quality and model access depend on a License code.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Kruk2/jasna and "Restore a single still image from the command line"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer