Image Transformation

Transform, resize, and convert images at scale

Resize, crop, convert, and apply effects to images through a simple API. Build image pipelines without managing infrastructure.

No credit card required — start with free trial credits

Zero data retention · GDPR Made & hosted in the EU 75 free test requests No credit card required 14-day money-back guarantee

What's included

30-Step Pipelines

Chain up to 30 operations in a single request — resize, crop, blur, sharpen, convert, and 19 more. One API call replaces your entire Sharp script.

AI Upscaling

Upscale images 2-4x with AI while preserving detail and sharpness.

AI Smart Crop

Automatically center crops on the most important subjects in any image.

AI Background Removal

Remove backgrounds cleanly from product photos, portraits, and more.

Compress To Target

Specify a target file size and the API iteratively compresses until it fits. No more guessing quality values for upload limits.

Format Conversion

Convert between JPEG, PNG, WebP, GIF, AVIF, and HEIF with quality control.

MCP (Model Context Protocol)

Connect directly to AI agents. Use our APIs as tools in Claude, GPT, and other LLM-powered workflows.

Zapier

Connect to 5,000+ apps with Zapier integration.

Coming Soon

n8n

Build automated workflows with n8n integration.

Coming Soon

How it works

01

Send your image

Provide an image URL or base64-encoded file in any supported format. The API accepts common raster formats and handles decoding automatically.

  • JPEG, PNG, WebP, GIF, AVIF, and HEIF input
  • Send via URL or base64-encoded string
  • Up to 50 MB per image
02

Define operations

Chain up to 30 operations in a single request. 24 operation types including AI smart crop, AI upscale, and AI background removal.

  • Resize, crop, rotate, flip, blur, sharpen, and 18 more
  • AI smart crop, 2-4x upscale, and background removal
  • Compress to a target file size in bytes
03

Get the output

Receive the transformed image in your chosen format as base64-encoded JSON. Control quality settings for lossy formats.

  • Output as JPEG, PNG, WebP, GIF, or AVIF
  • Quality control for lossy formats
  • Base64-encoded JSON response or async webhook delivery

Quick Start

One API call, one credit deducted. Chains naturally with our other APIs — pipe the output of one into the next without glue code. You'll be up and running in minutes.

  • Full OpenAPI 3.1 specification available for code generation and IDE integration.
  • MCP server support for seamless integration with AI agents and tools.
  • Comprehensive documentation with examples for every field type and edge case.
curl -X POST https://api.iterationlayer.com/image-transformation/v1/transform \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file": {
      "type": "url",
      "name": "photo.jpg",
      "url": "https://example.com/photo.jpg"
    },
    "operations": [
      { "type": "resize", "width_in_px": 800, "height_in_px": 600, "fit": "cover" },
      { "type": "convert", "format": "webp", "quality": 85 }
    ]
  }'
import { IterationLayer } from "iterationlayer";

const client = new IterationLayer({ apiKey: "YOUR_API_KEY" });

const result = await client.transform({
  file: { type: "url", name: "photo.jpg", url: "https://example.com/photo.jpg" },
  operations: [
    { type: "resize", width_in_px: 800, height_in_px: 600, fit: "cover" },
    { type: "convert", format: "webp", quality: 85 },
  ],
});
from iterationlayer import IterationLayer

client = IterationLayer(api_key="YOUR_API_KEY")

result = client.transform(
    file={"type": "url", "name": "photo.jpg", "url": "https://example.com/photo.jpg"},
    operations=[
        {"type": "resize", "width_in_px": 800, "height_in_px": 600, "fit": "cover"},
        {"type": "convert", "format": "webp", "quality": 85},
    ],
)
import il "github.com/iterationlayer/sdk-go"

client := il.NewClient("YOUR_API_KEY")

result, err := client.Transform(il.TransformRequest{
    File: il.NewFileFromURL("photo.jpg", "https://example.com/photo.jpg"),
    Operations: []il.TransformOperation{
        il.NewResizeOperation(800, 600, "cover"),
        il.NewConvertOperation("webp"),
    },
})

See it in action

Ready-to-use workflows for the most common data processing tasks.

Privacy by default

We built Iteration Layer with privacy by design. Your data is processed in the EU and never stored beyond temporary logs. Learn more about our security practices .

No data storage

We don't store your files or processing results. Logs are automatically deleted after 30 days.

EU-hosted infrastructure

All processing runs on servers located in the European Union. Your data never leaves the EU.

GDPR-compliant by design

Full compliance with EU data protection regulations. Data Processing Agreement available for all customers.

Pricing

Start with free trial credits. No credit card required.

Developer

For individuals & small projects

$29.99 /per month
  • 1,000 credits / month
    1,000 image transformations 500 document generations 500 image generations 100 document extractions
  • All APIs included
  • Free trial credits per API
  • Email support
  • Budget caps per key
Most Popular

Startup

Save 40%

For growing teams

$119.99 /per month
  • 5,000 credits / month
    5,000 image transformations 2,500 document generations 2,500 image generations 500 document extractions
  • All APIs included
  • Free trial credits per API
  • Priority support
  • Budget caps per key

Business

Save 47%

For high-volume workloads

$319.99 /per month
  • 15,000 credits / month
    15,000 image transformations 7,500 document generations 7,500 image generations 1,500 document extractions
  • All APIs included
  • Free trial credits per API
  • Priority support
  • Budget caps per key

Frequently asked questions

Can I chain multiple operations?

Yes. Chain up to 30 operations in a single request — resize, crop, blur, sharpen, convert, and 19 more. Operations execute sequentially in the order you define.

What output formats are supported?

The API outputs JPEG, PNG, WebP, GIF, and AVIF. You can convert between formats using the convert operation.

What AI features are included?

Smart crop (centers on faces, people, and animals using AI detection), 2-4x AI upscale, and AI background removal. All are standard pipeline operations.

Is there a size limit?

Input images can be up to 50 MB. The API processes them efficiently regardless of resolution.