Skip to content
Local Cloud

Crop

Crop to the frame you want

Drag a frame, or pick an aspect ratio like 1:1, 4:5 or 16:9.

$0.001

per run in the cloud

$0

on your own machine

Aspect presets

Square, portrait, landscape and more.

Pixel precise

Set the exact position and size if you need to.

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
xint0at least 0
yint0at least 0
widthint·at least 1Crop width (default: to the right edge).
heightint·at least 1Crop height (default: to the bottom edge).
aspectstring·^[0-9]{1,4}:[0-9]{1,4}$e.g. 16:9; centered crop, overrides the rectangle.
formatenumsamesame, png, jpeg, webp

Outputs

  • imageimage

API

Run Crop from the API

curl https://imference.com/tools/crop \
  -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/crop. 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
crop 1.0.0
MCP tool
crop

More tools

Often used with it

All tools

Try Crop tonight