Skip to main content

Documentation Index

Fetch the complete documentation index at: https://autorender.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Image layers allow you to overlay other images on top of your base image. This is the primary method for adding watermarks, brand logos, or combining multiple visual elements into a single composition.

Image Overlay - (l_image)

To add an image overlay, use the l_image: parameter followed by the path to the overlay asset. Format: l_image:{image_path}
https://assets.autorender.io/LOKVTtKVGb/l_image:logo.svg,fl_layer_apply/doc1/porsche.jpg
Basic image overlay

Layer Dimensions - (lw, lh)

Control the size of the overlay independently of the base image.
ParameterAliasDescription
lw_WidthSets the width of the overlay layer in pixels
lh_HeightSets the height of the overlay layer in pixels
If you specify only one dimension (width or height), the overlay will automatically scale while maintaining its original aspect ratio.

Layer Placement - (tp)

Anchor your overlay to specific regions using the Top Placement parameter.
CodePlacementCodePlacement
nwTop-leftnTop-center
neTop-rightcCenter
swBottom-leftsBottom-center
seBottom-right

Absolute Positioning - (lx, ly)

Specify exact pixel coordinates for the overlay image instead of using relative regions.
ParameterAliasDescription
lx_XAbsolute X coordinate from the left edge
ly_YAbsolute Y coordinate from the top edge

Best Practices

  • SVG for Logos: Use SVG files for image layers whenever possible to ensure logos look sharp at any scale.
  • Layer Stacking: Multiple layers can be stacked! Each l_image block must conclude with fl_layer_apply.
  • Transparency: AutoRender fully supports PNG and WebP transparency in overlay layers.
  • Positioning: Combine tp_ with x_ and y_ parameters within the layer block for precise positioning relative to the anchor point.