About this endpoint
What it does
Submits a video watermarking job using a multipart file upload. The request includes the source video plus optional watermark and formatting settings, and the response returns a job identifier for polling the async job.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| persistent | Boolean | No | Controls whether the job should persist. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| video | String | Yes | Source video file. |
| size | String | No | Optional output video scale WIDTHxHEIGHT (even integers). |
| gif_loop | String | No | Set to true or 1 to loop GIF watermark for full video duration. |
| watermark_text | String | No | Text overlay (alternative to watermark_image). |
| watermark_image | String | No | Image overlay file (.jpg, .jpeg, .png, .gif). |
| watermark_opacity | String | No | Opacity 0.0–1.0. Default 0.5. |
| watermark_position | ENUM | No | 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 | No | Text watermark font size in pixels. Default 24. |
| watermark_font_color | String | No | Hex color for text. Default #ffffff. |
| watermark_image_size | String | No | Image scale (-1:N or WIDTHxHEIGHT). Default -1:50. |
| watermark_text_padding | String | No | Text padding in pixels. Default 10. |
| watermark_text_background_color | String | No | Hex background box color; omit for no box. |
Response
Returns a JSON object with a job_id string field — a UUID job identifier to use for status polling.
| Status Code | Response Type | Description |
|---|---|---|
| 200 | Object | Success response containing job_id. |
Notes
This endpoint kicks off an async job and returns immediately with a job identifier; the actual work runs in the background. Pair this call with the corresponding job_check endpoint — poll that until the status reaches a terminal state to retrieve the result. Extract the job_id field from the response.