facebook / audioseal

huggingface.co
Total runs: 56.5K
24-hour runs: 2.0K
7-day runs: 10.0K
30-day runs: 31.7K
Model's Last Updated: December 09 2025

Introduction of audioseal

Model Details of audioseal

AudioSeal

We introduce AudioSeal, a method for speech localized watermarking, with state-of-the-art robustness and detector speed. It jointly trains a generator that embeds a watermark in the audio, and a detector that detects the watermarked fragments in longer audios, even in the presence of editing. Audioseal achieves state-of-the-art detection performance of both natural and synthetic speech at the sample level (1/16k second resolution), it generates limited alteration of signal quality and is robust to many types of audio editing. Audioseal is designed with a fast, single-pass detector, that significantly surpasses existing models in speed — achieving detection up to two orders of magnitude faster, making it ideal for large-scale and real-time applications.

🧉 Installation

AudioSeal requires Python >=3.8, Pytorch >= 1.13.0, omegaconf , julius , and numpy. To install from PyPI:

pip install audioseal

To install from source: Clone this repo and install in editable mode:

git clone https://github.com/facebookresearch/audioseal
cd audioseal
pip install -e .

⚙️ Models

We provide the checkpoints for the following models:

  • AudioSeal Generator. It takes as input an audio signal (as a waveform), and outputs a watermark of the same size as the input, that can be added to the input to watermark it. Optionally, it can also take as input a secret message of 16-bits that will be encoded in the watermark.
  • AudioSeal Detector. It takes as input an audio signal (as a waveform), and outputs a probability that the input contains a watermark at each sample of the audio (every 1/16k s). Optionally, it may also output the secret message encoded in the watermark.

Note that the message is optional and has no influence on the detection output. It may be used to identify a model version for instance (up to $2**16=65536$ possible choices).

Note : We are working to release the training code for anyone wants to build their own watermarker. Stay tuned !

🧮 Usage

Audioseal provides a simple API to watermark and detect the watermarks from an audio sample. Example usage:


from audioseal import AudioSeal

# model name corresponds to the YAML card file name found in audioseal/cards
model = AudioSeal.load_generator("audioseal_wm_16bits")

# Other way is to load directly from the checkpoint
# model =  Watermarker.from_pretrained(checkpoint_path, device = wav.device)

# a torch tensor of shape (batch, channels, samples) and a sample rate
# It is important to process the audio to the same sample rate as the model
# expectes. In our case, we support 16khz audio 
wav, sr = ..., 16000

watermark = model.get_watermark(wav, sr)

# Optional: you can add a 16-bit message to embed in the watermark
# msg = torch.randint(0, 2, (wav.shape(0), model.msg_processor.nbits), device=wav.device)
# watermark = model.get_watermark(wav, message = msg)

watermarked_audio = wav + watermark

detector = AudioSeal.load_detector("audioseal_detector_16bits")

# To detect the messages in the high-level.
result, message = detector.detect_watermark(watermarked_audio, sr)

print(result) # result is a float number indicating the probability of the audio being watermarked,
print(message)  # message is a binary vector of 16 bits


# To detect the messages in the low-level.
result, message = detector(watermarked_audio, sr)

# result is a tensor of size batch x 2 x frames, indicating the probability (positive and negative) of watermarking for each frame
# A watermarked audio should have result[:, 1, :] > 0.5
print(result[:, 1 , :])  

# Message is a tensor of size batch x 16, indicating of the probability of each bit to be 1.
# message will be a random tensor if the detector detects no watermarking from the audio
print(message)  

Runs of facebook audioseal on huggingface.co

56.5K
Total runs
2.0K
24-hour runs
5.1K
3-day runs
10.0K
7-day runs
31.7K
30-day runs

More Information About audioseal huggingface.co Model

More audioseal license Visit here:

https://choosealicense.com/licenses/mit

audioseal huggingface.co

audioseal huggingface.co is an AI model on huggingface.co that provides audioseal's model effect (), which can be used instantly with this facebook audioseal model. huggingface.co supports a free trial of the audioseal model, and also provides paid use of the audioseal. Support call audioseal model through api, including Node.js, Python, http.

facebook audioseal online free

audioseal huggingface.co is an online trial and call api platform, which integrates audioseal's modeling effects, including api services, and provides a free online trial of audioseal, you can try audioseal online for free by clicking the link below.

facebook audioseal online free url in huggingface.co:

https://huggingface.co/facebook/audioseal

audioseal install

audioseal is an open source model from GitHub that offers a free installation service, and any user can find audioseal on GitHub to install. At the same time, huggingface.co provides the effect of audioseal install, users can directly use audioseal installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

audioseal install url in huggingface.co:

