# Point-of-Interest Crop

Automatically identify the most interesting part of the image and crop into it. This machine learning crop algorithm gives you instant creative direction.

Using an AI coding agent?

Install the [`sirv-dynamic-imaging`](https://www.skills.sh/sirv/image-optimization-skill/sirv-dynamic-imaging) skill, and your agent can build these image URLs for you. Ask in plain words, such as “Serve our product photos as 800px WebP.” [See all 8 skills](/help/rest-api/sirv-skills-for-ai-agents/)

Try it

![Original image](https://demo.sirv.com/birdbath.jpg?w=800)

Original

![Image with the options applied](https://demo.sirv.com/birdbath.jpg?crop.type=poi&crop.aspectratio=1:1)

With options

Crop type

facepoitrim

Aspect ratio

:

Crop width

px%

Crop height

px%

Padding and scale options4

Padding X

px%

Padding Y

px%

Scale width

px%

Scale height

px%

https://demo.sirv.com/birdbath.jpg**?crop.type=poi&crop.aspectratio=1:1**

[](https://demo.sirv.com/birdbath.jpg?crop.type=poi&crop.aspectratio=1:1)

Set crop.type to poi. Example:

`https://demo.sirv.com/deer.jpg?crop.type=poi`

![Original image, not cropped](https://demo.sirv.com/deer.jpg?h=240&text.text=Original&text.color=black&text.position=northeast)

!\[Autocropped image based on point of interest\]([https://demo.sirv.com/deer.jpg?ch=240&crop.type=poi&text.text=POI](https://demo.sirv.com/deer.jpg?ch=240&crop.type=poi&text.text=POI) crop&text.color=black&text.position=northeast)

Control the crop using ch and cw.

`https://demo.sirv.com/deer.jpg?crop.type=poi&ch=240&cw=800`

![Autocropped image based on point of interest](https://demo.sirv.com/deer.jpg?ch=240&cw=800&crop.type=poi)

Find out where the POI is by adding &crop.dev=1 to the URL, for example:

`https://demo.sirv.com/deer.jpg?crop.type=poi&crop.dev=1`

![Location of point of interest within image](https://demo.sirv.com/deer.jpg?crop.type=poi&crop.dev=1)

If the crop misses the most important part of the image, move the point of interest and Sirv crops around it.
