facebook / audiogen-medium

huggingface.co
Total runs: 41.6K
24-hour runs: 0
7-day runs: 13.6K
30-day runs: 26.6K
Model's Last Updated: March 12 2024

Introduction of audiogen-medium

Model Details of audiogen-medium

AudioGen - Medium - 1.5B

AudioGen is an autoregressive transformer LM that synthesizes general audio conditioned on text (Text-to-Audio). Internally, AudioGen operates over discrete representations learnt from the raw waveform, using an EnCodec tokenizer.

AudioGen was presented at AudioGen: Textually Guided Audio Generation by Felix Kreuk, Gabriel Synnaeve, Adam Polyak, Uriel Singer, Alexandre Défossez, Jade Copet, Devi Parikh, Yaniv Taigman, Yossi Adi .

AudioGen 1.5B is a variant of the original AudioGen model that follows MusicGen architecture. More specifically, it is trained over a 16kHz EnCodec tokenizer with 4 codebooks sampled at 50 Hz with a delay pattern between the codebooks. Having only 50 auto-regressive steps per second of audio, this AudioGen model allows faster generation while reaching similar performances to the original AudioGen model introduced in the paper.

Audiocraft Usage

You can run AudioGen locally through the original Audiocraft library :

  1. First install the audiocraft library
pip install git+https://github.com/facebookresearch/audiocraft.git
  1. Make sure to have ffmpeg installed:
apt get install ffmpeg
  1. Run the following Python code:
import torchaudio
from audiocraft.models import AudioGen
from audiocraft.data.audio import audio_write

model = AudioGen.get_pretrained('facebook/audiogen-medium')
model.set_generation_params(duration=5)  # generate 5 seconds.
descriptions = ['dog barking', 'sirenes of an emergency vehicule', 'footsteps in a corridor']
wav = model.generate(descriptions)  # generates 3 samples.

for idx, one_wav in enumerate(wav):
    # Will save under {idx}.wav, with loudness normalization at -14 db LUFS.
    audio_write(f'{idx}', one_wav.cpu(), model.sample_rate, strategy="loudness", loudness_compressor=True)
Model details

See AudioGen's model card .

Runs of facebook audiogen-medium on huggingface.co

41.6K
Total runs
0
24-hour runs
288
3-day runs
13.6K
7-day runs
26.6K
30-day runs

More Information About audiogen-medium huggingface.co Model

More audiogen-medium license Visit here:

https://choosealicense.com/licenses/cc-by-nc-4.0

audiogen-medium huggingface.co

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

audiogen-medium huggingface.co Url

https://huggingface.co/facebook/audiogen-medium

facebook audiogen-medium online free

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

facebook audiogen-medium online free url in huggingface.co:

https://huggingface.co/facebook/audiogen-medium

audiogen-medium install

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

audiogen-medium install url in huggingface.co:

https://huggingface.co/facebook/audiogen-medium

Url of audiogen-medium

audiogen-medium huggingface.co Url

Provider of audiogen-medium huggingface.co

facebook
ORGANIZATIONS

Other API from facebook

huggingface.co

Total runs: 8.3M
Run Growth: 106.8K
Growth Rate: 1.29%
Updated:January 20 2022
huggingface.co

Total runs: 4.8M
Run Growth: -1.0M
Growth Rate: -21.23%
Updated:September 15 2023
huggingface.co

Total runs: 3.6M
Run Growth: 500.7K
Growth Rate: 13.88%
Updated:January 17 2024
huggingface.co

Total runs: 2.5M
Run Growth: -306.0K
Growth Rate: -12.43%
Updated:September 06 2023
huggingface.co

Total runs: 2.0M
Run Growth: 27.6K
Growth Rate: 1.40%
Updated:November 21 2025
huggingface.co

Total runs: 1.2M
Run Growth: -440.1K
Growth Rate: -35.84%
Updated:January 25 2024
huggingface.co