https://huggingface.co/facebook/audioseal

Url of audioseal

audioseal huggingface.co Url

Provider of audioseal huggingface.co

facebook
ORGANIZATIONS

Other API from facebook

huggingface.co

Total runs: 8.1M
Run Growth: 365.8K
Growth Rate: 4.51%
Updated:January 20 2022
huggingface.co

Total runs: 6.9M
Run Growth: -2.7M
Growth Rate: -38.89%
Updated:September 15 2023
huggingface.co

Total runs: 2.9M
Run Growth: -22.5K
Growth Rate: -0.80%
Updated:January 17 2024
huggingface.co

Total runs: 2.8M
Run Growth: -1.6M
Growth Rate: -55.15%
Updated:September 06 2023
huggingface.co

Total runs: 2.2M
Run Growth: -68.4K
Growth Rate: -3.15%
Updated:November 21 2025
huggingface.co

Total runs: 2.2M
Run Growth: -923.8K
Growth Rate: -42.15%
Updated:December 28 2021
huggingface.co

Total runs: 1.9M
Run Growth: 284.1K
Growth Rate: 13.95%
Updated:March 23 2023
huggingface.co

Total runs: 1.8M
Run Growth: -571.5K
Growth Rate: -32.05%
Updated:January 25 2024
huggingface.co

Total runs: 992.9K
Run Growth: 199.1K
Growth Rate: 20.58%
Updated:September 06 2023
huggingface.co

Total runs: 475.6K
Run Growth: 51.2K
Growth Rate: 10.76%
Updated:March 17 2025
huggingface.co

Total runs: 472.0K
Run Growth: -40.9K
Growth Rate: -8.73%
Updated:May 22 2023
huggingface.co

Total runs: 440.2K
Run Growth: 60.4K
Growth Rate: 13.50%
Updated:February 29 2024
huggingface.co

Total runs: 324.3K
Run Growth: -29.9K
Growth Rate: -9.21%
Updated:January 12 2024
huggingface.co

Total runs: 305.2K
Run Growth: 39.3K
Growth Rate: 13.68%
Updated:June 15 2023
huggingface.co

Total runs: 298.3K
Run Growth: 48.9K
Growth Rate: 15.99%
Updated:September 06 2023
huggingface.co

Total runs: 272.5K
Run Growth: -37.7K
Growth Rate: -13.68%
Updated:November 17 2022
huggingface.co

Total runs: 248.5K
Run Growth: -278.3K
Growth Rate: -111.22%
Updated:January 12 2024
huggingface.co

Total runs: 236.9K
Run Growth: 14.3K
Growth Rate: 6.02%
Updated:July 23 2024
huggingface.co

Total runs: 222.5K
Run Growth: 90.2K
Growth Rate: 41.02%
Updated:June 13 2023
huggingface.co

Total runs: 145.0K
Run Growth: -6.4K
Growth Rate: -4.27%
Updated:September 01 2023
huggingface.co

Total runs: 144.7K
Run Growth: -39.6K
Growth Rate: -20.94%
Updated:September 15 2023
huggingface.co

Total runs: 115.5K
Run Growth: -31.5K
Growth Rate: -26.43%
Updated:September 06 2023
huggingface.co

Total runs: 112.2K
Run Growth: -20.2K
Growth Rate: -17.93%
Updated:June 03 2022
huggingface.co

Total runs: 109.8K
Run Growth: -103.8K
Growth Rate: -95.18%
Updated:July 25 2023
huggingface.co

Total runs: 99.9K
Run Growth: -156.1K
Growth Rate: -159.35%
Updated:May 22 2023
huggingface.co

Total runs: 99.8K
Run Growth: 70.6K
Growth Rate: 71.11%
Updated:February 12 2023
huggingface.co

Total runs: 93.7K
Run Growth: -33.7K
Growth Rate: -36.36%
Updated:November 16 2023
huggingface.co

Total runs: 85.6K
Run Growth: -18.0K
Growth Rate: -20.70%
Updated:September 15 2023
huggingface.co

Total runs: 79.1K
Run Growth: -4.3K
Growth Rate: -5.16%
Updated:January 25 2023
huggingface.co

Total runs: 73.8K
Run Growth: -8.1K
Growth Rate: -10.49%
Updated:November 20 2023
huggingface.co

Total runs: 68.9K
Run Growth: -47.8K
Growth Rate: -63.16%
Updated:June 13 2023
huggingface.co

Total runs: 51.9K
Run Growth: -13.8K
Growth Rate: -26.65%
Updated:March 28 2026
huggingface.co

Total runs: 46.7K
Run Growth: -7.9K
Growth Rate: -17.62%
Updated:March 13 2024