Iteration Layer
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 $60 free trial credits No credit card required 14-day money-back guarantee

One output feeds the next

Image Transformation is part of a complete content pipeline. One key, one credit pool, and structured JSON responses designed to chain together.

Fits into your existing stack

Native SDKs for Node, Python, and Go. OpenAPI spec for everything else. MCP server for AI agents and Claude Code skills. n8n community node for visual workflows.

Mix and match freely

Extract data from a document, generate visuals from the results, then compile everything into a finished report. Mix, match, and build your own pipeline.

Three steps to your first transformation

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

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.

Real-world pipelines, ready to ship

Each recipe chains multiple APIs into a complete workflow. Pick one, tweak it, and deploy — or use it as a starting point for your own pipeline.

Compress Image for Email

Resize, sharpen, and compress an image to fit email platform size limits in a single pipeline.

Compress Image to Target File Size

Compress an image to fit within a specific file size in bytes using quality-first compression.

Convert Image Format

Convert an image between PNG, JPEG, and WebP formats with quality control for web optimization.

Generate Thumbnail

Resize a source image to a thumbnail and convert to WebP.

Optimize Product Image for Amazon

Prepare a product photo to meet Amazon's main image requirements: pure white background, square format, 2000×2000px, JPEG.

Optimize Product Image for Etsy

Smart crop a product photo to Etsy's recommended 2000×2000px square format and export as JPEG.

Optimize Product Image for Shopify

Resize a product photo to Shopify's recommended 2048×2048px square format, sharpen, and convert to WebP for fast storefront load times.

Optimize Product Photo

Resize, enhance, and compress a product photo for an e-commerce listing with consistent quality.

Process Real Estate Photo

Enhance and standardize a property listing photo with auto-contrast, sharpening, and consistent sizing.

Remove Product Background

Remove the background from a product photo using AI-powered segmentation.

Resize Image for Print Publishing

Resize and convert manuscript images to KDP-compliant dimensions at 300 DPI for print-on-demand.

Resize Image for Social Media

Resize and crop a single image into platform-specific dimensions for social media.

Smart Crop Avatar and Remove Background

Smart crop to face, remove the background, and convert to WebP for a clean user avatar.

Smart Crop Group Photo

Use AI detection to smart-crop individual portraits from a group photo.

Smart Crop Product Image

AI-powered subject-aware crop that centers on the product regardless of its position in the frame.

Upscale Low-Resolution Image

Upscale a low-resolution image using AI super-resolution for print or high-DPI display.

One n8n node for your entire pipeline

Most n8n document workflows chain three or four separate services. The Iteration Layer community node covers extraction, transformation, and generation in a single install — wire up multi-step pipelines visually instead of writing glue code.

Start building right now

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.
Request
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
    }
  ]
}'
Response
{
  "success": true,
  "data": {
    "buffer": "iVBORw0KGgoAAAANSUhEUgAA...",
    "mime_type": "image/webp"
  }
}
Request
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,
    },
  ],
});
Response
{
  "success": true,
  "data": {
    "buffer": "iVBORw0KGgoAAAANSUhEUgAA...",
    "mime_type": "image/webp"
  }
}
Request
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,
        },
    ],
)
Response
{
  "success": true,
  "data": {
    "buffer": "iVBORw0KGgoAAAANSUhEUgAA...",
    "mime_type": "image/webp"
  }
}
Request
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"),
  },
})
Response
{
  "success": true,
  "data": {
    "buffer": "iVBORw0KGgoAAAANSUhEUgAA...",
    "mime_type": "image/webp"
  }
}

Official SDKs for every major language

Install the SDK, set your API key, and start chaining requests. Full type safety, automatic retries, and idiomatic error handling included.

Your data stays in the EU

Your data is processed on EU servers and never stored beyond temporary logs. Zero retention, GDPR-compliant by design, with a Data Processing Agreement available for every customer. Learn more about our security practices .

No data storage, no model training

We don't store your files or processing results, and your data is never used to train or improve AI models. Logs are automatically deleted after 90 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 /month
1,000 credits included
Most Popular

Startup

Save 40%

For growing teams

$119.99 /month
5,000 credits included

Business

Save 47%

For high-volume workloads

$319.99 /month
15,000 credits included

Or pay as you go from $0.022/credit with automatic volume discounts.

All APIs included Free trial credits per API Project-based budget caps Auto overage billing

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.

Still evaluating?

See how we compare — and where the competition still wins. Choosing the right tool shouldn't require a week of research.

Built for how you work

Whether you're building pipelines in code, automating workflows, orchestrating AI agents, or shipping client projects — Iteration Layer fits your process.