DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to batch-grade a folder of images from the command line with PhotoCraft

Apply one action list to every image in a folder, headless.

Short answer: Write an action list such as grade.json; then run photocraft-cli batch --actions grade.json --in ./raw --out ./graded; For one file, chain commands with photocraft-cli run and --cmd steps, then --out. All steps.

  • Content
  • Intermediate
  • 20 minutes
  • From the README
  • Any agent

Who it is forA photographer or developer with hundreds of images to process the same way.

The problemDoing the same edits by hand on every image is slow.

The outcomeA folder of graded images produced by one CLI command.

What you need first

  • A download from the PhotoCraft page, or Rust to build from source

Steps

  1. Write an action list such as grade.json
  2. Run photocraft-cli batch --actions grade.json --in ./raw --out ./graded
  3. For one file, chain commands with photocraft-cli run and --cmd steps, then --out
  4. See options with photocraft-cli batch --help

Prompt for your agent

Using storytold/photocraft's CLI, write a grade.json action list that applies <edits>, run it over ./raw into ./graded, and spot-check three outputs.

Caveat.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for storytold/photocraft and "Batch-grade a folder of images 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