

Image Editor
Core Utility
Available ActionsEach successful request consumes credits as outlined below.
blur10crborder10crcomposite10crcreate10crcrop10crdraw10crinfo10crinvert10crmulti_step10crresize10crrotate10crshear10crtext10crtransparent10cr
Details
Edit and transform images without any design software. Resize, crop, rotate, blur, invert colors, add borders, draw shapes, overlay text, composite layers, remove backgrounds, and apply shear transforms — all from a single tool. Chain multiple operations together in one request to build complete editing workflows like watermarking, thumbnail generation, or branded graphics. Supports PNG, JPEG, and WebP input and output. Upload an image, provide a URL, or reference a file already in cloud storage, and get your edited result back as a stored file with a shareable link or as inline data ready to use immediately.
Use Cases
Generating branded social media graphics by compositing logos onto product images, automating thumbnail creation by resizing and cropping uploaded images to standard dimensions, adding watermarks or copyright text overlays to protect visual content, creating placeholder images with custom colors and dimensions for UI mockups, batch processing profile photos with consistent borders and formatting, applying blur effects to sensitive regions before sharing screenshots, building dynamic certificate or badge generators with text overlays, removing white backgrounds from product images using transparency conversion, preparing images for web optimization by converting formats and resizing for performance, chaining multi-step edits to rotate, crop, resize, and watermark images in a single automated workflow, inverting image colors to create negative versions for dark mode assets or artistic effects, generating high-contrast inverted previews for accessibility testing
Actions(14)
blur10cr8 paramsApply Gaussian blur to an image.
blur10cr8 paramsApply Gaussian blur to an image.
image_base64stringBase64-encoded image input (png, jpg, webp).
image_urlstringPublic URL to an image (png, jpg, webp).
file_idstringFile ID of an image stored in cloud storage.
paramsobjectBlur parameters. Includes 'radius' (float, default 2.0).
Properties:
radius(number)- Blur radius (higher = more blur).output_formatstringOutput image format.
Values:
pngjpegwebp
Default:
pngfilenamestringFilename for stored output. Defaults to edited.<ext>.
store_filebooleanStore output in cloud storage for file management access.
Default:
truereturn_base64booleanReturn base64 output inline when size permits (max 10MB).
Default:
falseborder10cr8 paramsAdd a solid-color border around an image.
border10cr8 paramsAdd a solid-color border around an image.
image_base64stringBase64-encoded image input (png, jpg, webp).
image_urlstringPublic URL to an image (png, jpg, webp).
file_idstringFile ID of an image stored in cloud storage.
paramsobjectBorder parameters.
Properties:
size(integer)- Border width in pixels.color(string)- Border color (hex string like '#000000', RGB array, or RGBA array).output_formatstringOutput image format.
Values:
pngjpegwebp
Default:
pngfilenamestringFilename for stored output.
store_filebooleanStore output in cloud storage.
Default:
truereturn_base64booleanReturn base64 output inline when size permits.
Default:
falsecomposite10cr8 params(1 required)Overlay one image on top of another with optional opacity.
composite10cr8 params(1 required)Overlay one image on top of another with optional opacity.
paramsrequiredobjectComposite parameters. Provide overlay via overlay_url, overlay_base64, or overlay_file_id.
Properties:
overlay_url(string)- URL of the overlay image.overlay_base64(string)- Base64-encoded overlay image.overlay_file_id(string)- File ID of the overlay image.position(array)- [x, y] position to place the overlay.opacity(number)- Overlay opacity (0.0 to 1.0).image_base64stringBase64-encoded base image input.
image_urlstringPublic URL to the base image.
file_idstringFile ID of the base image in cloud storage.
output_formatstringOutput image format.
Values:
pngjpegwebp
Default:
pngfilenamestringFilename for stored output.
store_filebooleanStore output in cloud storage.
Default:
truereturn_base64booleanReturn base64 output inline.
Default:
falsecreate10cr5 paramsCreate a new blank image canvas with custom dimensions and background color.
create10cr5 paramsCreate a new blank image canvas with custom dimensions and background color.
paramsobjectCanvas creation parameters.
Properties:
width(integer)- Canvas width in pixels.height(integer)- Canvas height in pixels.color(string)- Fill color (hex string, RGB array, or RGBA array).output_formatstringOutput image format.
Values:
pngjpegwebp
Default:
pngfilenamestringFilename for stored output.
store_filebooleanStore output in cloud storage.
Default:
truereturn_base64booleanReturn base64 output inline.
Default:
falsecrop10cr8 params(1 required)Crop an image to a rectangular region defined by [left, top, right, bottom] coordinates.
crop10cr8 params(1 required)Crop an image to a rectangular region defined by [left, top, right, bottom] coordinates.
paramsrequiredobjectCrop parameters.
Properties:
box*(array)- Crop region as [left, top, right, bottom] in pixels.image_base64stringBase64-encoded image input.
image_urlstringPublic URL to an image.
file_idstringFile ID of an image in cloud storage.
output_formatstringOutput image format.
Values:
pngjpegwebp
Default:
pngfilenamestringFilename for stored output.
store_filebooleanStore output in cloud storage.
Default:
truereturn_base64booleanReturn base64 output inline.
Default:
falsedraw10cr8 params(1 required)Draw shapes (line, rectangle, or ellipse) onto an image.
draw10cr8 params(1 required)Draw shapes (line, rectangle, or ellipse) onto an image.
paramsrequiredobjectDraw parameters.
Properties:
shape(string)- Shape type to draw.coordinates*(array)- Coordinate pairs (e.g., [x1, y1, x2, y2]).fill(string)- Fill color (hex, RGB, or RGBA).outline(string)- Outline color for rectangle and ellipse.width(integer)- Line/outline width in pixels.image_base64stringBase64-encoded image input.
image_urlstringPublic URL to an image.
file_idstringFile ID of an image in cloud storage.
output_formatstringOutput image format.
Values:
pngjpegwebp
Default:
pngfilenamestringFilename for stored output.
store_filebooleanStore output in cloud storage.
Default:
truereturn_base64booleanReturn base64 output inline.
Default:
falseinfo10cr3 paramsGet image dimensions and mode without modifying the image.
info10cr3 paramsGet image dimensions and mode without modifying the image.
image_base64stringBase64-encoded image input.
image_urlstringPublic URL to an image.
file_idstringFile ID of an image in cloud storage.
invert10cr7 paramsInvert all colors in an image, producing a photographic negative effect. Each RGB pixel value is replaced with 255 minus its original value. Alpha transparency is preserved.
invert10cr7 paramsInvert all colors in an image, producing a photographic negative effect. Each RGB pixel value is replaced with 255 minus its original value. Alpha transparency is preserved.
image_base64stringBase64-encoded image input (png, jpg, webp).
image_urlstringPublic URL to an image (png, jpg, webp).
file_idstringFile ID of an image stored in cloud storage.
output_formatstringOutput image format.
Values:
pngjpegwebp
Default:
pngfilenamestringFilename for stored output. Defaults to edited.<ext>.
store_filebooleanStore output in cloud storage for file management access.
Default:
truereturn_base64booleanReturn base64 output inline when size permits (max 10MB).
Default:
falsemulti_step10cr8 params(1 required)Chain multiple image operations together in a single request. Each operation is applied sequentially to the image.
multi_step10cr8 params(1 required)Chain multiple image operations together in a single request. Each operation is applied sequentially to the image.
operationsrequiredarrayList of operations to apply sequentially. Each object has 'action' (string) and 'params' (object).
Array of: object
image_base64stringBase64-encoded image input.
image_urlstringPublic URL to an image.
file_idstringFile ID of an image in cloud storage.
output_formatstringOutput image format.
Values:
pngjpegwebp
Default:
pngfilenamestringFilename for stored output.
store_filebooleanStore output in cloud storage.
Default:
truereturn_base64booleanReturn base64 output inline.
Default:
falseresize10cr8 params(1 required)Resize an image to specific dimensions or by a scale factor.
resize10cr8 params(1 required)Resize an image to specific dimensions or by a scale factor.
paramsrequiredobjectResize parameters. Provide width+height or scale.
Properties:
width(integer)- Target width in pixels.height(integer)- Target height in pixels.scale(number)- Scale factor (e.g., 0.5 for half size, 2.0 for double).image_base64stringBase64-encoded image input.
image_urlstringPublic URL to an image.
file_idstringFile ID of an image in cloud storage.
output_formatstringOutput image format.
Values:
pngjpegwebp
Default:
pngfilenamestringFilename for stored output.
store_filebooleanStore output in cloud storage.
Default:
truereturn_base64booleanReturn base64 output inline.
Default:
falserotate10cr8 paramsRotate an image by a specified number of degrees (counter-clockwise).
rotate10cr8 paramsRotate an image by a specified number of degrees (counter-clockwise).
image_base64stringBase64-encoded image input.
image_urlstringPublic URL to an image.
file_idstringFile ID of an image in cloud storage.
paramsobjectRotation parameters.
Properties:
degrees(number)- Rotation angle in degrees (counter-clockwise).expand(boolean)- Expand canvas to fit rotated image.output_formatstringOutput image format.
Values:
pngjpegwebp
Default:
pngfilenamestringFilename for stored output.
store_filebooleanStore output in cloud storage.
Default:
truereturn_base64booleanReturn base64 output inline.
Default:
falseshear10cr8 paramsApply an affine shear transformation to an image.
shear10cr8 paramsApply an affine shear transformation to an image.
image_base64stringBase64-encoded image input.
image_urlstringPublic URL to an image.
file_idstringFile ID of an image in cloud storage.
paramsobjectShear parameters.
Properties:
x(number)- Horizontal shear factor.y(number)- Vertical shear factor.output_formatstringOutput image format.
Values:
pngjpegwebp
Default:
pngfilenamestringFilename for stored output.
store_filebooleanStore output in cloud storage.
Default:
truereturn_base64booleanReturn base64 output inline.
Default:
falsetext10cr8 params(1 required)Draw text onto an image at a specified position with customizable size and color.
text10cr8 params(1 required)Draw text onto an image at a specified position with customizable size and color.
paramsrequiredobjectText parameters.
Properties:
text*(string)- The text content to draw on the image.x(integer)- X position in pixels.y(integer)- Y position in pixels.size(integer)- Font size.color(string)- Text color (hex, RGB, or RGBA).image_base64stringBase64-encoded image input.
image_urlstringPublic URL to an image.
file_idstringFile ID of an image in cloud storage.
output_formatstringOutput image format.
Values:
pngjpegwebp
Default:
pngfilenamestringFilename for stored output.
store_filebooleanStore output in cloud storage.
Default:
truereturn_base64booleanReturn base64 output inline.
Default:
falsetransparent10cr8 paramsMake a specific color transparent in the image. Output as PNG to preserve transparency.
transparent10cr8 paramsMake a specific color transparent in the image. Output as PNG to preserve transparency.
image_base64stringBase64-encoded image input.
image_urlstringPublic URL to an image.
file_idstringFile ID of an image in cloud storage.
paramsobjectTransparency parameters.
Properties:
color(string)- The color to make transparent (hex string, RGB array, or RGBA array).output_formatstringOutput image format. Use 'png' to preserve transparency.
Values:
pngjpegwebp
Default:
pngfilenamestringFilename for stored output.
store_filebooleanStore output in cloud storage.
Default:
truereturn_base64booleanReturn base64 output inline.
Default:
falseFrequently Asked Questions
How do I connect this tool to an external agent?
You can install the local MCP server by opening a terminal and running:
Install commands
npm install -g @agentpmt/mcp-router
agentpmt-setupThis will connect you to local agents like Claude Code, Windsurf, Grok Build, Cursor, etc.
Alternatively you can connect to the hosted version with this config block, no installation required:
Hosted MCP config
{
"mcpServers": {
"agentpmt": {
"type": "streamable-http",
"url": "https://api.agentpmt.com/mcp",
"headers": {
"Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
"x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
}
}
}
}View MCP Connection Instructions for more details.
How does an external agent use this tool?
After the external agent is connected to an Agent Group that can use this tool, paste this prompt into the agent:
Agent prompt
Call the AgentPMT-Tool-Search-and-Execution tool with action 'get_schema' and tool_id 695c368d767df5adfd9bc86e ("Image Editor"). Then call the same tool with action 'call_tool', tool_id 695c368d767df5adfd9bc86e, and the parameters needed for my request.
The agent should fetch the tool schema first, collect the required parameters for your request, and then call the tool through AgentPMT.
Dependencies
1 dependencies will be automatically added when you enable this product.






