How to overlay an image on another image?

I want to add our brand’s logo, which is a PNG image, on top of all our images that get published on other third-party websites, so that our brand logo shows on every image.
How to use ImageKit to overlay an image on another image? We would also want to control the placement of the logo we place on top and do this for 100s of images every week.

ImageKit enables you to add overlays, including images, text, or solid color blocks, using layers on your Images.

You can precisely control the position of the overlaid image using positional parameters, as detailed here.

Example: https://ik.imagekit.io/demo/tr:l-image,i-logo-white_SJwqB4Nfe.png,lfo-top,l-end/medium_cafe_B1iTdD0C.jpg

For applying overlays to a large number of images efficiently, the layer transformation can be templatized using Named Transformations. Once created, the named transformation can be applied to multiple base images seamlessly.