Tools

resize_image tool call

Cost: 0 GCX ($0.00). Free tool — no auth needed.

post/api/tools/resize_image

Request

  • Base URL: https://studiomcphub.com
  • URL: https://studiomcphub.com/api/tools/resize_image
  • Auth: none required

Request body

format'png' | 'jpeg' | 'webp'

Output format

heightinteger required

Target height in pixels (1-8192)

imagestring required

Base64-encoded PNG/JPEG image

mode'contain' | 'cover' | 'stretch'

Resize mode: 'contain' (fit within bounds, preserve aspect ratio), 'cover' (crop to fill), 'stretch' (exact size, may distort)

qualityinteger

JPEG/WebP quality (1-100)

widthinteger required

Target width in pixels (1-8192)

Response

Tool result

Changes

No recorded changes to this operation across all 1 revision of this API.