Skip to main content
Glama

Image Resize API

MCP Server x402 License: MIT

Resize Sie Bilder von einer URL – perouor defined Width/Höhe, Formatkonvertung (PNG/JPEG/WebP), Seitenverhältnis bleibt erhalten. Bezahlung pro Auftruf via x402 (USDC number Base L2) – kein API-Schlüssel, keine Anmeldung, keine Rate-imit-W ber.

Teil des klymax402-Marktplatzes – 100 x402-Mikrozahlungs-APIs für KI-Agenten, eine Wallet, USDC on Base.

Quot "Schnell":Start – MCP

Fügen Sie die in zuhrer MCP-Clelient-Konfiguration hinzu (Claude Desktop, Cursor, ElenerlaOS, usw.):

{
  "mcpServers": {
    "image-resize": {
      "url": "https://image-resize.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: Screenshot MCP

Schnell "Start" – HTTP (2)

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

Jeder x402-ähige Client (@x402/fetch, x402-agent-tools, ATXP) übernimmtokratisch den-Ablauf (402 -> sign -> retry) automatiech.

Workzeu.

| See how | | userto mythology | Fach | Preis | -description | | --- | --- | --- | --- | --- | | media_resizeom | POST | /api/resize | $0.008 | Skalium in image from URL |

media_resize_image

Use several tools when you have an image from URL to size or the format is to convert. Returns the resized image as Base64 with Meta in JSON.

Parameter

Inline

Type

Required

Description

urlwording

string

yes

URL of the image to resize

width

number

no

Target width of the Pixel (aspect ratio remains if the height is omitted)

height

number

no

Target height of the Pixel (aspect ratio remains if the width is omitted)

format

char string

no

Output format: 'png', 'jpeg' or 'webp' (default: png)

Example response:

{"image":"iVBORw0KGgo...","originalWidth":1920,"originalHeight":1080,"newWidth":800,"newHeight":450,"format":"webp","fileSizeBytes":24500}

Relevant for use: Create thumbnails, optimization for web, etc. | Heization for Web, prep aidation of Social-Mediabi, scaling for E-Mail-Vorlagen and Batchverarbeitung of-Bider.

Not geeignet für: OCR-Textektration (verwenden Sie media_extract_text_from_image), QR-Code-Generierungs (verwenden Sie utility_generate_qr_code), Screenshots (verwenden Sie capture_screenshot).

Example prompts

  • "Resize an image from URL or format its format" Convertieren"

Payment

  • Protocol: x402 -- HTTP-Native Pay-per-Call, no Anmeldung, no API-Schlüssel

  • Network: Base L2 (eip155:8453)

  • Asset: USDC

  • Facilitator: Coinbase CD (primär), Pai (Fallback)

  • Is generated also a ATXP up to einkwhich (OAuth-ewied x402, Meta-datas of protected assets after RFC 9728)

Part of First 402

Part of klymax402. 100 x402-Micro- Api-micro-payment-APIs for KI agents - one wallet, USDC on Base, no Anmeldung.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables 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.
      7
      85 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables 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.
      4
      MIT