adobe-batch-edit-photos
Adobe Batch Edit Photos
A batch editing pipeline focused on visual cohesion β making a set of photos look like they were edited together. The user picks a look (or describes one), and Claude applies it consistently across every image using Adobe creativity tools.
The core insight: users who want "cohesion" care less about per-image perfection and more about the whole set reading as intentional. Prioritize consistency of tone and color over squeezing the best out of any single image.
Tool Reference
| Step | Tool | Notes |
|---|---|---|
| Ingest | asset_add_file |
Interactive file picker |
| Straighten | image_auto_straighten |
Per image |
| Auto-tone | image_apply_auto_tone |
Per image, type: "cameraRawFilter" |
| Exposure | image_adjust_exposure |
Batch β fine-tune option (brighter/darker) |
| Highlights | image_adjust_highlights |
Batch β fine-tune option |
| Shadows | image_adjust_dark_portions |
Batch β fine-tune option |
| Bright areas | image_adjust_light_portions |
Batch β fine-tune option |
| Brightness/Contrast | image_adjust_brightness_and_contrast |
Batch, if requested |
| Vibrance/Saturation | image_adjust_vibrance_and_saturation |
Batch, if requested |
| Color temperature | image_adjust_color_temperature |
Batch β key for "warm", "cool", "golden" looks |
| Look preset | image_apply_preset |
Per image, core style vehicle |
| Face detect | image_select_subject with bodyParts: ["Face"] |
Per image, only if crop focus needed |
| Background blur | image_apply_gaussian_blur |
Per image, only if explicitly requested |
| Crop | image_crop_and_resize |
Per image, optional |
| Sample preview | asset_preview_file |
Before/after on image[0] only |
| Final preview | asset_preview_file |
Batch assets array |
| Firefly Board | create_firefly_board |
All edited outputs |
Step 0 - prereq: Initialize Adobe Tools
Call adobe_mandatory_init first. This returns file handling rules and tool routing guidance required for the rest of the workflow.
{ "skill_name": "adobe-batch-edit-photos", "skill_version": "1.0.1" }
Step 1 β Entitlement Check
Now that adobe_mandatory_init confirmed that the "Adobe for creativity" connector is live, check which tools are available through the "Adobe for creativity" connector by cross checking against the Tool Reference table above.
Step 2: Image Ingestion
Call asset_add_file with no parameters to open the file picker:
Tool: asset_add_file
Params: {}
Step 3: Understand the Desired Look
Once URIs are obtained, scan the conversation to infer as many preferences as possible before asking anything:
- Look: inferrable from words like "warm", "golden", "cinematic", "moody", "bright and airy", "muted", "film", "cool", "vibrant", "punchy"
- Fine-tune tweaks: inferrable from "recover highlights", "lift shadows", "more contrast", "blown out", "too dark", "more vibrant", "desaturate"
- Crop: inferrable from "no crop", "square", "1:1", "portrait crop", "keep framing", etc.
Three cases:
A β Everything clear from context: Skip AskUserQuestion entirely. Post the confirmation message, then proceed directly to Step 3b (sample preview). Do NOT start the full batch β the preview and confirm gate always runs regardless of how clearly preferences were stated.
B β Some things clear, some not: Confirm what you've inferred upfront,
then call AskUserQuestion with only the questions that remain unanswered.
For example, if the look and a tweak are clear but crop isn't, post:
π· Got [N] photo(s)! Based on what you said, I'll go with:
- Look: Moody & Cinematic
- Tweaks: Recover blown highlights
Just one thing β do you want a crop?
Then call AskUserQuestion with Question 3 only.
C β Nothing specified: Post the full intro and show all 3 questions:
π· Got [N] photo(s)! I'll apply consistent edits across all of them so
the set looks cohesive.
What kind of look are you going for? π
The full AskUserQuestion questions (use only the ones that are still open):
Question 1 (single_select):
question: "π¨ Pick a base look"
options:
- "Auto (balanced, neutral)"
- "Warm & Golden β cozy, travel, golden hour"
- "Bright & Airy β clean, light, lifestyle"
- "Moody & Cinematic β dramatic, contrasty, desaturated"
- "Cool & Fresh β clear skies, travel, blue tones"
- "Vibrant & Punchy β vivid, bold, social-ready"
- "Muted & Film β faded, analog, editorial"
Question 2 (multi_select):
question: "ποΈ Fine-tune (optional)"
options:
- "Recover blown highlights"
- "Lift dark shadows"
- "Boost contrast"
- "Boost color intensity"
- "Desaturate / muted tones"
- "Adjust exposure (brighter/darker)"
- "Tune bright areas"
- "Blur background (heavy)"
- "None"
Question 3 (single_select):
question: "βοΈ Crop ratio? (optional)"
options:
- "No crop β keep original framing"
- "1:1 square"
- "4:5 portrait"
- "16:9 wide"
- "4:3 standard"
Question 4 (single_select): [only ask if Q3 is not "No crop"]
question: "π― How should the crop be framed?"
options:
- "Center β crop from center of image"
- "Smart crop β detect subject/face and frame around it"
Wait for the user's reply before proceeding.
Note on Question 4: If the user's message already implies a framing preference (e.g. "center crop", "crop to my face", "frame around the subject"), skip Q4 and infer directly. If the user specifies a ratio but not a framing method, default to Smart crop β it almost always produces a better result than a pure center cut.
Look β Parameter Mapping
Base look β image_adjust_color_temperature + image_apply_preset + adjustments:
| Look | Color Temp (a, b, luminance) | Preset | Saturation/Vibrance | Brightness/Contrast |
|---|---|---|---|---|
| Auto (balanced) | none | Adaptive: Auto Tone |
none | none |
| Warm & Golden | a=32, b=120, luminance=67 | Adaptive: Subject - Warm Pop |
vibrance +15 | none |
| Bright & Airy | a=20, b=60, luminance=62 | Adaptive: Subject - Pop |
saturation -10, vibrance +10 | brightness +15 |
| Moody & Cinematic | a=20, b=-50, luminance=45 | Adaptive: Sky - Dark Drama |
saturation -20 | contrast +25 |
| Cool & Fresh | a=18, b=-123, luminance=45 | Adaptive: Sky - Blue Drama |
vibrance +10 | none |
| Vibrant & Punchy | none | Adaptive: Subject - Pop |
vibrance +30, saturation +15 | contrast +10 |
| Muted & Film | none | none | saturation -35, vibrance -10 | contrast +10 |
Fine-tune β tool parameters:
- "Recover blown highlights" β
image_adjust_highlightsβamount: -60 - "Lift dark shadows" β
image_adjust_dark_portionsβamount: +40 - "Boost contrast" β
image_adjust_brightness_and_contrastβcontrast: 30 - "Boost color intensity" β
image_adjust_vibrance_and_saturationβvibrance: 30 - "Desaturate / muted tones" β
image_adjust_vibrance_and_saturationβsaturation: -30 - "Adjust exposure (brighter/darker)" β
image_adjust_exposureβexposure: +0.5(brighter) orexposure: -0.5(darker); infer direction from context, default to+0.3if unspecified - "Tune bright areas" β
image_adjust_light_portionsβamount: +20 - "Blur background (heavy)" β
image_apply_gaussian_blurβblurRadius: 12, blurTarget: "background" - "None" β skip fine-tune step entirely
Crop:
- "No crop" β skip Step 7 entirely
- Ratio + "Center" β
image_crop_and_resizewithfit: "reframe", that ratio asoutput,align: { x: 0.5, y: 0.5 }(pure center cut) - Ratio + "Smart crop" β
image_crop_and_resizewithfit: "reframe", that ratio asoutput,focus: "face"if portraits/people likely, elsefocus: "subject"(smart reframe around detected subject at the chosen ratio)
After receiving selections, confirm the settings back to the user:
β
Got it β running with:
- Look: [selected look]
- Tweaks: [list if any, or "none"]
- Crop: [ratio or "no crop"] + [Center / Smart crop]
- Background blur: [yes/no]
Then proceed immediately to Step 3b (sample preview) β do not start the full batch yet.
Step 3a: Large Batch Warning (N > 5)
Include this as part of the Step 3b confirmation prompt (after the before/after preview) when N > 5:
β± Estimated time for [N] images:
6β10 β ~3β5 min
11β20 β ~5β10 min
20+ β 10+ min
Feel free to step away β I'll post a β
summary with download links when done.
Step 3b: Sample Preview (Before/After on Image 1)
Before running the full batch, process the first image only through the complete pipeline (Steps 4β8) using the confirmed settings. This gives the user a real preview of exactly what will be applied to every image.
- Run the full pipeline on
sourceURIs[0]only (straighten β tone β look β fine-tune β blur β crop). - Call
asset_preview_filedirectly with both the original source URL and the processed output URL β do NOT resize either throughimage_crop_and_resizefirst, as that introduces white bars or unwanted cropping:
asset_preview_file({
assets: [
{ name: "Before", presignedAssetUrl: sourceURIs[0] },
{ name: "After", presignedAssetUrl: processed_url }
]
})
- Post this message (append the large-batch timing note here if N > 5):
π Here's a before/after preview using your first photo and the settings you selected.
How does it look?
- Call
AskUserQuestionwith a single question:
Question (single_select):
question: "Ready to run the full batch?"
options:
- "β
Looks great β run all [N] images"
- "ποΈ Adjust settings"
- "β Cancel"
If "Looks great": Start the full batch on the remaining images (sourceURIs[1β¦]). Reuse the already-processed image[0] result β do not reprocess it.
If "Adjust settings": Re-show the full AskUserQuestion set from Step 3. Once new settings are confirmed, ask whether the user wants another preview or wants to go straight to the full batch:
Question (single_select):
question: "Want to preview the new settings first, or run all images now?"
options:
- "π Preview first"
- "π Run all [N] images now"
- If "Preview first": repeat Step 3b with the new settings (process image[0] again, show before/after, offer the same Looks great / Adjust / Cancel gate).
- If "Run all now": start the full batch immediately on all
sourceURIswith the new settings. Do not reuse the earlier image[0] result β reprocess it with the updated settings. If "Cancel": Acknowledge and stop. Do not process any images.
Step 4: Auto-Straighten (per image)
Tool: image_auto_straighten
Params:
imageURIs: ["<source_uri_N>"]
options:
uprightMode: "auto"
constrainCrop: true
Output: results[0].outputUrl β straightened_urls[]
On failure: use original URI, note "straighten skipped" for that image.
Step 5: Auto-Tone (per image)
Tool: image_apply_auto_tone
Params:
imageURI: "<straightened_url_N>"
options:
type: "cameraRawFilter"
outputFileType: "jpeg"
Use type: "cameraRawFilter" for image_apply_auto_tone. Output: results[0].outputUrl β toned_urls[]
Step 6: Apply the Look (per image)
Apply the look in this order per image, chaining outputs:
6a: Color Temperature (if the look requires it β see mapping table)
image_adjust_color_temperature supports a batch imageURIs array. Pass all toned
URLs at once for efficiency:
Tool: image_adjust_color_temperature
Params:
imageURIs: ["<toned_url_1>", "<toned_url_2>", ...]
options:
a: <value from mapping> # green-red axis (-128β127)
b: <value from mapping> # blue-yellow axis (-128β127)
luminance: <value from mapping> # 0β100
Output: results[N].outputUrl β color_temp_urls[]
6b: Look Preset (if the look uses one β see mapping table)
Tool: image_apply_preset
Params:
imageURI: "<color_temp_url_N>"
options:
presetName: "<preset from mapping>"
6c: Vibrance / Saturation (if the look requires it)
Tool: image_adjust_vibrance_and_saturation
Params:
imageURIs: ["<previous_url_N>"]
options:
vibrance: <value>
saturation: <value>
6d: Brightness + Contrast (if the look requires either β combine into one call)
Tool: image_adjust_brightness_and_contrast
Params:
imageURIs: ["<previous_url_N>"]
options:
brightness: <value> # omit if not needed for this look
contrast: <value> # omit if not needed for this look
Combining brightness and contrast into a single call saves a round trip and produces the same result as two sequential calls.
The goal is consistency: apply the same parameter values to every image, even if some images might technically look better with different values. Cohesion beats perfection here.
On 403 (entitlement) for image_apply_preset: Skip the preset for all images.
Note in the delivery summary: "[Preset name] was skipped β not included in
your Adobe plan." Continue with the rest of the look adjustments.
Step 7: Fine-Tune Adjustments (batch, if selected)
Apply user-selected tweaks across all images at once. All of these tools
accept a batch imageURIs array β chain from the look output:
Tool: image_adjust_highlights / image_adjust_dark_portions / image_adjust_brightness_and_contrast /
image_adjust_vibrance_and_saturation / image_adjust_exposure / image_adjust_light_portions
Params:
imageURIs: ["<look_url_1>", "<look_url_2>", ...]
options:
<values from mapping>
Run each selected tweak in sequence, chaining outputs. If "Boost contrast" is selected AND the look already calls image_adjust_brightness_and_contrast for brightness (e.g. Bright & Airy), merge them into a single call with both brightness and contrast values rather than running two separate calls.
Background blur (if selected, per image):
Tool: image_apply_gaussian_blur
Params:
imageURIs: ["<url_N>"]
options:
blurRadius: 12
blurTarget: "background"
Step 8: Crop (per image, if requested)
If "No crop" was selected, skip this step entirely.
Both crop modes use the same fit: "reframe" at the chosen ratio β the
difference is in how the frame is positioned within the image.
Center crop β cuts to the target ratio from the geometric center:
Tool: image_crop_and_resize
Params:
imageURI: "<adjusted_url_N>"
options:
output: "<ratio>" # "1:1", "4:5", "16:9", "4:3"
fit: "reframe"
align: { x: 0.5, y: 0.5 } # geometric center
outputFileType: "jpeg"
Smart crop β same ratio, but positions the frame around the detected subject or face rather than the geometric center. The subject stays in frame even if they're off-center in the original:
Tool: image_crop_and_resize
Params:
imageURI: "<adjusted_url_N>"
options:
output: "<ratio>" # "1:1", "4:5", "16:9", "4:3"
fit: "reframe"
focus: "face" # or "subject" for non-portrait scenes
outputFileType: "jpeg"
Collect as final_urls[]. If no crop: final_urls[] = outputs from Step 7 (or Step 6 when no fine-tunes are selected).
Step 9: Preview
Pass the final output URLs directly to asset_preview_file β do NOT run them through image_crop_and_resize first. Adding a resize step introduces white bars (from fit: "pad") or crops subjects (from fit: "reframe"). asset_preview_file handles its own thumbnailing correctly.
asset_preview_file({
assets: [
{ name: "photo_1.jpg", presignedAssetUrl: final_url_1 },
// ... one per image
]
})
If asset_preview_file fails, present the final output URLs as plain text links in the completion summary.
Before/after preview (Step 3b): Same rule applies β pass the original source URL and the processed URL directly to asset_preview_file. Do not resize either.
Create Firefly Board
Call the firefly board tool with the final output urls as follows:
create_firefly_board({
import_adobe_storage: [
final_output_url_1,
final_output_url_2,
// ...
]
})
Board link handling:
create_firefly_boardreturns a board URL. Extract it and store asboard_url.- If
board_urlis present and non-empty, include it in the completion message. - If the call throws an error or returns no URL: omit the board link and note "Firefly Board unavailable" in the summary (retrying does not help).
Then post the completion message. The preview grid is included in every completion message. The board link is included whenever
board_urlwas returned.
If N β€ 3:
β
Done! [N] photos edited with a consistent [look name] look.
π₯ Download:
β’ Photo 1 β <final_url_1>
β’ ...
π¨ View in Firefly Board β <board_url> β always include if board_url is set
Look applied: [look name] β [brief description of what was applied]
If N > 3:
β
Done! [N] photos edited with a consistent [look name] look.
π₯ Your edited photos:
β’ Photo 1 β <final_url_1>
β’ Photo 2 β <final_url_2>
β’ ...
π¨ View in Firefly Board β <board_url> β always include if board_url is set
Look applied: [look name] β [brief description of what was applied]
Verbosity Rule
Report only: major stage starts, per-image failures (logged once), and the final summary.
- When a major stage starts (e.g. "Applying Warm & Golden look to [N] imagesβ¦")
- Any per-image failure (log once, continue)
- Final summary with grid + download links
Output Extraction
All pipeline tools return:
{ "results": [{ "success": true, "outputUrl": "https://..." }] }
Read results[N].outputUrl. On success: false β see Error Handling.
Error Handling
| Situation | Action |
|---|---|
image_apply_preset returns 403 |
Skip preset for all images (Pattern 1). Note in summary. Continue with other look steps. |
| Any tone/color tool returns 403 | Skip that step. Note in summary. Continue. |
| Any tool returns "No approval received" | Treat the same as a 403 entitlement error. For optional steps (presets, fine-tune adjustments, preview), skip and note in summary. Retrying does not help for this error β continue per the rules above. |
| Any tool returns 401 | Ask user to re-authenticate via Adobe OAuth and retry. |
| Any tool returns "file too large or corrupted" | Stop processing that image immediately. Do not retry, do not attempt alternative URLs. Tell the user: "I couldn't process [filename] β it's either too large or the file may be damaged. Try re-uploading a smaller version, or check that the file opens correctly on your end." Flag the image in the summary and continue with remaining images. |
asset_add_file shows no files |
Remind user to select files in the picker. |
image_auto_straighten fails |
Use original URI; note "straighten skipped". |
image_apply_auto_tone fails |
Use straightened URI; note in summary. |
| Any adjustment tool fails | Use previous step's output; note in summary. |
image_apply_gaussian_blur fails |
Use previous output; note "blur skipped". |
image_crop_and_resize fails |
Use blur/adjusted output as final; note in summary. |
asset_preview_file returns "No approval received" |
Present final output URLs as plain text links in the summary instead. |
| All steps fail on one image | Return original URI; flag clearly in summary. |
Hard Constraints
- Every image in the batch is processed; failures are flagged rather than silently skipped.
image_apply_auto_toneis called withtype: "cameraRawFilter".- Apply the same parameter values to every image in the batch (cohesion over perfection).
- Adaptive presets are off by default β only run them as part of a look.
- Background blur uses
image_apply_gaussian_blurwithblurTarget: "background"(image_apply_lens_bluris not used here). - Completion is posted as a clear in-chat message (no push notifications).
More from adobe/skills
scrape-webpage
Scrape webpage content, extract metadata, download images, and prepare for import/migration to AEM Edge Delivery Services. Returns analysis JSON with paths, metadata, cleaned HTML, and local images.
217create-component
|
202ensure-agents-md
|
198dispatcher
|
197aem-workflow
|
192code-review
Review code for AEM Edge Delivery Services projects. Use at the end of development (before PR) for self-review, or to review pull requests. Validates code quality, performance, accessibility, and adherence to EDS best practices.
186