Total runs: 706.3K
Run Growth: 163.7K
Growth Rate: 23.51%
Updated:March 17 2025
huggingface.co

Total runs: 694.0K
Run Growth: -821.5K
Growth Rate: -116.55%
Updated:March 23 2023
huggingface.co

Total runs: 630.8K
Run Growth: -260.8K
Growth Rate: -41.49%
Updated:September 06 2023
huggingface.co

Total runs: 509.9K
Run Growth: 246.2K
Growth Rate: 47.80%
Updated:January 12 2024
huggingface.co

Total runs: 404.5K
Run Growth: -139.2K
Growth Rate: -35.15%
Updated:May 22 2023
huggingface.co

Total runs: 274.0K
Run Growth: 52.7K
Growth Rate: 18.71%
Updated:February 12 2023
huggingface.co

Total runs: 249.0K
Run Growth: -95.2K
Growth Rate: -37.56%
Updated:January 12 2024
huggingface.co

Total runs: 246.3K
Run Growth: 55.5K
Growth Rate: 22.78%
Updated:September 06 2023
huggingface.co

Total runs: 233.1K
Run Growth: -131.8K
Growth Rate: -54.81%
Updated:June 13 2023
huggingface.co

Total runs: 241.3K
Run Growth: -43.3K
Growth Rate: -17.99%
Updated:June 15 2023
huggingface.co

Total runs: 211.9K
Run Growth: -37.3K
Growth Rate: -17.69%
Updated:November 17 2022
huggingface.co

Total runs: 200.5K
Run Growth: -160.7K
Growth Rate: -80.20%
Updated:February 29 2024
huggingface.co

Total runs: 195.0K
Run Growth: 99.9K
Growth Rate: 51.25%
Updated:December 09 2025
huggingface.co

Total runs: 185.0K
Run Growth: 12.4K
Growth Rate: 6.59%
Updated:September 15 2023
huggingface.co

Total runs: 154.5K
Run Growth: 57.5K
Growth Rate: 37.23%
Updated:March 28 2026
huggingface.co

Total runs: 155.9K
Run Growth: 132.7K
Growth Rate: 96.90%
Updated:September 01 2023
huggingface.co

Total runs: 97.5K
Run Growth: -10.2K
Growth Rate: -10.24%
Updated:May 22 2023
huggingface.co

Total runs: 89.3K
Run Growth: -58.1K
Growth Rate: -63.88%
Updated:June 03 2022
huggingface.co

Total runs: 77.4K
Run Growth: -40.1K
Growth Rate: -48.86%
Updated:November 16 2023
huggingface.co

Total runs: 75.1K
Run Growth: 7.4K
Growth Rate: 9.90%
Updated:September 15 2023
huggingface.co

Total runs: 57.6K
Run Growth: 40.1K
Growth Rate: 70.36%
Updated:June 13 2023
huggingface.co

Total runs: 52.5K
Run Growth: -2.6K
Growth Rate: -4.99%
Updated:September 06 2023
huggingface.co

Total runs: 47.2K
Run Growth: 16.8K
Growth Rate: 33.16%
Updated:January 25 2023
huggingface.co

Total runs: 43.8K
Run Growth: 4.7K
Growth Rate: 10.61%
Updated:September 05 2023
huggingface.co

Total runs: 42.8K
Run Growth: -4.9K
Growth Rate: -11.24%
Updated:February 12 2023
huggingface.co

Total runs: 39.6K
Run Growth: 33.0K
Growth Rate: 83.48%
Updated:July 30 2025
huggingface.co

Total runs: 38.2K
Run Growth: -3.5K
Growth Rate: -9.10%
Updated:October 16 2024
huggingface.co

Total runs: 33.2K
Run Growth: -5.4K
Growth Rate: -16.14%
Updated:January 21 2026
huggingface.co

Total runs: 33.0K
Run Growth: 27.3K
Growth Rate: 82.81%
Updated:July 30 2025