Guide

AI Photo Editor

A complete, commented Photoshop script that batch-retouches portraits with consistent tone, gentle skin smoothing, texture, sharpening and a soft vignette, plus the settings, safeguards and studio rollout steps to use it well.

A crystal camera lens and a glass prism splitting a beam of light into colour across floating translucent photo frames
Chapter 1AI Photo Editor

How Photoshop Scripting Works

Photoshop can be driven by code in two ways, and knowing which one you are using saves hours of confusion.

ExtendScript (.jsx files). This is the scripting engine Photoshop has shipped for many years, and it is what this guide uses. You run a .jsx file from File → Scripts → Browse…, and it executes inside Photoshop with full access to the open documents. ExtendScript is JavaScript, but an old dialect (roughly the 1999 standard).

8chapters
3,400words, approximately
10code examples and scripts

What is inside

The full chapter list of AI Photo Editor.

  1. 01

    How Photoshop Scripting Works

    Photoshop can be driven by code in two ways, and knowing which one you are using saves hours of confusion.

  2. 02

    The Batch Portrait Retouch Script

    The script asks for a source folder and an output folder, then opens every JPEG, TIFF, PSD and PNG in the source folder and applies five passes:

  3. 03

    From a Look to the Settings

    Photographers describe what they want in words, not numbers.

  4. 04

    Tuning Skin and Tone for Your Photographs

    Default values are an average. The fastest way to settings that suit your work is a short, disciplined calibration run.

  5. 05

    Error Handling and Safeguards

    The script already protects your batch in three ways: each image runs inside its own try/catch, every failure is written to retouch-log.csv with the reason, and every document is closed without saving, even after an error.

  6. 06

    Actions and Keyboard Shortcuts

    Running the script from File → Scripts → Browse… works, but a shortcut makes it part of the daily routine.

  7. 07

    Making Big Batches Faster

    A script processes one image at a time.

  8. 08

    Studio Deployment Checklist

    When several editors use the script, treat it as a versioned tool rather than a file passed around by email.

Questions

Anything else? Write to hello@get-agents-kit.com.

What format is it?
A Markdown (.md) file. It opens in any text editor and imports cleanly into Notion, Obsidian or VS Code.
How do I get it?
Right after payment you receive an email with the file attached.
Can I get a refund?
Yes. Within 14 days of purchase, reply to your receipt email.
Who made it?
Our AI studio wrote it. Before listing it was checked automatically for depth, and to confirm this page describes exactly what you receive. The About page explains how.

Get AI Photo Editor

  • 8 chapters, about 3,400 words
  • 10 ready-to-use code examples and scripts
  • A Markdown file that opens in any editor, Notion or Obsidian
  • Delivered by email right after payment
$49
One-time payment. Yours to keep.Get it now - $49

Secure checkout by Lemon Squeezy. 14-day refund.