Skip to main content
Glama

Server Details

Hosted MCP server for AI photo editing: nothing to install, no desktop photo editor needed.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
OAuth
Works in Glama
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A3.9/5.0

Scored across 53 tools

Disambiguation3/5

Many tools are carefully differentiated, but several clusters overlap in scope: add_adjustment/add_effect/photo_effect/apply_look/my_looks all change appearance, while crop/crop_for_platform/product_shot/make_story/make_meme all produce framed output variants. The detailed descriptions help, but the agent still has to navigate a large, partially overlapping surface where misselection is plausible.

Naming Consistency4/5

Nearly all tools use lower snake_case with clear verb_noun or domain-noun patterns, so the naming is generally predictable. Minor deviations appear in terse noun tools such as layer, text, fill, preview, and in mixed workflow names like make_story versus photo_effect.

Tool Count1/5

At 53 tools this is far beyond the well-scoped 3-15 range and fits the rubric's 50+ extreme-mismatch case. Many one-call composite workflows could be consolidated as options or presets rather than separate tools, reducing selection and context burden.

Completeness5/5

The surface covers the full lifecycle: upload/open/new canvas, layers and masks, selections including AI, adjustments/effects, text, geometry, retouch, object removal, presets, batch jobs, export, checkpoints, review, and sharing. There is no obvious lifecycle gap, and the absence of native undo is explicitly handled through checkpoints.

Publisher details

Operator
Editmamei · Publisher source
Vendor relationship
First-party · Publisher source
Privacy policy
Not provided
Trust center
Not available
Restrictions
Free and paid plans · Publisher source

Available Tools

53 tools
add_adjustmentA
Destructive
Inspect

Add a non-destructive adjustment to a layer, or re-edit one in place with filter_id. It stays live and editable; nothing is baked into pixels until export_photo, and manage_filters op=delete removes it again. type picks the adjustment: curves, levels, exposure, brightness_contrast, hue_saturation, color_balance, color_temperature, shadows_highlights, saturation, vibrance, sharpen, noise_reduction, gaussian_blur. A field that belongs to another type is refused, naming this type's own fields. An adjustment applies to ONE layer (layer_id or layer, else the selected or top layer), not to the flattened photo: on a multi-layer photo, say which layer. For vibrance the knob is the vibrance field (saturation on that type is a separate plain multiplier that normally stays untouched). curves: ONE filter per channel, so add separate filters for red and blue rather than one for both; points are [input, output] pairs on a 0-255 scale, including the endpoints. hue_saturation and color_balance likewise carry ONE range per filter. A large hue shift (more than about 30) on a range that is mostly low-saturation pixels, such as a grey sky, posterizes into blotches and hard bands: shift those colors with color_balance or a small hue move instead. gaussian_blur: radius in pixels at full resolution; combine it with a saved-selection mask for soft-focus or background-blur effects. color_temperature runs the opposite way to what you might expect: raising to_kelvin WARMS the photo. A re-edit MERGES: any field you omit keeps its value, so re-editing {contrast: 50} on a brightness_contrast filter doesn't reset brightness. A filter that came with the file cannot be re-edited and is refused (delete it and re-create it). mask (a saved selection channel name) confines a NEW adjustment; it is fixed at creation and cannot change on a re-edit. ORDER MATTERS: straighten, flip and resize first, then crop, THEN add masked adjustments: rotate, flip and resize all refuse once a masked adjustment exists, or any filter that came with the file. Check the stack afterward with manage_filters (op=list).

Inputs: type (required), image (required), hue, mask, +36 more. Returns: mask, name, type, filter_id, +1 more

add_effectA
Destructive
Inspect

Add a non-destructive effect to a layer, or re-edit one in place with filter_id: one of vignette, black_white, motion_blur, lens_blur, add_noise, drop_shadow, outline, outer_glow, surface_blur. It is the same live, editable, maskable mechanism as add_adjustment, on the SAME filter stack: manage_filters (op=list, set_visibility, delete) manages both. type picks the effect; a field that belongs to another effect is refused, naming this type's own fields. An effect applies to ONE layer (layer_id or layer, else the selected or top layer), not to the flattened photo. A re-edit MERGES: any field you omit keeps its value. A filter that came with the file cannot be re-edited and is refused (delete it and re-create it). mask (a saved selection channel name) confines a NEW effect; it is fixed at creation and cannot change on a re-edit. ORDER MATTERS: straighten, flip and resize first, then crop, THEN add masked effects: rotate, flip and resize all refuse once a masked filter exists, or any filter that came with the file. vignette, motion_blur and drop_shadow stay locked to the content through flip, resize and an exact 90/180/270-degree rotation (their center, angle and offset fields update automatically, and manage_filters op=list shows the new values); rotating by any OTHER angle is refused while a vignette, a motion_blur or a drop_shadow with a non-zero offset is present, rather than letting it drift out of alignment. outline, outer_glow, surface_blur, lens_blur and a zero-offset drop_shadow have no direction, so they survive any rotation. A vignette that takes a corner to pure black is reported in the result (vignette_black_corners): where it reaches black it leaves a hard ring short of the corner. Resizing scales their pixel sizes with the photo (never below the 1 px minimum of outline width, outer_glow radius and surface_blur radius). lens_blur is a uniform soft-focus blur, not a depth-of-field falloff. outline puts a solid stroke around a layer's transparent edge (meme text, sticker cut-outs), width 1 to 50 px; outer_glow adds a soft glow around it (glowing text), spread 0 to 50 px; surface_blur smooths skin and other texture while keeping hard edges. outline and outer_glow need a layer with transparency, and attach to a text layer without rasterizing it: the text stays editable and the effect follows each edit. For a plain blur use add_adjustment type=gaussian_blur. Check the stack afterward with manage_filters (op=list).

Inputs: type (required), image (required), mask, name, +25 more. Returns: mask, name, note, type, +3 more

apply_lookA
DestructiveIdempotent
Inspect

