Skip to main content

cleya smart_crop

Crop to a target aspect while keeping the subject — saliency-driven reframe for stills and video (center-crop fallback off-macOS)

Platform: saliency targeting needs macOS; falls back to center-crop elsewhere

cleya smart_crop --input wide.jpg --aspect 4:5

Options

FlagWhat it does
--inputImage or videorequired · string
--aspectTarget aspect: 4:5, 9:16, 1:1, or a numberstring
--widthExact output width (with --height; also scales)string
--heightExact output heightstring
--timeSaliency sample frame for video (default: middle)string
--outputOutput pathstring
--overwriteOverwrite output file if it existsboolean

Category: assets — extract usable pieces from media

Generated from the toolkit

Generated from cleya capabilities, the toolkit's own manifest, so it cannot drift. Run cleya smart_crop --help for the same information in your terminal.