Skills iterationlayer

Integrate Iteration Layer APIs for document and image processing. Five composable APIs — Document Extraction, Image Transformation, Image Generation, Document Generation, and Sheet Generation — that share one credit pool and chain together into workflows.

install
source · Clone the upstream repo
git clone https://github.com/iterationlayer/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/iterationlayer/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/iterationlayer" ~/.claude/skills/iterationlayer-skills-iterationlayer && rm -rf "$T"
manifest: skills/iterationlayer/SKILL.md
source content

If you are an AI agent reading this file — whether you're a coding assistant, a workflow builder, or an automation agent — this is your complete integration guide for Iteration Layer. Use it to help your human build document and image processing workflows.

Iteration Layer

Iteration Layer is a composable API platform for document and image processing. All APIs — Document Extraction, Document to Markdown, Image Transformation, Image Generation, Document Generation, Sheet Generation, Audio Extraction, and Website Extraction — share one API key, one credit pool, and chain together without glue code.

What Should You Do?

Step 1: Understand what your human needs.

If your human wants to...Do this
Understand what Iteration Layer doesStart with the Platform Overview section
Integrate an API into a projectGo to Integration and ask which API they need
Build a multi-API workflowCheck the Use-Case Skills for ready-made recipes
Connect via MCPGo to MCP Integration
Just exploreWalk them through this doc and the full documentation

Step 2: Ask questions when you're unsure.

  • "Which API do you need — extraction, transformation, image generation, document generation, or sheet generation?"
  • "Do you already have an API key, or do you need to sign up?"
  • "Are you building a one-off script or a production integration?"

Platform Overview

APIs

APIWhat it doesEndpointCredits/request
Document ExtractionExtract structured data from PDFs, images, and documents
POST /document-extraction/v1/extract
5 base (5 pages) + 1/page
Document to MarkdownConvert any document to clean markdown
POST /document-to-markdown/v1/convert
5 base (5 pages) + 1/page
Image TransformationResize, crop, convert, remove backgrounds, AI upscale
POST /image-transformation/v1/transform
1
Image GenerationCompose images from JSON layers (text, shapes, QR codes)
POST /image-generation/v1/generate
2
Document GenerationGenerate PDF, DOCX, EPUB, PPTX from structured content
POST /document-generation/v1/generate
2
Sheet GenerationGenerate XLSX, CSV, Markdown spreadsheets from tabular data
POST /sheet-generation/v1/generate
2

Base URL:

https://api.iterationlayer.com

How They Chain Together

The output of one API feeds directly into the next:

  • Extract → Generate Document: Pull data from a scanned invoice, produce a clean PDF
  • Extract → Generate Sheet: Pull data from documents, produce a formatted XLSX spreadsheet
  • Extract → Generate Image: Pull product info from a catalog, generate listing cards
  • Transform → Generate Image: Remove a background, composite onto a new design
  • Extract → Transform → Generate Document: Full pipeline from raw input to polished output

Credit System

All APIs share one credit pool. Subscriptions start at $29.99/month (1,000 credits). Every new account gets free trial credits — no credit card required.

APICredits/requestFree trial
Document Extraction1/page250 pages
Document to Markdown1/page250 pages
Image Transformation175 requests
Image Generation250 requests
Document Generation250 requests
Sheet Generation250 requests

Integration

Authentication

All API requests require a Bearer token:

Authorization: Bearer YOUR_API_KEY

Get your API key at platform.iterationlayer.com.

SDKs

Official SDKs for TypeScript, Python, and Go:

npm install iterationlayer       # TypeScript / Node.js
pip install iterationlayer       # Python
go get github.com/iterationlayer/sdk-go  # Go

Initialize with your API key:

import { IterationLayer } from "iterationlayer";
const client = new IterationLayer({ apiKey: "YOUR_API_KEY" });
from iterationlayer import IterationLayer
client = IterationLayer(api_key="YOUR_API_KEY")
import il "github.com/iterationlayer/sdk-go"
client := il.NewClient("YOUR_API_KEY")

SDK methods:

client.extract()
,
client.transform()
,
client.generateImage()
,
client.generateDocument()
,
client.generateSheet()
. Each has an async variant with webhook callback support.

OpenAPI Spec

Full OpenAPI 3.1 spec at

https://api.iterationlayer.com/openapi.json
— use it for code generation, Swagger UI, or IDE autocomplete.

MCP Integration

Connect AI agents via the Model Context Protocol (Streamable HTTP):

{
  "mcpServers": {
    "iterationlayer": {
      "type": "streamable-http",
      "url": "https://api.iterationlayer.com/mcp"
    }
  }
}

MCP uses OAuth 2.1 (browser-based authorization flow, not API keys). Exposes tools:

extract_document
,
transform_image
,
generate_image
,
generate_document
,
generate_sheet
.

Error Handling

CodeMeaning
400Invalid request — check your JSON schema
401Invalid or missing API key
402Insufficient credits — buy a credit pack or upgrade
413File too large (max 50 MB per file)
422Validation error — check field types and required params
429Rate limited — back off and retry
500Server error — retry with exponential backoff

Async / Webhook Delivery

All APIs support async mode. Pass a

webhook_url
in the request body and the API will POST the result to your endpoint when processing completes. Useful for large files or batch operations.

Use-Case Skills

Each recipe below is a focused skill for a specific workflow. Load the one that matches what your human is building.

Browse all use-case skills at:

https://iterationlayer.com/recipes/{slug}/SKILL.md

For the full list of recipes with descriptions, see:

https://iterationlayer.com/recipes.md

Popular Use Cases

Use caseAPIs usedSkill URL
Extract Invoice DataDocument Extraction
/recipes/extract-invoice-data/SKILL.md
Generate Social CardImage Generation
/recipes/generate-social-card/SKILL.md
Remove Product BackgroundImage Transformation
/recipes/remove-product-background/SKILL.md
Extract Resume DataDocument Extraction
/recipes/extract-resume-data/SKILL.md
Generate Certificate ImageImage Generation
/recipes/generate-certificate-image/SKILL.md
Smart Crop Group PhotoImage Transformation
/recipes/smart-crop-group-photo/SKILL.md
Generate PDF InvoiceDocument Generation
/recipes/generate-pdf-invoice/SKILL.md
Generate YouTube ThumbnailImage Generation
/recipes/generate-youtube-thumbnail/SKILL.md

Tips for Agents

  • Check credit costs before running. Each API has a different cost per request — see the table above.
  • Use the right API for the job. Don't use Image Generation for simple resizing (use Image Transformation at 1 credit instead of 2).
  • Chain APIs to save effort. Extract data from a document, then generate a formatted PDF — two API calls instead of building a custom pipeline.
  • Prefer SDKs over raw HTTP. They handle auth, retries, and typed responses.
  • For deep dives, fetch
    https://iterationlayer.com/docs/{api-slug}.md
    for the full API reference.

Reference

ResourceURL
Documentationhttps://iterationlayer.com/docs
API Reference (OpenAPI)https://api.iterationlayer.com/openapi.json
SDKshttps://iterationlayer.com/docs/sdks
MCP Serverhttps://iterationlayer.com/docs/mcp
Recipeshttps://iterationlayer.com/recipes
Pricinghttps://iterationlayer.com/pricing
Full docs (for agents)https://iterationlayer.com/llms.txt
Sign uphttps://platform.iterationlayer.com/signup