1001fx - NoCode functions icon

1001fx - NoCode functions

1001fx is a set of functions for any automation platform. Our functions are simple, very well tested, scalable and offer features that most automation platforms do not offer.

Actions74

audiovideo → Add Watermark to Video

AI-generated

Overview

The "Add Watermark to Video" operation in the "audiovideo" resource of this n8n node allows users to overlay a watermark image onto a video file. This is useful for branding, copyright protection, or simply marking videos with a logo or identifier before sharing or publishing them. Common scenarios include adding company logos to marketing videos, protecting intellectual property, or customizing user-generated content.

Practical examples:

  • Automatically add your organization's logo to all uploaded training videos.
  • Watermark customer testimonial videos before posting on social media.
  • Batch-process event recordings to include sponsor branding.

Properties

Name Meaning
Video URL The URL of the media file (video) to which the watermark will be added. You can use the 1001fx uploadasset function for temporary asset upload.
Watermark Image The image file to be used as the watermark.
Position The position of the watermark on the video. Options: C (Center), CE (Center East), CW (Center West), NC (North Center), NE (North East), NW (North West), SC (South Center), SE (South East), SW (South West). Defaults to SE.
Margin The margin in pixels between the watermark and the edge of the video. Defaults to 20.
Watermark Size The size of the watermark relative to the video dimensions. Value between 0 and 1. Defaults to 0.2.

Output

  • The output is a JSON object containing the result of the watermarking operation.
  • Typically, the response includes information about the processed video, such as a URL to the new watermarked video or status details.
  • If an error occurs, the output will contain an error field with details about the issue.

Example output:

{
  "url": "https://api.1001fx.com/output/watermarked-video.mp4",
  "status": "success"
}

Or, in case of error:

{
  "error": "Invalid watermark image format."
}

Dependencies

  • External Service: Requires access to the 1001fx API.
  • API Key: You must configure the 1001fxApi credential in n8n.
  • Environment: No additional environment variables are required beyond standard n8n setup.

Troubleshooting

Common issues:

  • Invalid Video URL: Ensure the video URL is accessible and points to a valid video file.
  • Watermark Image Issues: The watermark image must be a supported format (e.g., PNG, JPEG). Corrupt or unsupported files may cause errors.
  • Position/Margin/Size Errors: Providing out-of-range values for margin or watermark size may result in errors or unexpected placement.
  • Authentication Errors: If the API key is missing or invalid, authentication errors will occur.

Error messages:

  • "Invalid watermark image format." – Check that the watermark image is a valid and supported file type.
  • "Video file not found." – Verify the Video URL is correct and publicly accessible.
  • "Unauthorized" – Ensure your 1001fx API credentials are correctly configured in n8n.

Links and References

Discussion