Home  ›  Tool API  ›  Image Resize API

Image Resize API

Resize an image with one API request

Free image resize API for Claude skills, ChatGPT, and agents. Resize JPEG, PNG, WebP, AVIF via REST or browser. Width, height, format, quality. No API key to start. Skill + MCP included.

Transparent usage terms REST + MCP Real browser tool

Working examples

Copy it into your stack.

Send a multipart image with a width or height. The API returns JSON containing a temporary download URL for the resized file.

Copyable requests

curl
curl -F "image=@photo.jpg" \
  -F "width=800" \
  -F "format=webp" \
  https://agentmediatools.com/api/resize-image
JavaScript
import { readFile } from "node:fs/promises";

const form = new FormData();
form.append("image", new Blob([await readFile("photo.jpg")]), "photo.jpg");
form.append("width", "800");
form.append("format", "webp");

const res = await fetch("https://agentmediatools.com/api/resize-image", {
  method: "POST",
  body: form
});
console.log(await res.json());
Python
import requests

with open("photo.jpg", "rb") as image:
    response = requests.post(
        "https://agentmediatools.com/api/resize-image",
        files={"image": image},
        data={"width": 800, "format": "webp"},
    )

print(response.json())

Frequently asked questions

Is image resizing free?

Yes. You can try the browser tool and free API access without a paid plan, subject to the displayed limits.

How can I use Claude to resize images as a skill?

Connect MCP for the resize_image tool, or give Claude a skill/instruction that POSTs to /api/resize-image and downloads the JSON downloadUrl.

Which formats are supported?

JPEG, PNG, WebP, AVIF, GIF, and TIFF inputs are handled by the image toolchain where supported.

Can an AI agent resize images?

Yes. Use the REST endpoint, OpenAPI description, or MCP connection from an agent.

One tool now, one integration later

Test it in the browser. Automate it when ready.

The same Agent Media Tools account connects this operation to the wider Tool API and MCP catalog.