photoshop_image_stack
Stack two or more aligned photos into a smart object and blend with median, mean, or other modes to remove moving objects or reduce noise.
Instructions
Load 2+ image files into one document, convert to a smart object and apply a stack mode (mean/median/max/min/...). Classic "remove tourists from N shots" or noise reduction — no generative AI involved.
Users often say: remove tourists, median stack, average these photos, noise stack, turistleri sil.
Use when: the user has multiple aligned shots of the same scene and wants a statistical blend. Do NOT use when: removing a single object from one photo — use photoshop_generative_remove or photoshop_content_aware_fill.
Returns: JSON { ok, summary, details: { file_count, mode, layer_name } }. Preconditions: 2+ existing image files. Side effects: opens the files; the stacked result becomes the active document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Stack mode — median removes transient objects, mean reduces noise | median |
| files | Yes | Absolute paths of the images to stack (min 2) | |
| document_id | Yes | Photoshop document id from photoshop_get_state / photoshop_list_documents. Send null or 0 to use the active document. A positive number activates that document before the tool runs. When no document is open, a stale id does not block the call. |