AI Integration
AI agents are first-class citizens at Iteration Layer. Whether you’re using AI to ship faster or building an agent that processes documents and images, everything is designed to work for both humans and agents.
The Simple Version
Tell your AI assistant:
Read https://iterationlayer.com/SKILL.md and follow the instructions to integrate Iteration Layer
That’s it. The skill file contains everything your AI needs: API endpoints, SDK patterns, credit costs, and ready-made recipes. No documentation rabbit holes.
Or connect your AI tool directly via MCP:
{
"mcpServers": {
"iterationlayer": {
"type": "streamable-http",
"url": "https://api.iterationlayer.com/mcp"
}
}
}
For Humans
One-Prompt Integration
Copy this prompt into any AI coding assistant — Claude Code, Cursor, Windsurf, GitHub Copilot, or any tool that can fetch URLs:
Read https://iterationlayer.com/SKILL.md and follow the instructions to integrate Iteration Layer
The SKILL.md file is a markdown document optimized for AI consumption. It covers all four APIs, authentication, SDK installation, credit costs, and links to task-specific recipe skills.
Setup by Tool
Claude Code — Install skills directly from the marketplace for the best experience:
/plugin marketplace add iterationlayer/skills
/plugin install iterationlayer@iterationlayer-skills
This gives Claude Code the full integration guide as a built-in skill. You can also install task-specific skill packs:
/plugin install document-extraction@iterationlayer-skills
/plugin install image-editing@iterationlayer-skills
/plugin install image-design@iterationlayer-skills
/plugin install document-creation@iterationlayer-skills
Alternatively, add the SKILL.md URL to your project’s CLAUDE.md file:
## Iteration Layer
When working with Iteration Layer APIs, read https://iterationlayer.com/SKILL.md for the integration guide.
Cursor / Windsurf — Paste the prompt into chat or add the SKILL.md URL to your project’s AI context. Both tools support fetching external URLs.
MCP (Claude Desktop, Cursor, Windsurf) — Add the MCP server configuration above to your tool’s settings. MCP uses OAuth 2.1 — a browser window opens for authorization on first use. Once connected, your AI can call extract_document, transform_image, generate_image, and generate_document directly as tools.
What Your AI Can Build
With the skill file loaded, your AI assistant can generate:
- Document extraction pipelines — Parse invoices, receipts, contracts, and resumes into structured JSON
- Image processing workflows — Remove backgrounds, smart crop photos, upscale images, and convert formats
- Image generation templates — Social cards, certificates, event tickets, product listings, and YouTube thumbnails
- Document generation — PDF invoices, reports, contracts, shipping labels, and menus from structured data
- Multi-API chains — Extract data from a document, then generate a formatted PDF or image from the results
For Agents
Skill Files
The SKILL.md file follows the agentskills.io standard — YAML frontmatter with name and description, followed by markdown content under 500 lines.
What’s inside:
| Section | Contents |
|---|---|
| Platform Overview | Four APIs, what each does, base URL |
| Credit System | Cost per API, trial credits, pricing |
| Authentication | Bearer token format, where to get keys |
| SDKs | TypeScript, Python, Go installation and initialization |
| MCP Integration | Server URL, OAuth flow, available tools |
| Use-Case Skills | Links to task-specific recipe skills |
| Tips for Agents | Choosing the right API, chaining, cost optimization |
Recipe Skills
Each recipe is available as a standalone skill file. Load the one that matches the task at hand.
URL pattern: /recipes/{slug}/SKILL.md
Examples:
| Recipe | URL |
|---|---|
| Extract Invoice Data |
/recipes/extract-invoice-data/SKILL.md |
| Generate Social Card |
/recipes/generate-social-card/SKILL.md |
| Remove Product Background |
/recipes/remove-product-background/SKILL.md |
| Generate PDF Invoice |
/recipes/generate-pdf-invoice/SKILL.md |
Recipe skills include code examples in four languages (curl, TypeScript, Python, Go) and the expected response format.
Browse all recipes at /recipes or fetch the full list as markdown at /recipes.md.
Skills Marketplace
All skills are published to a Claude Code marketplace for easy installation. The marketplace contains five plugins:
| Plugin | What’s inside |
|---|---|
iterationlayer |
Main integration guide — all four APIs, auth, SDKs, MCP |
document-extraction |
Document Extraction API reference + 11 extraction recipes |
image-editing |
Image Transformation API reference + 9 editing recipes |
image-design |
Image Generation API reference + 10 design recipes |
document-creation |
Document Generation API reference + 13 generation recipes |
Install via Claude Code:
/plugin marketplace add iterationlayer/skills
/plugin install iterationlayer@iterationlayer-skills
MCP Server
The Model Context Protocol server exposes all four APIs as tools. Agents with MCP support can call the APIs directly without writing HTTP requests.
-
Endpoint:
https://api.iterationlayer.com/mcp(Streamable HTTP) - Authentication: OAuth 2.1 (browser-based, not API keys)
-
Tools:
extract_document,transform_image,generate_image,generate_document
A2A Agent Card
The Agent-to-Agent (A2A) protocol by Google enables agent-to-agent discovery. The agent card is published at the standard well-known URL:
https://iterationlayer.com/.well-known/agent-card.json
Markdown Content
Every content page is available as plain-text markdown for feeding into LLM context:
-
Append
.mdto any URL:/docs/image-transformation.md,/recipes/extract-invoice-data.md -
Send
Accept: text/markdownheader to get markdown from the canonical URL
llms.txt
The llms.txt file provides a structured summary of the entire site with links to all products, docs, recipes, and integration endpoints:
https://iterationlayer.com/llms.txt
OpenAPI
The full OpenAPI 3.1 specification is published as JSON for code generation and IDE autocomplete:
https://api.iterationlayer.com/openapi.json