About this endpoint
What it does
Applies a watermark to a video fetched from a remote URL, then streams the processed video back as a binary response. The request body includes the source video_url and optional watermark and layout settings.
Request Body
| Parameter | Type | Description |
|---|---|---|
| video_url | String | Remote video URL to process. Must be a URI. |
| box | String | Watermark box setting. Default: 0. |
| size | String | Output video size, such as 1280x720. |
| gif_loop | Boolean | Whether to loop GIF output. Default: false. |
| watermark_text | String | Text to use as the watermark. |
| watermark_image | String | Remote watermark image URL. Must be a URI. Legacy alias watermark_image_url is also accepted. |
| watermark_image_url | String | Remote watermark image URL. Must be a URI. |
| watermark_opacity | String | Watermark opacity. Default: 0.5. |
| watermark_position | ENUM | Watermark placement. Allowed values: top_right, top_left, bottom_right, bottom_left, center, bottom_center, top_center, center_left, center_right. Default: bottom_right. |
| watermark_font_size | String | Watermark text font size. Default: 24. |
| watermark_font_color | String | Watermark text color. |
| watermark_image_size | String | Watermark image size, such as 120x40. |
| watermark_text_padding | String | Padding around watermark text. Default: 10. |
| watermark_text_background_color | String | Background color for the watermark text. |
Response
Returns a binary file response containing the processed video stream. The output schema is a string with binary format, so the successful response body is the video content itself.



