meta / musicgen

Generate music from a prompt or melody

replicate.com
Total runs: 2.4M
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Github
Model's Last Updated: March 28 2024

Introduction of musicgen

Model Details of musicgen

Readme

Model Description

MusicGen is a simple and controllable model for music generation . This deployment exposes two versions of MusicGen:

  • Melody. A 1.5 billion parameter model that you can prompt with both text and audio
  • Large. A 3.5 billion parameter model that you can prompt with text

You can specify the model you want to use via the model_version parameter, which is set to 'melody' by default.

To learn more about this model, check out the repository and paper

Model Architecture and Development

MusicGen is single stage auto-regressive Transformer model trained over a 32kHz EnCodec tokenizer with 4 codebooks sampled at 50 Hz. Unlike existing methods like MusicLM , MusicGen doesn’t require a self-supervised semantic representation, and it generates all 4 codebooks in one pass. By introducing a small delay between the codebooks, the authors show they can predict them in parallel, thus having only 50 auto-regressive steps per second of audio. They used 20K hours of licensed music to train MusicGen. Specifically, they relied on an internal dataset of 10K high-quality music tracks, and on the ShutterStock and Pond5 music data.

Licenses

  • All code in this repository is licensed under the Apache License 2.0 license.
  • The code in the Audiocraft repository is released under the MIT license as found in the LICENSE file .
  • The weights in the Audiocraft repository are released under the CC-BY-NC 4.0 license as found in the LICENSE_weights file .

Pricing of musicgen replicate.com

Run time and cost

This model costs approximately $0.030 to run on Replicate, or 33 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker .

This model runs on Nvidia A100 (80GB) GPU hardware . Predictions typically complete within 22 seconds. The predict time for this model varies significantly based on the inputs.

Runs of meta musicgen on replicate.com

2.4M
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About musicgen replicate.com Model

musicgen replicate.com

musicgen replicate.com is an AI model on replicate.com that provides musicgen's model effect (Generate music from a prompt or melody), which can be used instantly with this meta musicgen model. replicate.com supports a free trial of the musicgen model, and also provides paid use of the musicgen. Support call musicgen model through api, including Node.js, Python, http.

musicgen replicate.com Url

https://replicate.com/meta/musicgen

meta musicgen online free

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

meta musicgen online free url in replicate.com:

https://replicate.com/meta/musicgen

musicgen install

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

musicgen install url in replicate.com:

https://replicate.com/meta/musicgen

musicgen install url in github:

https://github.com/replicate/cog-musicgen

Url of musicgen

Provider of musicgen replicate.com

Other API from meta

replicate

An 8 billion parameter language model from Meta, fine tuned for chat completions

Total runs: 353.0M
Run Growth: 0
Growth Rate: 0.00%
Updated:April 18 2024
replicate

A 70 billion parameter language model from Meta, fine tuned for chat completions

Total runs: 149.0M
Run Growth: 0
Growth Rate: 0.00%
Updated:April 18 2024
replicate

Base version of Llama 3, an 8 billion parameter language model from Meta.

Total runs: 50.8M
Run Growth: 0
Growth Rate: 0.00%
Updated:April 18 2024
replicate

A 7 billion parameter language model from Meta, fine tuned for chat completions

Total runs: 17.5M
Run Growth: 0
Growth Rate: 0.00%
Updated:November 02 2023
replicate

A 70 billion parameter language model from Meta, fine tuned for chat completions

Total runs: 9.2M
Run Growth: 0
Growth Rate: 0.00%
Updated:September 13 2023
replicate

Meta's flagship 405 billion parameter language model, fine-tuned for chat completions

Total runs: 5.2M
Run Growth: 0
Growth Rate: 0.00%
Updated:July 23 2024
replicate

A 13 billion parameter language model from Meta, fine tuned for chat completions

Total runs: 4.8M
Run Growth: 0
Growth Rate: 0.00%
Updated:September 13 2023
replicate

Base version of Llama 3, a 70 billion parameter language model from Meta.

Total runs: 825.5K
Run Growth: 0
Growth Rate: 0.00%
Updated:April 18 2024
replicate

A llama-3 based moderation and safeguarding language model

Total runs: 733.3K
Run Growth: 0
Growth Rate: 0.00%
Updated:May 08 2024
replicate

Base version of Llama 2 7B, a 7 billion parameter language model

Total runs: 651.1K
Run Growth: 0
Growth Rate: 0.00%
Updated:September 13 2023
replicate

