Before you start
Prepare two files in the Codex workspace: the source video and the logo image. In the recorded workflow, the video is sample.mp4 and the logo is logo2.png.
Step-by-step workflow
Ask Codex to add the logo watermark
Start with a simple instruction. The key is to name both assets and describe the placement clearly.
Use Medux to add logo2.png to sample.mp4. Resize the logo to an appropriate size and place it in the top-right corner of the video.
logo2.png to sample.mp4 and place it in the top-right corner.Let Codex inspect the project files
Codex checks the workspace before calling Medux. It confirms the video file, the logo file, and a prior output frame that helps estimate the watermark size and placement.
Find the Medux add-logo workflow
Next, Codex identifies the Medux workflow for adding a logo to video. The important parameters are the logo position, width, and height.
{
"tool": "add_logo_to_video",
"video": "sample.mp4",
"logo": "logo2.png",
"placement": {
"corner": "top-right",
"logo_width": 180,
"logo_height": 180,
"margin_x": 24,
"margin_y": 24
}
}
Upload assets and submit the Medux task
Codex prepares upload targets for the MP4 and PNG, then submits the Medux task. In the example, it chooses a 180×180 logo with a 24px top-right margin for a 1920×1080 source video.
POST /api/app/v1/process/video/add_logo_to_video
{
"video_url": "<uploaded-sample-mp4-url>",
"logo_url": "<uploaded-logo2-png-url>",
"x": 1716,
"y": 24,
"logo_width": 180,
"logo_height": 180
}
Approve the download when needed
If the environment asks for confirmation before downloading the Medux result, approve the command so Codex can save the completed video into the workspace.
Verify the final MP4
Codex saves the final file, extracts a preview frame, and confirms that the logo is visible in the top-right corner without dominating the video.
sample_logo2_top_right.mp4 plus a preview frame for quick visual verification.Publishing checklist
Use this workflow as a short product tutorial for your website, docs, YouTube description, or social post. Keep the story focused: one prompt, one MCP connection, one finished video.
Name the video and logo files directly.
Specify corner, size, and margin.
Always verify a frame before publishing.
Example result
src / logo / rst demonstration
Below is the complete watermark example: src is the original video, logo is the image added as a watermark, and rst is the final branded video generated by Medux.

Explore related workflows
Continue with a nearby Medux workflow or compare how the same task works across Claude MCP and Codex MCP.