Skip to main content
Glama

Image Resize API

MCP Server x402 License: MIT

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: image-tools-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/fetchx402-agent-tools、ATXP)は、402 -> 署名 -> 再試行のサイクルを自動で処理します。

ツール

ツール

メソッド

パス

価格

説明

media_resize_image

POST

/api/resize

$0.008

URL の画像をリサイズする

media_resize_image

URL から画像をリサイズしたり、形式を変換する必要があるときに使用します。リサイズされた画像を base64 として返し、メタデータは JSON で返します。

パラメータ

名前

必須

説明

url

string

必須

リサイズする画像の URL

width

number

任意

ターゲットの幅(ピクセル)。高さが省略された場合はアスペクト比を維持します

height

number

任意

ターゲットの高さ(ピクセル)。幅が省略された場合はアスペクト比を維持します

format

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、サインアップ不要。

ライセンス

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

UpdatingMaintainers
UpdatingResponse time
Release cycle
0Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    C
    quality
    D
    maintenance
    Image Tools MCP is a Model Context Protocol (MCP) service that retrieves image dimensions and compresses images from URLs and local files using the TinyPNG API. It supports converting images to formats like webp, jpeg/jpg, and png, providing detailed information on width, height, type, and compressi
    2
    20
    10
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables comprehensive image editing operations including resizing, format conversion, cropping, compression, rotation, flipping, and batch processing. Supports JPEG, PNG, WebP, and AVIF formats with quality control and metadata extraction.
    8
    14
    18
    MIT

View all related MCP servers

Related MCP Connectors

  • AI image processing: upscale, resize, crop, compress, convert file format, and generate SEO metadata

  • Generate images, GIFs, and PDFs from HTML, URLs, or templates — from your AI agent.

  • Web intelligence for AI agents: fetch, render, extract, research. x402 micropayments, no API keys.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/image-resize-x402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server