Base version of Llama 2, a 70 billion parameter language model from Meta.

Total runs: 351.9K
Run Growth: 0
Growth Rate: 0.00%
Updated:September 13 2023
replicate

Base version of Llama 2 13B, a 13 billion parameter language model

Total runs: 201.7K
Run Growth: 0
Growth Rate: 0.00%
Updated:September 13 2023
replicate

A 34 billion parameter Llama tuned for coding and conversation

Total runs: 154.7K
Run Growth: 0
Growth Rate: 0.00%
Updated:January 09 2024
replicate

A 13 billion parameter Llama tuned for code completion

Total runs: 112.4K
Run Growth: 0
Growth Rate: 0.00%
Updated:September 29 2023
replicate

A 7 billion parameter Llama tuned for coding and conversation

Total runs: 65.1K
Run Growth: 0
Growth Rate: 0.00%
Updated:January 09 2024
replicate

A 13 billion parameter Llama tuned for coding and conversation

Total runs: 46.8K
Run Growth: 0
Growth Rate: 0.00%
Updated:September 07 2023
replicate

A Llama-3.1-8B pretrained model, fine-tuned for content safety classification

Total runs: 31.1K
Run Growth: 0
Growth Rate: 0.00%
Updated:December 21 2024
replicate

Detects any class given class names

Total runs: 27.6K
Run Growth: 0
Growth Rate: 0.00%
Updated:September 29 2022
replicate

Instance-Conditioned GAN

Total runs: 26.7K
Run Growth: 0
Growth Rate: 0.00%
Updated:September 25 2021
replicate

A 70 billion parameter Llama tuned for coding and conversation

Total runs: 21.9K
Run Growth: 0
Growth Rate: 0.00%
Updated:January 31 2024
replicate

A 7 billion parameter Llama tuned for coding and conversation

Total runs: 15.4K
Run Growth: 0
Growth Rate: 0.00%
Updated:September 07 2023
replicate

SAM 2: Segment Anything v2 (for Images)

Total runs: 11.5K
Run Growth: 0
Growth Rate: 0.00%
Updated:July 31 2024
replicate

A 17 billion parameter model with 128 experts

Total runs: 11.2K
Run Growth: 0
Growth Rate: 0.00%
Updated:April 06 2025
replicate

A 34 billion parameter Llama tuned for coding and conversation

Total runs: 10.0K
Run Growth: 0
Growth Rate: 0.00%
Updated:August 26 2023
replicate

A 34 billion parameter Llama tuned for coding with Python

Total runs: 6.5K
Run Growth: 0
Growth Rate: 0.00%
Updated:September 29 2023
replicate

A 13 billion parameter Llama tuned for coding with Python

Total runs: 3.9K
Run Growth: 0
Growth Rate: 0.00%
Updated:September 07 2023
replicate

A 7 billion parameter Llama tuned for coding with Python

Total runs: 3.8K
Run Growth: 0
Growth Rate: 0.00%
Updated:September 07 2023
replicate

SAM 2: Segment Anything v2 (for videos)

Total runs: 2.6K
Run Growth: 0
Growth Rate: 0.00%
Updated:August 14 2024
replicate

Cut and Learn for unsupervised object detection and instance segmentation

Total runs: 2.3K
Run Growth: 0
Growth Rate: 0.00%
Updated:February 06 2023
replicate

A 70 billion parameter Llama tuned for coding with Python

Total runs: 1.1K
Run Growth: 0
Growth Rate: 0.00%
Updated:January 30 2024
replicate

Masked-attention Mask Transformer for Universal Image Segmentation

Total runs: 658
Run Growth: 0
Growth Rate: 0.00%
Updated:February 21 2022
replicate

Supervised Weakly from hashtAGs

Total runs: 294
Run Growth: 0
Growth Rate: 0.00%
Updated:January 23 2022
replicate

A Single Model for Many Visual Modalities

Total runs: 247
Run Growth: 0
Growth Rate: 0.00%
Updated:January 30 2022
replicate

A Llama-3.2-11B pretrained model, fine-tuned for content safety classification

Total runs: 153
Run Growth: 0
Growth Rate: 0.00%
Updated:December 24 2024
replicate

A 7B parameter Llama 2-based input-output safeguard model

Total runs: 19
Run Growth: 0
Growth Rate: 0.00%
Updated:December 21 2024
replicate

A 17 billion parameter model with 16 experts

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 06 2025