image-resize
Image Resize API
[(https://image-resize.api.klymax402.com/mcp)
[![mcp]: # ... wait need exact. Let's just output.
Actually I should not "code fence". The final should be raw. Let's write.
I will now generate final.# Image Resize API
[(https://image-resize.api.klymax402.com/mp)
[
(LICENSE)
按 URL 调整图像大小——自定义宽度/高度、格式转换(PNG/JPEG/WebP),并保持纵横比。通过 x402 按次付费(Base L2 上的 USDC)——无需 API 密钥、无需注册、无速率限制墙。
作为 klymax402 市场的一部分——为 AI 智能体提供的 100 个 x402 微支付 API,一个钱包,Base 上的 USDC4。
快速开始——MCP
在的 MCP 客户端配置(Claude Desktop、Cursor、ElizaOS 等)中添加:
{
"mcpServers": {
"image-resize": {
"url": "https://image-resize.api.klymax402.com/mcp"
}
}
}Related MCP server: Screenshot MCP
快速开始 —— HTTP (x402)
curl -X POST "https://image-resize.api.klymax402.com/api/resize" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}'
# -> 402 Payment Required, with an x402 payment challenge in the response body任何支持 x402 的客户端(@x402/fetch、x402-agent-tools、AT XP)都会自动处理好 402 -> 签名 -> 重试流程。
工具
工具 | 方法 | 路径 | 价格 | 说明 |
| POST |
| $0.008 | 从 URL 调整图像大小 |
media_rese_image
当你需要从某个 URL 调整图像大小或转换其格式时使用。返回调整后的图像(base64 编码)以及 JSON 元数据。
参数
名称 | 类型 | 必填 | 描述 |
| string | 是 | 要调整大小的图像的 URL |
| number | 否 | 目标宽度(像素),如果省略高度则自动保持纵横比 |
| number | 否 | 目标高度(像素),如果省略宽度则自动保持纵横比 |
| string | 否 | 输出格式: |
示例响应:
{"image":"iVBORw0KGgo...","originalWidth":1920,"originalHeight":1080,"newWidth":800,"newHeight":450,"format":"webp","fileSizeBytes":24500}适用场景: 缩略图生成、优化网页图像、准备社图像、调整邮件模板图像大小以及批量图像处理。
不适用场景: OCR 文本提取(使用 media_extract_text_form_impageImage)、QR 巴生成(使用 utility_generate_qr_code)、截截图(使用 capture_screenshot`)。
示例代理提示
「以 URL 为源调整图像大小或转换其格式」
支付
协议: x402 — HTTP 原生按次付费、无需注册、无需 API 密钥
网络:Base L2(
eip155:8453)资产:USDC
协调方:Coinbase CDP(主要)、Air (fallback)
此外可通过 ATXP 访问(OAuth 包装的 x402、RFC 9728 受保护属性元数据)
属于 klymax2
面向 AI 智能体的 100 个 x402 微支付 API,——一个钱包、Base 上的 USDC、零注册。
Catalog: https://klymax402.com/llms.txt
Full JSON 的完整 API 文档: https://klymax402.com/llms-full.txt
许可证
LicenseMITLICENSE
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Convert and resize static image URLs to WebP, PNG or JPEG for uploads and agent workflows.
Image processing for AI agents: resize, convert, compress, crop, and web-ready AI-generated images.
Image & PDF tools for AI agents: compress, convert, resize, PDF, AI vision, pipeline.
Video, audio, and image processing for AI agents: convert, transcribe, upscale - 150+ operations.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to download images from URLs and perform basic image optimization tasks.217Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to capture web pages as PNG screenshots or PDF documents, with customizable dimensions and formats, using x402 micropayments on Base Mainnet.MIT
- AlicenseAqualityCmaintenanceEnables AI agents to perform local image operations such as circle cropping, cropping, resizing, compressing, converting, and inspecting images without uploading files or making network calls.7105 npmMIT
- AlicenseAqualityCmaintenanceEnables agents to optimize and clean SVG vector paths, rasterize SVGs into crisp sub-pixel PNGs at custom DPI with alpha preserved, generate high-error-correction vector QR codes for payment URIs, and compress images to WebP while stripping EXIF metadata. Tools are metered via x402 USDC micropayments on Base L2.4MIT