image-resize
Image Resize API
URL から画像をリサイズ -- 幅・高さの指定、形式変換(PNG/JPEG/WebP)、アスペクト比の維持に対応。x402 による呼び出しごとの支払い(Base L2 上の USDC)-- API キー不要、サインアップ不要、レート制限の壁もありません。
klymax402 マーケットプレイスの一部 -- AI エージェント向け 100 の x402 マイクロペイメント API、1 つのウォレット、Base 上の USDC。
クイックスタート -- 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 bodyx402 対応クライアント(@x402/fetch、x402-agent-tools、ATXP)は、402 -> 署名 -> 再試行のサイクルを自動で処理します。
ツール
ツール | メソッド | パス | 価格 | 説明 |
| POST |
| $0.008 | URL の画像をリサイズする |
media_resize_image
URL から画像をリサイズしたり、形式を変換する必要があるときに使用します。リサイズされた画像を base64 として返し、メタデータは JSON で返します。
パラメータ
名前 | 型 | 必須 | 説明 |
| string | 必須 | リサイズする画像の URL |
| number | 任意 | ターゲットの幅(ピクセル)。高さが省略された場合はアスペクト比を維持します |
| number | 任意 | ターゲットの高さ(ピクセル)。幅が省略された場合はアスペクト比を維持します |
| string | 任意 | 出力形式: 'png'、'jpeg'、'webp'(デフォルト: png) |
レスポンス例:
{"image":"iVBORw0KGgo...","originalWidth":1920,"originalHeight":1080,"newWidth":800,"newHeight":450,"format":"webp","fileSizeBytes":24500}使用する場面: サムネイルの作成、Web 用画像の最適化、ソーシャルメディア用画像の準備、メールテンプレート用のリサイズ、バッチ画像処理。
対象外: OCR テキスト抽出(media_extract_text_from_image)、QR コード生成(utility_generate_qr_code)、スクリーンショット(capture_screenshot)。
エージェントのプロンプト例
"URL から画像をリサイズするか、その形式を変換してください"
支払い
プロトコル: x402 -- HTTP ネイティブの呼び出しごとの支払い、サインアップ不要、API キー不要
ネットワーク: Base L2(
eip155:8453)アセット: USDC
ファシリテーター: Coinbase CDP(プライマリ)、PayAI(フォールバック)
ATXP からもアクセス可能(OAuth でラップされた x402、RFC 9728 の保護リソースメタデータ)
klymax402 の一部
AI エージェント向け 100 の x402 マイクロペイメント API -- 1 つのウォレット、Base 上の USDC、サインアップ不要。
完全な API リファレンス: https://klymax402.com/llms-full.txt
ライブ統計: https://klymax402.com/stats
ライセンス
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 gradedqualityBmaintenanceEnables 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.785 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