✛ Images

Image Optimizer

Send a PNG, JPEG or WebP of up to 16 megapixels, by link or as base64. You get it back as WebP, JPEG or PNG at the quality and size you ask for, with the bytes saved. Images are processed in memory and never stored.

Convert and compress one image, optionally fitting it inside a maximum width and height.

POST/v1/image/optimize
Try it ↓
Price
$0.001 per image · REST and MCP
RapidAPI
$0.00125 per image · listing at launch
Returns
application/json
MCP tool
image_optimizer_optimize

Request body

FieldTypeDescription
formatrequiredwebp | jpeg | png—
image_urlstringDirect link to a PNG, JPEG or WebP, up to 15 MB.
image_base64stringThe image itself, base64, when it fits in the 2 MB request limit.
qualityinteger1 to 100. Ignored for PNG, which is lossless.
max_widthinteger—
max_heightinteger—
example
curl https://readymadeapi.com/v1/image/optimize \
  -H "Authorization: Bearer $READYMADE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "format": "webp",
    "image_url": "https://readymadeapi.com/samples/product.jpg",
    "max_width": 1600,
    "quality": 80
  }'
What comes back
{
  "format": "webp",
  "width": 1600,
  "height": 1600,
  "bytes_in": 111336,
  "bytes_out": 21736,
  "saved_percent": 80.5,
  "image_base64": "UklGRuBUAABXRUJQVlA4INRUAABwSAOdASpABkAGPm02m0mkIyMhIPNYWIAN... (28984 characters)"
}

Try it · $0.001 per image, paid from your credit

No key yet? Get an API key · it works for every API.

Use it from an agent

Every endpoint above is also an MCP tool. Add the server to Claude, Cursor or any MCP client and the tools appear with their prices; calls draw from the same credit.

Connect guide · OpenAPI 3.1 spec · llms.txt

mcp config
{
  "mcpServers": {
    "readymade": {
      "type": "http",
      "url": "https://readymadeapi.com/mcp",
      "headers": {
        "Authorization": "Bearer ${READYMADE_KEY}"
      }
    }
  }
}