Skip to content
Local Cloud

Resize

Resize images in a second

Set a width, a height or a scale. Fit inside, fill and crop, or stretch.

$0.001

per run in the cloud

$0

on your own machine

Fit, fill or stretch

Keep the whole image, fill the frame, or force the size.

Any format

Keep the format or save as PNG, JPEG or WebP.

Private

Runs on your computer, no upload.

Reference

Inputs and parameters

The same on every surface: the desktop app, Claude through MCP and the API. Unknown parameters are refused, so a typo never runs with a default.

Inputs

NameTypeLimitsNotes
image requiredimage30 MB, 40 MPSource image

Parameters

NameTypeDefaultAcceptedNotes
widthint·1 to 8192Target width in pixels.
heightint·1 to 8192Target height in pixels.
scalefloat·0.05 to 8Scale factor, used when width and height are both empty.
modeenumfitfit, fill, stretchfit: inside the box, keep ratio. fill: cover the box and center-crop. stretch: exact size.
formatenumsamesame, png, jpeg, webp

Outputs

  • imageimage

API

Run Resize from the API

curl https://imference.com/tools/resize \
  -H "Authorization: Bearer $IMFERENCE_API_KEY" \
  -F image=@image.png

Files go in multipart fields named after the inputs; JSON works too, with {"inputs": {...}, "params": {...}} and https URLs or base64 data: URIs. The answer is a request_id: poll GET /status?request_id=... until it returns the outputs. Pay per call from a wallet instead at POST /ondemand/tools/resize. A run that fails is refunded to your credits. Details in the reference.

Specs

The details

Price
$0.001 · 1 credit
Runs
Local and cloud
License
No model weights
Tool id
resize 1.0.0
MCP tool
resize

More tools

Often used with it

All tools

FAQ

Good to know

Does it make images sharper when larger?

No, it resizes. To add real detail, use the upscaler.

Try Resize tonight