---
name: amt-resize-images
description: Resize JPEG, PNG, WebP, AVIF images via Agent Media Tools free API. Use when the user needs image dimensions changed, batch resize, or web-ready assets.
---

# Resize images (Agent Media Tools)

## When to use
- User asks to resize, downscale, or normalize image dimensions
- Preparing product photos, social crops, or LLM vision inputs

## API
`POST https://agentmediatools.com/api/resize-image`

Multipart fields:
- `image` (file) — required
- `width` and/or `height` — target pixels (aspect preserved if one set)
- `format` — optional: `jpeg` | `png` | `webp` | `avif`

**No API key** for basic free tier (10/day anonymous, 25/day free login).

## Response
JSON (not raw binary):
```json
{
  "success": true,
  "filename": "a1b2c3.webp",
  "filesize": 48219,
  "downloadUrl": "/downloads/a1b2c3.webp"
}
```
Download: `https://agentmediatools.com` + `downloadUrl`

## curl
```bash
curl -s -X POST https://agentmediatools.com/api/resize-image \
  -F "image=@photo.jpg" \
  -F "width=800" \
  -F "format=webp"
```

## Browser
https://agentmediatools.com/tool/resize-image

## MCP
Tool name: `resize_image` (Agent Media Tools MCP server)

## Limits → upgrade
Hit free daily limits? Free login: 25/day. Production agents: Founding Pro $4.99/mo for 1,000/day — https://agentmediatools.com/pricing
