demobook

ImageKit: AI-Powered Object-Aware Cropping

Demo summary

The video demonstrates using ImageKit's AI focus (fo-cat, fo-dog) to automatically crop images around specific subjects without manual coordinates.

Step-by-step

  1. Scroll to the bottom of the image URL or transformation settings
  2. Add the transformation parameter 'fo-cat' to focus the crop on a cat
  3. Add the transformation parameter 'fo-dog' to focus the crop on a dog
  4. Perform a hard refresh to view the updated cropped images

Options

  • Use 'fo-cat' for cat-specific object detection
  • Use 'fo-dog' for dog-specific object detection

Highlights

it worked beautifully

All demos from “Ultimate Guide to Image Optimization in Next.js (CLS, Placeholders, Transformations, ImageKit)

  1. 30:062:27Adjust Image Quality on the flyThe video demonstrates using the quality prop to dynamically change image compression levels, showing the visual difference between 90% and 5% quality.Next.jsAI Image/Photo Enhancer
  2. 43:491:32Chained Image Transformations with ImageKitThe creator demonstrates chaining multiple transformations including width, height, focus, crop, rotation, blur, and grayscale using the transformation prop.ImageKitAI Photo Editor
  3. 47:351:49Overlay Text on ImagesThe demo shows how to use ImageKit's overlay property to programmatically add a 'Subscribe' text badge with custom background and padding to an image.ImageKitAI Photo Editor
  4. 50:490:48AI-Powered Object-Aware CroppingCurrentThe video demonstrates using ImageKit's AI focus (fo-cat, fo-dog) to automatically crop images around specific subjects without manual coordinates.ImageKitAI Crop Image
  5. Watch “Ultimate Guide to Image Optimization in Next.js (CLS, Placeholders, Transformations, ImageKit)” →

AI Crop Image

  1. 50:490:48AI-Powered Object-Aware CroppingCurrentThe video demonstrates using ImageKit's AI focus (fo-cat, fo-dog) to automatically crop images around specific subjects without manual coordinates.Jan Marshal