For AI Agents

Give your agent eyes — and an eraser

Your AI agent can write code, search the web, and manage files. Now it can edit images too. Peelaway's API is designed for autonomous agent workflows — discoverable, predictable, and simple enough for any agent to orchestrate.

Drop your image here

or click to browse — PNG, JPG up to 20MB

Built for autonomous workflows

Three layers of agent discoverability — plus an API simple enough that any agent can use it without human guidance.

SKILL.md — agent skill definition

A structured skill file that tells coding agents exactly how to use Peelaway: when to invoke it, the 3-step workflow, request/response formats, and error handling. Drop it into Claude Code, Cline, or any agent that supports skill files.

llms.txt — LLM-readable service description

A plain-text service overview optimized for LLM consumption. Describes what Peelaway does, lists all endpoints, and links to the OpenAPI spec. Discoverable at /llms.txt.

OpenAPI spec — machine-readable API contract

Full OpenAPI 3.0 schema at /openapi.json. Any agent framework with HTTP tool support can auto-generate client code or use it for function calling.

Three-endpoint async API

Submit (POST /process), poll (GET /status), download (GET /result). Simple enough for any agent to orchestrate without complex state management.

Base64 in, base64 out

Images are sent and received as base64-encoded strings in JSON. No multipart uploads, no file handling — just JSON payloads that agents handle natively.

Scales to zero, pay only for what you use

Serverless backend — no cost when idle, and a fraction of professional editing costs per image. Agents can call it on-demand without provisioning or managing infrastructure.

APIs that agents actually understand

Most image editing APIs are designed for human developers reading documentation pages. They have complex auth flows, multipart uploads, webhook callbacks, and SDK-specific patterns that agents struggle with.

Peelaway is agent-first. Base64 JSON in, base64 JSON out. Three endpoints, deterministic status codes, no SDK required. Plus /SKILL.md and /llms.txt that tell agents exactly what the service does and how to use it — before they make a single API call.

No auth required (yet)

Currently open for agent use. Authentication will be added — but the API contract stays the same.

Async by design

Submit → poll → download. Processing takes 30s–2min. Agents can do other work while waiting, or poll in a loop.

Deterministic responses

JSON responses with consistent schemas. Status is always pending, processing, done, or error. No ambiguous outputs for agents to parse.

Error codes, not error prose

400 for bad input, 404 for unknown job, 202 for not-ready-yet. Agents can branch on status codes without parsing error messages.

Works with every agent ecosystem

Any AI tool that can make HTTP requests can use Peelaway. Here's what's already compatible.

Coding Agents & AI IDEs

Claude CodeCursorWindsurfGitHub CopilotClineRoo CodeCodex CLIAiderContinueAmazon Q DeveloperAugment CodeCodyDevinJulesGrok BuildZedJetBrains AIOpenHandsKilo CodePearAI

Agent Frameworks

LangChainLangGraphCrewAIOpenAI Agents SDKClaude Agent SDKGoogle ADKSemantic KernelAutoGenSmolagentsLlamaIndexHaystackMetaGPTPydantic AIMastra

MCP-Compatible Clients

Claude DesktopClaude CodeCursorWindsurfVS CodeClineRoo CodeZedContinueCodyChatGPTCodex CLIAugment CodeKilo Code

LLM Providers & Platforms

OpenAI APIAnthropic APIGoogle GeminiMistralGroqTogether AIFireworks AIAmazon BedrockAzure OpenAIDeepseekReplicateCohereCerebras

Automation & Workflow

n8nZapierMakeRetoolComposioReplit AgentBolt.newLovablev0

Agent integration in 30 seconds

Discover, submit, poll, download. That's the whole workflow.

1. Discover the API
# LLM-readable overview
curl https://jakeloo--peelaway-web.modal.run/llms.txt

# Structured skill definition
curl https://jakeloo--peelaway-web.modal.run/SKILL.md

# Machine-readable spec
curl https://jakeloo--peelaway-web.modal.run/openapi.json
2. Use the API
# Submit
POST /process
{"image": "<base64>"}
# → {"job_id": "abc123"}

# Poll
GET /status?job_id=abc123
# → {"status": "done"}

# Download
GET /result?job_id=abc123
# → {"image": "<base64>"}

Frequently asked questions

How do I add Peelaway as a tool in my AI agent?
Fetch the OpenAPI spec from /openapi.json and register it as an HTTP tool, or use the SKILL.md file at /SKILL.md as a skill definition for coding agents like Claude Code and Cline. The API is three endpoints: POST /process to submit a base64 image, GET /status to poll, and GET /result to download the cleaned image.
Which coding agents and AI IDEs can use Peelaway?
Any agent with HTTP/API tool support: Claude Code, Cursor, Windsurf, GitHub Copilot, Cline, Roo Code, Aider, Continue, Amazon Q Developer, Codex CLI, Augment Code, Devin, OpenHands, and more. Frameworks like LangChain, LangGraph, CrewAI, OpenAI Agents SDK, and Claude Agent SDK can integrate via the OpenAPI spec.
Does Peelaway support MCP (Model Context Protocol)?
Not yet as a native MCP server, but the REST API works with any MCP client that supports HTTP tools. MCP server support is on the roadmap. In the meantime, agents in Claude Code, Cursor, Windsurf, Cline, and other MCP clients can call the API directly via HTTP tool use.
What's the difference between SKILL.md, llms.txt, and OpenAPI?
Three layers of discoverability: llms.txt is a human/LLM-readable overview of the service. SKILL.md is a structured skill definition with exact workflow instructions for coding agents. OpenAPI is the machine-readable API contract for auto-generating clients and function calling schemas.
Can my agent process multiple images in parallel?
Yes. Submit multiple images via POST /process — each returns a unique job_id. Poll each job independently. The serverless backend scales horizontally, so parallel submissions are processed concurrently.
How should my agent handle the async polling?
After submitting, poll GET /status every 2–3 seconds. Status transitions from 'pending' to 'processing' to 'done' (or 'error'). Typical processing takes 30 seconds to 2 minutes depending on image resolution. The agent can perform other tasks between polls.

Try it now — free

Upload an image and see the results. No signup required.

Upload an image