l-<type>
and ends with l-end
. All the positional and transformation parameters of that layer are between l-<type>
and l-end
and only apply to that layer and not the parent base asset.type
can be image
, text
, video
or subtitles
.logo.png
on top of a base video, i.e. sample-video.mp4
. However, we applied width (w-10
) and rotation (rt-90
) transformations on this overlay logo image before placing it on the base video. Transformations w-300,h-300
are applied to sample-video.mp4
.i
or ie
(base64 encoded) parameter. In case both i
and ie
is present, i
is ignored. The base64 string should be made URL safe to ensure that all padding characters(=) are included correctly. In Javascript, a function like encodeURIComponent()
can be used for this.x
of the top-left corner in the base asset where layer's top-left corner would be placed.y
of the top-left corner in the base asset where layer's top-left corner would be placed.center
, top
, left
, bottom
, right
, top_left
, top_right
, bottom_left
and bottom_right
. Default value is center
.leo
and ldu
are present, ldu
is ignored.i-inner.png
is rendered on the top-left corner of i-outer.png
using the lfo-top_left
parameter.force
, at_max
, and at_least
.extract
and pad_resize
.center
, top
, left
, bottom
, right
, top_left
, top_right
, bottom_left
and bottom_right
.b-<border-width>-<hex code>
00
represents an opacity level of 0.00
, 01
represents opacity level 0.01
, and so on.max
.left
, right
and center
. The default value is center
.00
represents an opacity level of 0.00
, 01
represents opacity level 0.01
, and so on.max
.sr
.