Give a photo a named look (cinematic, noir, black and white...) in one call. You pick the look and how strong; the server applies it as live, editable filters, so the same look at the same strength always gives the same result. Applying a look again replaces the earlier one (it never stacks), so "less of it" is the same call at a lower strength; strength 0 removes it. Looks: cinematic (Teal shadows, warm highlights, softened blacks and a darkened frame, like a film still.) noir (Dark, contrasty black and white with a heavy vignette and a little grain.) bleach_bypass (Drained color and hard contrast with a cool cast, gritty like a war film.) bw_classic (Balanced black and white with gentle contrast.) bw_high_key (Bright, airy black and white with lifted blacks and low contrast.) bw_red_filter (Black and white that darkens blue skies and brightens warm tones, as a red lens filter does.) warm_social (Warmer light, livelier color and open shadows; a friendly look for social posts.) vintage_fade (Faded blacks and whites, muted color, warm highlights, grain and a soft vignette, like an old print.) deep_fry (The over-processed meme look: saturation blown out, crushed contrast, a hot red-orange cast, heavy noise and hard sharpening. Add jpeg_crush for the blocky artifacts of a much-reposted JPEG.) On an image with more than one layer, say which layer with "layer". Offer these to people who describe an outcome instead of naming adjustments. It makes no file (unless jpeg_crush): call export_photo afterwards for a download link. For a whole editor rather than one look (a persona with a creed, a method and styles of its own, and notes on every step), use plan_edit.

Inputs: look (required), image (required), layer, strength, +1 more.

bakeA
DestructiveIdempotent
Inspect

Bake a layer's live filters into its own pixels without merging it into anything: the layer survives as itself, just with no more editable filters; a text layer stays a text layer (baking never rasterizes one). A masked filter's confinement survives the bake exactly. Defaults to the selected layer, or the topmost layer if none is selected. Baking clears the masked-filter refusal of canvas_size, resize and transform_image: it is the way to make a masked adjustment safe to resize, rotate or flip around. all: true bakes every ordinary layer with a live filter at once; a group layer is always skipped, even one that carries its own filter, and is reported under skipped_groups_with_filters. Targeting a group directly (layer / layer_id) is refused. IRREVERSIBLE in this session: there is no undo, so make a checkpoint first when in doubt.

Inputs: image (required), all, layer, layer_id. Returns: name, baked, layer_id, baked_layers, +2 more

batchAInspect

