Tools model

Image fit and crop (Pillow)

From Corent, on Pillow.

Runnable now
Starts at
2 cents
Never more than
2 cents
Time limit
120 seconds
License
MIT-CMU
Model name
corent/tool/fit-image

Prices as of 2026-11-25.

  • A failed or cancelled run costs nothing.
  • Before a run starts, Corent holds up to the highest price shown. You are charged only for what the run used.
  • Each model stays on a hard time limit, so a run cannot go on and on.

Try it

Run it

This kind of model is called through the API. The call below shows the shape; send your own input for this kind of work.

Through the API

The same run, from code

Send your files first with POST /v1/uploads, then put each returned ID where the example says upload id.

POST https://api.corent.tech/v1/open/runsAuthorization: Bearer <your Corent key>Idempotency-Key: <any new unique string>{  "model": "corent/tool/fit-image",  "input": { "image": "<upload id>", "width": 1080, "height": 1080, "mode": "cover" },  "max_cost_cents": 2}