DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to restore a single still image from the command line with Jasna

Restore one image file with a single command and save the result as a new file.

Short answer: Open a terminal in the folder where the Jasna release is unpacked; then run jasna --input photo.png --output restored.png; open restored.png and compare it with photo.png. All steps.

  • Content
  • Intermediate
  • 1 hour
  • From the README
  • Any agent

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

  1. Open a terminal in the folder where the Jasna release is unpacked. (inferred, check the README)
  2. Run jasna --input photo.png --output restored.png.
  3. Open restored.png and compare it with photo.png.
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer