photoshop_recipe_remove_background
One-shot background removal: Select Subject by default, with an automatic Color Range fallback for uniform/high-key studio backgrounds (product-on-white). Attaches a layer mask (source pixels kept). Wrapped in a single undoable history step. Users often say: cut out, isolate subject, remove background, transparent background, arka planı sil. Use when: the user wants the subject isolated from the background non-destructively. Do NOT use when: the subject is extremely fine-edged (hair against a busy background) — propose a manual Refine Edge pass afterwards. Returns: { ok, summary, undo_history_states_consumed, details.method = select_subject | color_range_fallback }. Preconditions: PS ≥ 23 (Select Subject v2) for the default path; Color Range fallback still runs on uniform studio shots if Select Subject is loose or empty. Side effects: attaches a pixel mask to the active layer; no pixels destroyed; one undo reverts everything.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| feather_px | number | — | Edge feather in pixels (0-20). 0 = hard edge (default for product shots), 1-3 = soft edge for portraits. |
| keep_shadow | boolean | — | Reserved for a future iteration; currently recorded in the response but no shadow layer is created yet. |
| use_generative | boolean | — | After masking, run generative edge cleanup on inverted background selection (default false) |
Official
- Remove backgroundSelect Subject plus a layer mask. Original pixels stay behind the mask.
Community recipes
Nothing here yet. Be the first to share one.
Share a recipe