Run ONE preset over several photos in one call: apply_look, crop_for_platform, product_shot, make_story, make_sticker, recolor, my_looks (applies one of your saved looks, args {name}), with the same arguments for each. Give sources (1 to 10 upload handles like "upload:abc123" from request_upload, one link can carry several photos, or https:// image URLs), preset, and args: that preset's arguments without image (e.g. {marketplace: "etsy_square"} for product_shot). Each photo is opened, processed, its download link(s) collected, and closed; one image is open at a time. A photo that fails (an address that can't be fetched included) is reported and the batch goes on. A look is exported as a JPEG after it is applied. If the time budget can't fit another photo it stops and returns remaining (the sources not yet done): call again with those. Credits are charged as for the single calls (AI selection included). Only presets you can call yourself can be batched.

Inputs: preset (required), sources (required), args.

canvas_sizeA
Destructive
Inspect

Extend the canvas: grow it and reposition the existing content within the larger frame. It never shrinks (use crop for that): REFUSED when either dimension would be smaller than the current one, and when neither dimension actually grows. Choose where the existing content lands with anchor (a 3x3 grid, default 'center') or explicit offset_x / offset_y; give one or the other, not both. fill sets a solid backdrop layer under the WHOLE canvas: white, black, a '#rrggbb' hex color (rendered as luminance on a grayscale photo), or transparent (the default, which adds no backdrop layer at all; see the field description for what that means at export time). IRREVERSIBLE in this session: there is no undo, so make a checkpoint first when in doubt. REFUSES when the photo has a masked filter, or any filter that came with the file, AND the existing content actually moves (offset_x / offset_y not both 0; a top-left anchor never moves anything): extend the canvas before adding masked filters, not after, because a filter's mask does not travel with the layer it confines when the canvas repositions it. An unmasked effect (a vignette and friends) is unaffected. On this server the new canvas must stay within the workspace's pixel limit (less at a higher bit depth).

Inputs: image (required), width (required), height (required), fill, +3 more. Returns: width, height, offset_x, offset_y, +1 more

check_jobA
Read-onlyIdempotent
Inspect

Get the result of a call that answered "still running" with a job_id. A large photo can take longer than one call may wait, and that work is never stopped: it carries on, and this collects its own result (download links, numbers, previews) once it is done. It waits up to a few minutes, then answers "still running" again if the job is not done. Without job_id, your most recent job. Read-only; it doesn't use credits.

Inputs: job_id.

check_listingA
Read-onlyIdempotent
Inspect

Check whether a photo is ready to list on a marketplace, without changing it. Renders the composite and measures: pixel size and aspect ratio against the marketplace's, how much of the border is pure white (required for amazon, reported for the others), how much of the frame the product fills (about 85% is the guidance) and whether it touches the frame edge. Each check returns rule, pass, measured, required and fix (the call that fixes it, usually product_shot with that marketplace). Marketplaces: amazon (2000x2000), etsy_square (2000x2000), etsy_landscape (2700x2025), shopify (2048x2048), ebay (1600x1600).

Inputs: image (required), marketplace (required).

checkpointA
Destructive
Inspect

Checkpoints stand in for undo, which this session does not have. op=create saves the photo's CURRENT state, every live filter included, and returns a checkpoint_id. op=restore reopens that snapshot as a NEW image and closes the old one (replace, not copy): the old image id stops working once the close succeeds; if the close fails the result says close_failed: true, the old image stays open and both ids are valid. The result names the new id, e.g. "image N closed; restored as image M — use M from now on". A checkpoint (up to 100 MB; a larger one is said to be kept for this session only) is kept for 24 hours after it is made, whatever happens meanwhile: a crash, the server pausing or restarting, or your assistant reconnecting. One made in an earlier session is restored by its checkpoint_id as a NEW image and closes nothing (close the photo it replaces yourself), and op=list shows it as kept from an earlier session. op=list reports checkpoint_id, the image it belongs to, created_at and size in bytes, plus open: false for a checkpoint whose photo has since closed (still restorable) and pending: true while a create is still in flight. op=delete removes one. An unknown checkpoint_id on restore or delete is refused, naming every id that IS known. op=restore also returns the reopened image's base_type, precision and layers, like open_photo. Each photo holds at most 5 checkpoints (a 6th op=create REFUSES rather than silently evicting the oldest: delete one first) and at most 20 are kept in total across photos, since each takes disk space until deleted. This server also caps checkpoint disk use at 1024.0 MiB per session and 1024.0 MiB across all your sessions; op=create is refused at or above either, so free room with op=delete first.

Inputs: op (required), image, checkpoint_id. Returns: bytes, image, width, height, +11 more

close_photoA
Destructive
Inspect

Close a photo WITHOUT saving it. If the work should be kept, export it first with export_photo (format psd keeps the layers).

Inputs: image (required). Returns: closed, editor_notes

compareA
Read-onlyIdempotent
Inspect

Compare before and after, or two regions. mode='before_after': the photo without its filters against the photo with them, whole or in a region, as per-channel mean and percentile changes, optionally with paired before/after preview images (include_previews). mode='regions': statistics for two named rectangles (region_a, region_b) on the current, filtered photo.

Inputs: mode (required), image (required), max_px, region, +4 more. Returns: after, delta, proxy, before, +4 more

convert_modeA
DestructiveIdempotent
Inspect

Convert the photo's base color mode, rgb <-> grayscale; an indexed photo is refused outright as a source. Converting to grayscale permanently discards color; converting a grayscale photo to rgb does not restore it. A no-op when the photo is already in the requested mode (reported as converted: false, nothing else changes; this is checked BEFORE the refusal below, so a no-op call never fails just because a filter is present). Otherwise REFUSES outright while the photo has ANY live filter, since a color-dependent filter (curves on the red channel, hue_saturation, a vignette color...) could change meaning across the mode change: bake it first (bake) or delete it (manage_filters op=delete), then convert. IRREVERSIBLE in this session: there is no undo, so make a checkpoint first when in doubt.

Inputs: mode (required), image (required). Returns: mode, converted, editor_notes

cropA
Destructive
Inspect

Crop the canvas to an explicit rectangle (left, top, width, height in photo pixels). This is not a scale (use resize). IRREVERSIBLE in this session: there is no undo, so make a checkpoint first when in doubt. Every live filter, mask channel and the filter record survive a crop; it is the one geometry change that never refuses because of masked filters.

Inputs: top (required), left (required), image (required), width (required), +1 more. Returns: width, height, editor_notes

crop_for_platformA
Destructive
Inspect

Crop a photo for a platform and get the finished JPEG in one call. The server crops to the format's shape, centred on the main subject when it can find one (or the middle), scales DOWN to the format's size (never up), and exports a download link. It takes a checkpoint first and puts the image back if anything fails. Formats: instagram_square (1080x1080), instagram_portrait (1080x1350), story_reel (1080x1920), youtube_thumbnail (1280x720), pinterest_pin (1000x1500), link_preview (1200x630), x_post (1600x900), cinema_wide (2.39:1, crop only). For story_reel the result says where to keep key content.

Inputs: image (required), format (required), focus.

editor_studioAInspect

Several editors on one photo (the side-by-side test): 2 to 4 editors, each on its own fresh copy of the photo, one after another. Start with source (what open_photo takes) and editors: it opens the first copy and hires its editor as plan_edit does. Work that copy as that editor, export it and close it, then call again with studio (the run's id) for the next copy. job, deliverable, subject and story apply to every copy. At the end review_edit with studio compares them all.

Inputs: job, story, source, studio, +3 more.

export_photoAInspect

Write the finished photo: every live filter is baked in and ALL metadata (EXIF, XMP, IPTC, GPS, thumbnail) is stripped. jpg, png, webp and tiff are flattened. psd keeps the layers (masks, opacity, blend modes, groups) for finishing in Photoshop or another editor: text becomes pixels, a group carrying its own filter is merged into one layer, and the result lists layers that may blend slightly differently in Photoshop. A PSD is large (about 50 MB per full-size layer on a 24 MP photo), and a download here is capped at 100 MiB. It is for finishing elsewhere: open_photo does not take a PSD. Returns a download_url (valid 24 hours) plus a preview of what was exported. The link is for the user, and also downloads with a plain GET (e.g. curl -sS -o <dest> <download_url>). Transparency is flattened onto white unless keep_alpha is true (png or webp only), which keeps it, e.g. for a cut-out. The color profile is not metadata and is kept: a wide-gamut photo (a phone's Display P3) is written in its own color space with the profile embedded, so it keeps its full color. color_profile srgb converts to sRGB instead, the safest choice for a viewer that ignores profiles; adobe-rgb converts to Adobe RGB (color photos only). The resultreports the space written (color_profile).

Inputs: image (required), format, quality, filename, +6 more. Returns: bytes, width, format, height, +9 more

fillAInspect

Add a NEW layer, canvas-sized, filled with a solid colour (op solid), a linear gradient (start to end) or a radial gradient (centre and radius) through 2-8 colour stops. The layer goes directly above the target layer (inside its group), with the blend mode and opacity you give; mode color tints without touching lightness, the usual choice for recolouring. Pass mask (a channel name) to confine the fill to that channel: it becomes the layer mask. Gradients blend in sRGB, are not dithered, and use photo pixels for every point. The current selection is kept and does not clip the fill. Do NOT use for painting strokes or touching up pixels; use retouch for that. Returns layer_id, layer_name, op, mode, opacity and masked. On this server the new layer is canvas-sized, so it counts toward a photo's layers together staying within its layer limit, each counted at the canvas size (or the largest layer size used in the photo, if bigger).

Inputs: op (required), image (required), end, mask, +10 more. Returns: op, mode, masked, opacity, +3 more

find_objectsA
Read-onlyIdempotent
Inspect

AI: find things by name. Returns candidate boxes [x1,y1,x2,y2] in document pixels, best first, with scores. It never picks: several candidates can mean several objects or a wrong match, so check the boxes (preview with a region) before passing one to select_with_ai target=object.

Inputs: word (required), image (required), max, layer, +1 more.

get_histogramA
Read-onlyIdempotent
Inspect

Measures the photo and changes nothing in it. Statistics for several channels from ONE render: mean, median, 1st/5th/95th/99th percentiles and a 256-bin histogram per channel (bins[v] = pixel count at value v, 0-255, in the structured result); the text also gives each channel's pixel count at 0 and at 255, which tells real clipping from a value merely near the limit. Luminance uses perceptual weights. The default is fast (about 0.3 s, from a 1024 px proxy render): good for iterating, but small clipped highlights can be under-counted. Pass exact: true (about 4 s on 24 MP, much longer on a very large photo) as the final clipping check before export_photo; on a very large photo it is slow, so make a checkpoint before it, as before any long call. region and mask narrow what is measured; a mask that is thin or feathered is measured at full resolution (the result then says exact, and it takes longer on a large photo).

Inputs: image (required), mask, exact, region, +1 more. Returns: exact, width, height, pixels, +2 more

inspectA
Read-onlyIdempotent
Inspect

Read-only. what='documents' lists the photos open in this session by image id. what='uploads' lists your uploads (from any of your signed-in connections) newest first, with their upload:<id> handles, names, sizes, when each was uploaded (uploaded_at), the image ids of those already open (open_as) and expires_at. A photo that has not been opened yet is listed with checked: false and no width or height; its size is read when open_photo first opens it. A photo the user says they already sent shows up in what='uploads'. With previews true it also shows a small picture of each of the newest 8, so you can find the one the user means ("the dog one") without opening every photo. what='fonts' lists the fonts installed on this server, optionally narrowed by filter. Uploads and open photos belong to this server; a photo opened through another Editmamei connector stays with that connector.

Inputs: what (required), filter, previews. Returns: what, fonts, total, default, +5 more

layerA
Destructive
Inspect

Layer management. op: create | create_group | delete | duplicate | select | set | reorder | merge_down | flatten (a group is created, addressed and reordered like any layer; there is no separate group tool). Address a layer by layer_id (an id from inspect or a previous layer / bake result) or by layer (its name; names can repeat, so layer_id is the only handle that always tells two apart). Every op except select changes pixels or layer structure, and there is no undo in this session: checkpoint first when in doubt. create adds an empty layer (width/height default to the photo size; fill white, black or transparent, default transparent). create_group adds a group (a folder for other layers). delete removes a layer (a group takes its children with it) and its filters; REFUSED if it is or contains the photo's only remaining layer. duplicate copies a layer directly above the source; REFUSES when the layer (or, for a group, any layer in it) carries a live filter, since the copy's filter would collide with the original's record: bake it first or delete the filter, then duplicate. select sets the active layer (the default target of add_adjustment and friends when no layer is named) and changes nothing else. set changes opacity, mode (a blend mode from a fixed list), visible and/or name (at least one is required; a name may not be empty). Names are kept unique by suffixing " 2", " 3", ... when taken. reorder changes a layer's stack position and/or moves it into a group (parent_group) or out to top level (to_top_level: true); giving neither keeps the layer in its current group and only changes position; REFUSED if parent_group would nest a group inside itself or one of its own descendants. merge_down bakes ONE layer's live filters (masked ones included) into pixels and merges it into the first VISIBLE layer below it at the same level; REFUSES if the source layer itself is hidden, if the target would be a group, if there is no visible layer below (a hidden one in between is skipped, not merged), or if the result would exceed the size cap resize enforces; a visible text layer involved is rasterized (reported as rasterized_text). flatten collapses the WHOLE photo into a single layer the same way, always drops transparency (reported as has_alpha: false), and REFUSES by default when any layer is hidden, INCLUDING a visible layer inside a hidden group, rather than silently discarding it (discard_hidden: true proceeds and reports what was discarded). On this server a created layer's width x height must stay within the workspace's pixel limit (less at a higher bit depth), and a photo's layers together within its layer limit, each counted at the canvas size (or the largest layer size used in the photo, if bigger).

Inputs: op (required), image (required), fill, mode, +11 more. Returns: mode, name, deleted, opacity, +8 more

layer_maskA
Destructive
Inspect

A real layer mask (it moves with the layer). create from a saved selection channel (e.g. from select or select_with_ai) or from white, black, the layer's transparency or grayscale; delete; apply (bake the mask into the layer's transparency: a cut-out); invert. For a cut-out composite: place the photo as a layer, select on that layer, then create its mask from the channel.

Inputs: op (required), image (required), layer, invert, +3 more. Returns: op, layer, has_mask, layer_id, +1 more

make_gridAInspect

Make a collage or multi-panel meme from 2 to 9 of the user's photos and get one download link. No images are bundled: the layout goes around THEIR photos. sources are upload handles like "upload:abc123" (request_upload; one link can carry several photos) or https:// image URLs (downloaded first; if any fails the grid is not made and the error names which). layout: 2x1 (two side by side), 1x2 (two stacked), 2x2, 3x3 (these need exactly that many photos) or auto (default: the most square grid for the count; empty cells at the end show the background). cell: 1:1 (default), 4:5, or original (the first photo's shape). Each photo is scaled to COVER its cell, centred, and clipped to it. gap: pixels between cells and around them (0 to 100, default 8). background: #rrggbb (default white). labels (optional, one per photo, "" for none): short text at the bottom-left of each cell, white with a black outline, fitted to a box - the two-panel meme. width: the final image width (default 1080 px per column; the default is reduced to fit the server's pixel and layer limits, an explicit width over them is refused). format jpg (default) or png. The grid opens as a NEW image (its id is in the result) as live layers; on any failure the new image is closed again and nothing is left open.

Inputs: sources (required), gap, cell, width, +4 more.

make_memeA
Destructive
Inspect

Turn the user's photo into a meme in one call, in one of three layouts, and get the finished image as a download link. No meme images are bundled: the layout goes around THEIR photo. style classic: top and/or bottom text in an Impact-style condensed bold face (Anton if installed, then Oswald Bold, Bebas Neue, League Gothic, then the boldest condensed font that is, then any bold sans; the result says which), UPPERCASE unless uppercase is false, white with a black outline, centred, each fitted to a box about 92% of the width by 22% of the height at the top and bottom edges. style caption_bar: a white bar added above the photo with caption in black, left-aligned (Inter, Roboto or Open Sans if installed), the bar as tall as the text needs, at most 40% of the image. style demotivational: a black frame with a thin white keyline around the photo, title in a large serif (Playfair Display or Times if installed) and a smaller subtitle below, both white. The photo is not resized (a very large one is slow; the demotivational frame makes the canvas about 1.7 times larger, so photos over about 14 MP are refused by the pixel cap: resize first). It takes a checkpoint first and puts the image back if anything fails; on success the meme stays on the image as live layers (the text stays editable text layers) and the result gives the checkpoint id for the plain photo. Text longer than the box allows is shrunk down to a minimum size and then clipped (the result says so); keep it short.

Inputs: image (required), style (required), top, title, +5 more.

make_stickerAInspect

Cut the subject of a photo out as a die-cut sticker and get a transparent PNG (or WebP) download link. The server finds the subject, cuts it out on a copy of the photo layer, adds a solid border around it (border, 4 to 50 px, default 2.5% of the subject's long side; border_color, default #ffffff) and, unless shadow is false, a soft drop shadow, crops to the sticker with room for both, and exports with the transparency kept. Your photo is left as it was (the call restores it, so the result gives its NEW image id). If the subject lies on its side or upside down, say which edge its top points toward with subject_up. The image must have a single layer. Needs the selection service.

Inputs: image (required), border, format, shadow, +2 more.

make_storyA
Destructive
Inspect

Make a 9:16 story frame (1080x1920) from a photo and get one download link. The photo is scaled to fit the width and placed on a background: blur (default: a blurred, scaled-up copy of the photo itself), a solid color like #1a1a2e, or gradient (top to bottom, gradient_top default white, gradient_bottom default a 15% darker shade of the top). Optional caption: white bold text with a black outline, fitted to a box inside the safe zone (the top 250 px and bottom 340 px of 1920 are covered by the app), sitting just above the handle. Optional handle: small text at the bottom centre, just above the unsafe band. The image must have a single layer. A very wide or tall photo (a panorama) cannot take the blurred background: use a color or gradient for it. It takes a checkpoint first and puts the image back if anything fails; on success the story stays on the image as live layers and the result gives the checkpoint id for the plain photo.

Inputs: image (required), format, handle, caption, +3 more.

manage_filtersA
Destructive
Inspect

Manage the filter stack: op list | set_visibility | delete. list returns every filter on the photo (layers inside groups included), top of the stack first; it is the way to check what add_adjustment and add_effect produced and to find a filter's id for a re-edit. set_visibility switches one filter on or off without deleting it. delete permanently removes one (filter_id) or up to 100 at once (filter_ids); there is no undo, and if any id in filter_ids is unknown nothing is deleted. There is no apply op (creating or re-editing a filter is the job of add_adjustment and add_effect) and no reorder: delete and re-create the filters in the order you want.

Inputs: op (required), image (required), visible, filter_id, +1 more. Returns: name, deleted, filters, visible, +3 more

modify_selectionA
Destructive
Inspect

Expand, contract, border, feather, smooth, invert or harden a saved selection channel. Refused if the target channel already confines a filter.

Inputs: op (required), image (required), channel (required), px, +1 more. Returns: channel, fraction, selected_pixels

my_looksA
Destructive
Inspect

Your saved looks: filter recipes kept on this server, for you only. op says what to do. op=save (needs image, name; layer or layer_id when the image has more than one layer): read the live adjustment and effect filters on a layer (manage_filters op=list) and keep them under a name. Only the filters the filter tools can recreate are kept, in the order they are applied (settings only, never a photo); a filter that is switched off, confined to a mask or not made with these tools is skipped and listed in the result. Nothing to save is an error. At most 20 looks per person and 50 filters per look; saving under an existing name replaces it. op=apply (needs image, name; layer, layer_id, replace optional): put one of your saved looks on a layer as live, editable filters named "My look · · ...". Every stored setting is run through the same filter tools you have, so each is validated again; it takes a checkpoint first and puts the image back if any step is refused. A layer that already carries this look is refused unless replace is true (then those filters are taken off first). There is no strength option: the filter tools have no per-filter strength, so the look applies as saved (save a gentler look for less). op=list: your saved looks, with the number of steps and when each was saved (a look that cannot be read is reported, never used). op=delete (needs name): delete one of your saved looks; filters it already added to a photo stay on it. op=apply works in batch (preset my_looks, args {name}) to give several photos the same look. For a whole editor rather than one look (a persona with a creed, a method and styles of its own, and notes on every step), use plan_edit.

Inputs: op (required), name, image, layer, +2 more.

new_canvasAInspect

Create a new, empty photo from scratch (not from a file: that is open_photo). width/height, mode (rgb or grayscale, default rgb), fill for the single background layer (white, black or transparent; default white), optional precision (16-bit; the same promotion as open_photo's precision) and name. Returns the same shape as open_photo (image id, size, color mode, precision, layer list), so every other tool treats it like an opened file. On this server width x height must stay within the workspace's pixel limit; '32' precision is refused, and '16' only up to a smaller size limit (memory). Up to 2 photos stay open at once (the one used least recently is saved and closed to make room, and reopens when named).

Inputs: width (required), height (required), fill, mode, +2 more. Returns: image, width, height, layers, +2 more

open_photoAInspect

Open a photo and get its image id, which every other tool uses. source is an upload handle "upload:" (from request_upload), the name of one of your uploads, "latest" for the newest upload ("latest:2" the one before it), the download_url of one of your exports (a way back to a version you exported, for example after a photo was lost), or a public https:// image URL the server downloads itself (a photo share link works). It never opens a file path. Accepts JPEG, PNG, TIFF, WebP and HEIC, and RAW camera files on the larger workspace (the optional raw object sets white balance, exposure and highlights for a RAW file). A source can also be one of the built-in sample photos, listed by inspect what=uploads (sample:<name>, or its file name when none of your uploads has it). precision promotes bit depth before grading (16-bit only up to a size limit that overview lists). Up to 2 photos stay open at once: opening another saves and closes the one used least recently, which reopens by itself, edits intact, the next time a tool names it. Uploads and open photos belong to this server; a photo opened through another Editmamei connector stays with that connector.

Inputs: source (required), raw, precision. Returns: image, width, height, layers, +3 more

overviewA
Read-onlyIdempotent
Inspect

A static brief on how this server works: how photos get in and out, the workflow (assess, plan, edit, check), how adjustments and filters work, why geometry comes before masked adjustments, checkpoints in place of undo, how previews work, and this server's limits. Read-only and needs no photo. A single simple edit doesn't need it.

Inputs: no named parameters. Returns: brief, bytes, sections

photo_effectA
DestructiveIdempotent
Inspect

Effects on a photo in one call, as named layers (nothing is flattened): type says which. It makes no file: call export_photo afterwards for a download link. Each takes a checkpoint first and puts the image back if anything fails; running it again replaces its earlier layer, and strength 0 removes it. A multi-layer image needs layer. type=background_blur: portrait mode. The server finds the subject with the selection service, copies the photo layer as "Background blur" directly above it, blurs the copy with a live Gaussian blur and hides the blur over the subject with a layer mask (the inverted subject, pulled in 1-2 px from its edge and feathered, so the subject's edge stays the original). strength 0-100 (default 50) sets the blur radius from 0.3% to 2.5% of the image's long side. It leaves the channels "Portrait subject" and "Portrait blur mask" on the image (replacing channels called that); a layer you named "Background blur" yourself is left alone. Known gap: the subject's colours can bleed a little into the blur right at its edge. type=skin: smooth skin for portraits and influencer shots. The server finds the person with the selection service, finds the skin inside them by colour (a YCbCr rule on a small render of the photo, cleaned up), copies the photo layer as "Skin smoothing" directly above it, smooths the copy with a live edge-preserving surface blur plus a faint grain (so the skin keeps some texture) and shows it only through the feathered skin mask. Eyes, lips and hair mostly fall outside the colour rule, and the blur keeps hard edges. strength 0-100 (default 50) sets the copy's opacity from 0 to 85% and its blur radius from 0.25% to 0.6% of the image's long side (at most 6 px, the effect's limit). It leaves the selection channels "Skin subject", "Skin" and "Skin mask" on the image, and replaces channels already called that; a layer you named "Skin smoothing" yourself is left alone (the new one gets another name). Known gaps: skin is found by colour, so skin-toned areas that are not skin (a wooden wall, an orange shirt) inside the person get smoothed too, and very pale, very dark or heavily tinted skin can be missed. For background_blur and skin: if the subject lies on its side or upside down, say which edge its top points toward with subject_up. type=sky: replace the sky. You supply the sky photo in sky (an upload handle from request_upload, or an https:// image URL); no sky images are bundled. The server selects the sky with the selection service (it refuses when less than 3% of the photo is sky), places the sky photo as the layer "New sky" above the photo, scaled to cover the sky's box without distortion, masks it with the feathered sky channel, then nudges the foreground's colour toward the new sky's average colour with live curve filters confined to everything but the sky. strength 0-100 (default 70) scales that nudge: at 100 the foreground moves 25% of the way, and never more than 24 levels in a channel; 0 leaves the foreground alone. It leaves the channels "Sky", "Sky mask" and "Sky foreground" on the image (replacing channels called that); a layer you named "New sky" yourself is left alone. Known gaps: the old sky can show as a thin fringe along fine edges, and the foreground light is not relit.

Inputs: type (required), image (required), sky, layer, +2 more.

place_imageAInspect

Place another uploaded photo into an open photo as a NEW LAYER (compositing). source is an upload handle "upload:" from request_upload (or the name of one of your uploads); a built-in sample photo listed by inspect what=uploads also works. Optional x, y, width, height, name and position work as for layer op=create. For a cut-out: place, then select_with_ai target=subject with that layer, then layer_mask op=create from the channel. If the file holds several pictures (a multi-page TIFF), only ONE is placed (not a flattened composite). On this server the placed layer's scaled box must stay within the workspace's pixel limit (less at a higher bit depth), and a photo's layers together within its layer limit. Uploads and open photos belong to this server; a photo opened through another Editmamei connector stays with that connector.

Inputs: image (required), source (required), x, y, +5 more. Returns: x, y, name, width, +5 more

plan_editAInspect

Hire an editor for an open photo: a persona with a whole point of view and its own styles, not a filter. Use it when someone asks for a persona, an editor, a style or a photographer's eye, or just wants the photo to look great. Each editor (documentarian, cinematographer, art_director, printmaker, feed_creator) has a creed, ethics (what they will and will not change), frame habits, a method stage by stage with recipes in this server's tools, styles, and a voice. This returns all of that for the photo, the critic's read of where it starts (attention, subject, light, mood, recipe), and the rules of an optional job (wedding, portrait, real_estate, product, food, pet, event). After this, every edit on the photo returns the editor's notes on what the edit changed, and review_edit gives the full critique. Without editor it lists the cast ranked for this photo, best fit first (or, without image, just the cast); when the user named no editor, choose one yourself from what the user said and that ranking, and say which and why. Mark the subject with subject [x1, y1, x2, y2] in image pixels (and up to 6 named story elements to keep) for much better notes; without it the critic guesses from the strongest attention. Calling it again on the same photo keeps the measured start (restart true starts over). Changes nothing in the photo.

Inputs: job, image, story, style, +4 more.

previewA
Read-onlyIdempotent
Inspect

Render the photo with its live filters applied and return it as a JPEG so you can look at it. It is fast (about a third of a second at 1024 px). Previews are most of the bytes a session returns: prefer get_histogram for a numeric check (did the tone move?) and use this for spatial questions. region renders a full-resolution crop instead of the whole-photo proxy, which is exact for spatial filters rather than approximate.

Inputs: image (required), max_px, region. Returns: proxy, width, height

product_shotA
Destructive
Inspect

Turn a product photo into a marketplace-ready listing image in one call. The server finds the product, cuts it out, frames it at the marketplace's size and shape, puts it on a background, adds a soft ground shadow, gives it digital-first color (screens and a white page make products look muted) and exports a JPEG (a PNG when the background is transparent). It takes a checkpoint first and puts the image back if anything fails or no product is found. The image must have a single layer. Marketplaces: amazon (2000x2000; main image: pure white background, product at least 85% of the frame.) etsy_square (2000x2000; Etsy recommends listing photos at least 2000 px on the short side.) etsy_landscape (2700x2025; Etsy recommends listing photos at least 2000 px on the short side.) shopify (2048x2048; square product images up to 2048 x 2048 px zoom well in most themes.) ebay (1600x1600; eBay recommends at least 1600 px on the longest side for zoom.) background: white (default), transparent (a PNG with no background), a color like #f3e9dc, gradient (top to bottom, from gradient_top, default white, to gradient_bottom, default a 15% darker shade of the top), or upload: (another photo as the background); amazon allows only white. backdrop: flat (default) or studio (a soft darker falloff, 15% darker at the corners, white or color backgrounds only). shadow: on by default (off for amazon). color: digital (default) or true (no color change), color_strength 0-100 (eased automatically for a product whose colors are already strong, so they don't clip). fill: the product's share of the frame's limiting side, 0.5-0.95, default 0.85.

Inputs: image (required), marketplace (required), fill, color, +6 more.

recolorAInspect

Show one object (a product, a garment) in several colors, and get one download link per color, in one call. Say what the object is with word (e.g. "shirt"; the server finds it), box [x1,y1,x2,y2] in image pixels, or channel (an existing selection channel, e.g. from select_with_ai target=object). For each color the server slides the object's tones toward that color's lightness (shading and highlights are kept), tints it with LCh Color through the object's mask, exports it, and removes its layers again, so the document is left as it was. A big jump in lightness (white to navy, black to near white) also moves the curve's black or white point, keeping at least a quarter of the tonal range so the object's shading survives; a jump still out of reach is reported with the lightness reached. Each variant also reports the object's measured average color and how far that is from the one asked for. Needs a single-layer image, or name the layer with layer. names optionally sets each file's name. The image's active selection is replaced while it works. If time runs short it stops and returns the colors made so far; call again with the rest. The links expire.

Inputs: image (required), colors (required), box, word, +4 more.

remove_objectAInspect

AI: removes an object and fills in the background (AI). Say what to remove with word (e.g. "dog", "sign"; the server finds it), box [x1,y1,x2,y2] in image pixels, or channel (an existing selection channel, e.g. from any selection tool). The server grows the object's mask a little (grow_px, default about 0.5% of the object's long side, at most 50), cuts out a square of the photo around it at full resolution, has the AI fill the hole, and adds the result as a NEW layer "Removed: ..." directly above the layer it was cut from (the top of the stack when no layer is given), covering only the filled area. Nothing else is changed: delete that layer to undo. Check the result with preview or compare. The AI is shown a square of the photo around the object (about 2x its long side, at most 4000 px), so large objects work. One is refused before anything is sent when it is longer than that square allows, or when its hole would be more than a quarter of what the AI works on (an object that fills most of the photo): select a smaller part, or remove it in pieces. Takes about 5 to 15 s (longer the first time). Do NOT use for small blemishes or dust (retouch spot_heal is faster).

Inputs: image (required), box, word, layer, +3 more.

request_uploadAInspect

Use this whenever the user wants to edit a photo that is on their phone or computer, or asks how to send, upload or share a photo with you: it is how their photos reach these tools. Get a one-time way to send photos from the user's device to this server. Photos the user already sent are listed by inspect (what='uploads'), so a photo already there needs no new link. The result leads with page_url, a web page the user opens, from a phone camera roll or a browser; it works in every client. It also carries a curl command that uploads a file from a shell that can reach this host. On claude.ai with code execution on, a photo attached in chat is usually also a file under /mnt/user-data/uploads. A sandbox that blocks this host answers with a 403 or "host not allowed" every time, and the result's if_curl_blocked says how the user can allow it. Nothing announces a page upload: once the user has sent it, it shows up in inspect (what='uploads') as upload:<id>. A curl upload's JSON reply carries upload_id (or an uploads list). open_photo opens either with source "upload:". One link takes several photos: up to 10, and it closes 5 minutes after its last photo arrives and expires in 15 minutes; nothing else limits links (asking for another cancels none). The curl takes one file per command. An upload it produces can be opened from any of your signed-in connections, not only this one. Limits per photo: 40 MB and a pixel limit that depends on the workspace size (overview lists it). RAW camera files up to 100 MB are accepted too; they open on the larger workspace. For an image already online, pass its https:// URL to open_photo instead. Uploads and open photos belong to this server; a photo opened through another Editmamei connector stays with that connector.

Inputs: no named parameters. Returns: curl, token, page_url, expires_at, +4 more

resizeA
Destructive
Inspect

Scale the whole photo up or down. This is not a crop (use crop). Give width+height to stretch to an exact box, one alone to keep the aspect, or long_edge to scale by the longer side. IRREVERSIBLE in this session: there is no undo, so make a checkpoint first when in doubt. REFUSES when the photo has a masked filter, or any filter that came with the file: resize before adding masked filters, not after. A large target can take tens of seconds; if the call times out the editing session restarts and unsaved work (filters, masks, any other open photo) is lost, so make a checkpoint before an aggressive resize. On this server the result must stay within the workspace's pixel limit.

Inputs: image (required), width, height, long_edge. Returns: width, height, editor_notes, effect_update_failures

retouchA
Destructive
Inspect

Heal or clone pixels with a round brush. method heal paints a stroke that samples texture from elsewhere and blends it into its surroundings, for blemishes, dust and scratches; clone paints a stroke that copies the sampled pixels exactly; spot_heal takes round spots {x, y, radius} and picks each one's source automatically, from the nearby area whose brightness and texture best match the ring around the spot. Everything is in photo pixels. By default (target retouch_layer) the paint lands on a "Retouch" copy of the layer directly above it, shown only where you painted, so the original and the picture everywhere else stay untouched; later calls reuse that copy while it stays directly above the layer it was made from. target in_place paints the layer itself, and is required for a layer that is below 100% opacity, not in Normal mode, or has a layer mask; a layer with semi-transparent pixels also shows its original through the copy, so use in_place there. The current selection is kept and does not clip the retouch. Refuses layer groups, text layers, locked or hidden layers, indexed photos, and any point or spot outside the layer. A call has a work limit (a long stroke with a big brush, or many large spots): split it into several calls or use a smaller brush. Do NOT use for removing whole objects (use remove_object for those); a stroke or spot only blends in texture at the size of the brush. Returns layer_id, layer_name, created_layer, painted_bbox [x, y, w, h] and, for spot_heal, each spot's chosen source offset and score (lower is a closer match). To remove a whole object, use remove_object.

Inputs: image (required), method (required), layer, spots, +8 more. Returns: spots, method, target, hardness, +6 more

review_editA
Read-onlyIdempotent
Inspect

The full critique of a photo through its editor's rubric (hire one first with plan_edit): attention and subject, composition and story elements, the style's direction from the photo's own start, the filter stack against the method, what was removed against the editor's ethics, and the guardrails (clipping, banding), each as an observation with numbers, plus the editor's own review questions. Call it before calling an edit done. With studio (a editor_studio run) or images (2 to 4 open photos, each with its own editor) it says how far apart the results are on crop, removal and mood: several editors should make different decisions, not different color grades. Changes nothing.

Inputs: image, images, studio.

run_stepsA
Destructive
Inspect

Run several edits in one call. Give an ordered list of steps, each {tool, args} naming a tool you already have (1 to 25 steps). These can't be steps; call them on their own: run_steps, apply_look, crop_for_platform, product_shot, recolor, remove_object, photo_effect, make_carousel, make_story, make_meme, make_grid, make_sticker, my_looks, batch. Each step sees the image as the one before left it, and keeps the time limit its tool has on its own; the whole sequence has a time budget that is checked before each step starts. Use it when you already know the steps and do not need to look in between; for exploratory work, call the tools one at a time. on_error: stop (default) halts at the first failing step; continue records the failure and runs the rest; rollback takes a checkpoint first and, on a failure, restores it and checks the restore worked (the image then has a NEW id, given in the result). Rollback is refused up front if any step is one of: open_photo, new_canvas, close_photo, export_photo, checkpoint, request_upload, and needs every step to name the same image. A step's "image" can name an earlier step's image: "$prev" for the step before, "$step.N" for step N (from 1), so you can open a photo and edit it in one call. A step that exports an image an earlier step's vignette turned pure black in a corner is held back, saying so. return: summary (default) gives one line per step plus the last step's full result; full gives every step's full result. If the last step returns a preview image, it is shown with the result; earlier steps' images are dropped. The whole sequence counts as one call.

Inputs: steps (required), return, on_error.

selectA
Destructive
Inspect

Make a selection, saved as a NAMED channel (no live selection persists between calls): rectangle, ellipse, polygon, colour range, magic wand, layer transparency, gradient, or another channel. Combine with add, subtract or intersect by reusing a name. Use the channel as add_adjustment's or add_effect's mask when creating a filter, or layer_mask for a real layer mask. Make selections after straighten, resize and crop. For a sky or a subject, select_with_ai (target sky or subject) makes a cleaner mask than these: colour range on a sky that shades from light to dark catches only part of it and leaves a hard band, and a hand-drawn polygon leaves halos along edges. Check a selection with selection_preview before using it. gradient_linear: nothing is selected at the start point (x1, y1), rising to fully selected at the end point (x2, y2); invert swaps the ends. gradient_radial: fully selected at the center, fading to nothing at the radius.

Inputs: mode (required), image (required), x, y, +20 more. Returns: channel, fraction, selected_pixels

selection_previewA
Read-only
Inspect

See a saved selection: an overlay (red over what is NOT selected) or the mask itself, which shows whether a selection caught what was meant before it is used.

Inputs: image (required), channel (required), style, max_px. Returns: width, height

select_with_aiA
DestructiveIdempotent
Inspect

AI: select into a NAMED channel, soft-edged. target says what: "subject" the main subject (person, animal, product), "sky" the sky, "object" one object you point at. With layer, selects that layer's own content: for a cut-out, place the photo as a layer, select its subject, then layer_mask op=create from the channel. target=subject only: if the subject is lying on its side or upside down in the photo, set subject_up to the edge its head/top points toward (the model is far more accurate on an upright subject); leave it at top otherwise. target=object only: give a box [x1,y1,x2,y2] in document pixels around it (from find_objects, or your own), or a word to use find_objects's best candidate (the result says which box was used; look at the selection to check it); a second object on the same image is fast, and select mode=channel adds objects together. target=sky: use the channel as add_adjustment's mask for sky-only grades, or invert it with modify_selection. name is the channel to write (replaced); it defaults to Subject, Sky or Object by target. Takes ~5-10 s.

Inputs: image (required), target (required), box, name, +4 more.

share_editA
Destructive
Inspect

Prepare a page that shows the user how this edit was made, so they can share it: before and after, a picture for each step that changed the look, and a plain list of the steps. Call it for an image you edited in this conversation, once the user is happy with the result and wants to share it, by the id you edited it under: do not reopen the photo to share it, because a reopened photo starts a new history and the page would show none of the edit. It makes a DRAFT only and returns a confirm link; give that link to the user, who confirms there before anything is public. It also looks for license plates and faces in the before and the after picture and reports what it finds in each: if it finds any, offer to blur or remove them first (a masked blur stays on in every picture), then call it again. It takes about a minute. Your adjustments are left exactly as they were. Give it chapters: the edit told as a few chunks of work, each saying in plain words what it did to the photo (for example "Brought out the water: selected the water and lifted its turquoise and depth"), not tool names. To write them, first call it with preview: true: it returns the numbered steps at once, with no draft and no pictures; then call it once with your chapters. Chapters that do not fit are refused before anything is made. To change a draft's title or chapters afterwards, call it with that draft's share_id and title or chapters: it revises the draft, with no new pictures. Sharing the same photo again (after more edits) makes a new draft that replaces its earlier unconfirmed one.

Inputs: image, title, preview, chapters, +2 more.

statusA
Read-onlyIdempotent
Inspect

Check that the editing session is up. It starts the session on the first call, which usually takes a few seconds; the very first launch can take a few minutes, and then the result says starting: true instead of failing (the session is usually ready about 30 seconds later). Read-only. It never returns an error: a failed or still-starting connection is reported with connected: false and a message.

Inputs: no named parameters. Returns: busy, message, starting, connected, +3 more

textA
Destructive
Inspect

Create a live, editable text layer or restyle one, chosen with op (create, set_content, set_font, set_color, set_alignment, set_box), with an optional fixed box that wraps the text and a fit option. create adds a layer at x / y with text, font_size in points and optional font_name, red / green / blue and alignment; it reports layer_id, name, bounds, the photo's ppi and the font size in pixels. The set_* ops change the text layer named by layer_id or layer (a non-text layer is refused). Fonts accept a family ("Inter") or a full name ("Inter Bold"), case-insensitive; a miss is refused with the closest installed names (list them with inspect what=fonts). Text is capped at 2000 characters, and a layer that would render past the size limit is refused and leaves the photo unchanged. Alignment is LEFT, CENTER, RIGHT or FULLYJUSTIFIED only. box {width, height?} (create, set_box) fixes the text box so text wraps at width; fit shrinks the size to approximately the largest size at which the wrapped text fits a box with both sides; the result then carries box and, for fit, fitted and fit_probes. Text sits at the top of the box (there is no vertical alignment). There is no undo in this session: checkpoint first when in doubt.

Inputs: op (required), image (required), x, y, +12 more. Returns: box, ppi, font, name, +14 more

transform_imageA
Destructive
Inspect

Rotate or flip the whole photo: op 'rotate' (any degrees, so you can straighten, plus expand) or 'flip' (orientation horizontal or vertical). IRREVERSIBLE in this session: there is no undo, so make a checkpoint first when in doubt. REFUSES when the photo has a masked filter, or any filter that came with the file: straighten and flip before adding masked filters, not after (crop is the one geometry change that is always safe afterward). A rotate by anything other than exactly 0/90/180/270 degrees is also refused while a position- or direction-dependent filter is present, since only a right angle keeps such a filter locked to the content: rotate at a right angle instead, or delete the filter (manage_filters op=delete) and re-add it afterwards. expand resizes the canvas to the rotated content's new bounds (like 'reveal all'); without it the corners fall outside the canvas and are cropped. Rotating a very large photo can take tens of seconds; if it times out the editing session restarts and unsaved work (filters, masks, any other open photo) is lost, so make a checkpoint first. With expand the rotated canvas must stay within the workspace's pixel limit.

Inputs: op (required), image (required), expand, degrees, +1 more. Returns: width, height, degrees, editor_notes, +1 more

transform_layerA
Destructive
Inspect

Transform one layer (layer / layer_id, else the active layer): op selects fit | scale | move | rotate | flip | skew | free, each documented on op. Rotate, skew and free grow the layer so nothing clips; a layer with no transparency gets one (alpha_added). REFUSES when the layer, or the layers inside a group target, carries a masked filter or an unmasked effect this transform cannot keep locked to the content.

Inputs: op (required), image (required), axis, mode, +14 more. Returns: axis, mode, bounds, degrees, +13 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources