For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
GuidesIntegrationsAPI ReferencesRelease notes
GuidesIntegrationsAPI ReferencesRelease notes
    • APIs overview
  • Upload API
    • Errors
  • REST API
    • Authentication
    • File Metadata
    • Add Ons
    • Changelog
    • Versioning
  • URL API
    • File Information
    • File Names
    • File groups
    • Image processing limitations
    • Image compression
    • Image resize and crop
    • Image rotation
    • Image overlays
    • Image colors
    • Image definition
    • Image recognition
    • Other image operations
    • Proxy
    • Signed URLs
    • CDN settings
    • Integrations
Dashboard
LogoLogo
URL API

Image resize and crop

OperationSyntax
Preview-/preview/:dimensions/
Resize-/resize/:one_or_two_dimensions/
Smart resize-/smart_resize/:dimensions/
Crop-/crop/:dimensions/ -/crop/:dimensions/:alignment/
Crop by ratio-/crop/:ratio/ -/crop/:ratio/:alignment/
Crop by objects-/crop/:tag/ -/crop/:tag/:ratio/ -/crop/:tag/:ratio/:alignment/ -/crop/:tag/:dimensions/ -/crop/:tag/:dimensions/:alignment/
Scale crop-/scale_crop/:dimensions/ -/scale_crop/:dimensions/:alignment/
Smart crop-/scale_crop/:dimensions/:type/ -/scale_crop/:dimensions/:type/:alignment/
Crop solid background-/trim/ -/trim/:tolerance/:padding/
Border radius and circle crop-/border_radius/:radii/ -/border_radius/:radii/:vertical_radii/
Set fill color-/setfill/:color/
Zoom objects-/zoom_objects/:zoom/
Previous

Image rotation

Next
Built with