AgentPMT - The Agentic Economy

Image Editor

Core Utility
$0.10/requestMin Purchase: 10Min Purchase Price: $1

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)

action*required
Type:string
Description:Image operation to perform. Use 'multi-step' with operations list for chaining.
Allowed values:
get_instructionsblurbordercompositecreatecropdrawinfomulti-stepresizerotatesheartexttransparent
image_base64
Type:string
Description:Base64-encoded image input (png, jpg, webp).
image_url
Type:string
Description:Public URL to an image (png, jpg, webp).
file_id
Type:string
Description:File ID of an image stored in cloud storage.
params
Type:object
Description:Parameters for the selected action (e.g., blur radius, crop box, resize dims).
operations
Type:array
Description:List of operations for multi-step edits.
Array items:object
output_format
Type:string
Description:Output image format.
Default:png
Allowed values:
pngjpegwebp
filename
Type:string
Description:Filename for stored output. Defaults to edited.<ext>.
store_file
Type:boolean
Description:Store output in cloud storage for file management access.
Default:true
return_base64
Type:boolean
Description:Return base64 output inline when size permits.

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 logo

Apoth3osis

13 stars

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.

Image Editor by Apoth3osis | AgentPMT