Skip to main content
Glama

Image Resize API

[MCP Server(https://image-resize.api.usize.max402.us/mcp) x402 [License: MIT)(LICENSE)

URL에 있는 이미지의 너비/높이를 직접 지정하거나 PNG/JPEG/WebP 포맷으로 변환할 수 있습니다. 가로세 비율은 유지됩니다. 건별 요금은 x402로 처리됩니다 (Base L2의) -- API 키, 회원가입, rate limit이 없습니다.

klymax402 마켓플레이스의 일부입니다 -- AI 에이전트용 x402 마이크로 결제 API 100종, 하나의 Base 지갑, USDC.

바른 시작 -- MCP

MP 클라이언트 설정 (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, ATXP)는 402 -> sign -> retry 사이클을 자동으로 처리합니다.

도구

도구

메서드

경로

가격

설명

media_resize_image

POST

/api/resize

$0.008

URL에서 이미지를 리사이즈합니다.

media_resize_image

이미지를 URL에서 리사이즈하거나 포맷으로 변환해야 할 때 사용합니다. 리샄이즈된 이미지를 base64 + JSON 메타데이터로 반환합니다.

매개변수

이름

타입

필수

설멸

url

string

예

리사이즈할 이미지의 URL

width

number

아니오

목표 너시 (셀). 높이 생략 시 가로세 ratio

height

number

아니오

목표 높이 (셁). 너비 생략 시 가로세 ratio

format

string

아니오

출력 포맷: 'png', 'jpeg' 또는 'webp' (기본값: png)

응답 예:

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

사용할 때: 네일 생성, 움 이미지 최적화, 소셜 미디어 이미지 준비, 이메일 텀플레이트 크기 조절, 배치 이미지 처리를 할 때 사용합니다.

적합하지 않은 용도: OCR 텍스트 추출(media_에트ract_text_from_image 사용), QR 코드 생성(utility_generate_qr_code 사용), 스크린샷 (capture_screenshot 사용).

에이전트 프롬프트 예시

  • "URL에서 이미지를 크기 조절하거나 포맷을 변환해 주세요"

결제

  • 프로토콜: x402 -- HTTP 네이브 종전부, 회원가입, API 키 없음

  • 네트워크: Base L2 (eip155:1453)

  • 자산: USDC

  • 금결 더우자: Coinbase CDP (기본), PayAI (대체)

  • ATXP를 통한 접근도 사용 가증 (OAuth-래된 x402, RFC 9728 protected-resource metadata)

klymax402의 일부

AI 에이전트용 x402 미소액 결제 API 100종 -- 지갑 하나, Base의 USDC, 회원가입 제로.

라이선스

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
      105 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