Pipeline

Updated at:

A pipeline is a mechanism that executes multiple processing tasks in sequence. It lets you perform different processing operations on an image in a specific order within a single request.

Access rules

<Image URL>@<action1>|<action2>

To perform real-time processing, add processing parameters, such as action1 and action2, to the URL after the at sign (@). You can use a pipeline to perform multiple tasks, such as resizing an image and then adding a watermark. The operations are executed in the order specified in the pipeline. The pipeline separator is the vertical bar (|). A maximum of four levels of pipelines are supported.

This format indicates that the action1 operation is performed first. Then, the action2 operation is performed on the result of the first operation. The final image is then returned. The action1 and action2 parameters can be resizing, text watermark, or image watermark operations.

Examples