Is the Harmonize feature available through the Photoshop API (Firefly Services)?
Hi everyone,
I run an automated PSD compositing pipeline and I'm trying to find out
whether one specific Photoshop feature is reachable programmatically.
WHAT I'M DOING
We composite a cut-out subject (PNG with alpha) into a PSD template
that contains a fixed background.
The recurring problem is that a cut-out never sits naturally in the
scene — the lighting and colour of the subject don't match the
background.
WHAT I TESTED
I tried the Harmonize feature in desktop Photoshop, manually. The
result is far better than anything I've been able to script: it
matches the lighting and colour of the subject to the scene while
leaving faces, logos and text intact.
I also recorded it as an Action and it replayed correctly on my
desktop, which suggests it is at least scriptable locally.
MY QUESTIONS
1. Is Harmonize exposed through the Photoshop API v2 in Firefly
Services — via /v2/execute-actions with a published ActionJSON,
via UXP scripting, or through any other endpoint?
2. If it isn't currently exposed, is it on the roadmap?
3. When Harmonize is recorded in an Action, it also records which
variation was selected (I picked the third one). Is that a
positional index, or is the actual result stored? In other words,
does replaying the Action on a different image reproduce a
comparable outcome, or does it just pick whatever happens to be
third in a fresh set of generations?
4. Is Harmonize deterministic? Running it twice on the same file —
do I get identical pixels?
Thanks a lot for any pointers.
