Image Editor
Details
Apply a wide range of transformations to images provided via base64 encoding, public URL, or cloud storage file ID. This function supports thirteen distinct operations including blur, border, composite, create, crop, draw, info, resize, rotate, shear, text, and transparent, each configurable through action-specific parameters such as blur radius, crop coordinates, rotation degrees, overlay positioning, and color values in RGB, RGBA, or hex formats. The powerful multi-step action enables users to chain multiple transformations in a single request, executing operations sequentially on the same image for complex editing workflows. Users can create new blank canvases with custom dimensions and background colors, overlay images with adjustable opacity, draw shapes like lines, rectangles, and ellipses, add text annotations, and make specific colors transparent for masking effects. Output images can be exported in PNG, JPEG, or WEBP formats, automatically stored in cloud storage with secure signed URLs for easy retrieval, and optionally returned as inline base64 for immediate use. With support for files up to 10MB and integrated budget-based access controls, the Image Editor provides a robust foundation for automated image processing pipelines.
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
Parameters
(required properties listed first)
API Example
curl -X POST "https://api.agentpmt.com/products/purchase" \
-H "Content-Type: application/json" \
-H "X-API-Key: your-api-key-here" \
-H "X-Budget-Key: your-budget-key-here" \
-d '{
"product_id": "695c368d767df5adfd9bc86e",
"parameters": {
"action": "get_instructions",
"output_format": "png",
"store_file": true
}
}'Login to view your API and budget keys. The example above uses placeholder values. Sign in to see personalized code with your actual credentials.
About The Developer

Apoth3osis
Joined Agent Payment: August 14, 2025
We build tools that enable AI agents to excel in the mathematical realm.
Our small team develops experimental and unique solutions in the AI arena, with a strong focus on modular computing for agentic applications and custom model deployment. We have handled projects for a variety of applications across many sectors, from algorithmic trading and financial analysis, to molecular simulations and predictions, to habitat and biodiversity monitoring and wildlife conservation.
Dependencies
1 dependencies will be automatically added when you enable this product.
Dependencies are not available to view right now.