🤗 Watermarking with Gradio: Example

Watermarks can be visible or invisible.

They can provide information directly, or provide a link for more information.

  • Visible watermarks are useful to disclose when content is AI-generated.
  • Invisible watermarks can mark content as authentic.
  • ...And vice versa! There are many possibilities for what watermarks can provide.
  • Watermarks can also provide information about content created by people.

They are a useful tool for AI provenance.

For more information on watermarking -- what watermarking is, why it's important, and the tools available on Hugging Face -- please check out our blogpost on AI watermarking.

Try it out below!

Image Watermark Code:

Video Watermark Code:

Inputs: Image and watermark file

Output: Watermarked image

Examples
original_image watermark