MusicGen

Аудио и музикаДостапно
од MetaID на модел: musicgen

Meta's music generation model. Generate up to 1 minute of music from text descriptions.

Цена
≈ 0,0529 US$/извршување
Времетраење
1 до 60 s
Влез → излез
Текст → Аудио
Развивач
Meta
Ажурирано
23 септември 2026 г.
01

Playground

Пробајте MusicGen

Влез и резултат

≈ 0,0529 US$/извршување
Пробајте MusicGen
Напредни поставки (1)
Резултат
Твојото аудио се појавува овде.

Овој тек

приблизно 0,0529 US$ · 5,29 кредити

0,1585 US$ (15,85 кредити) се резервирани на почетокот; вистинското GPU време се наплачува.

За сметки без претходна куповина: текови над 2 кредити бараат допунување.

Нов си овде?

10 бесплатни кредити (0,10 US$) кога ќе се регистрираш со Google

Употребливо 24 часа по регистрација, до 5 текови по ден и максимално 2 кредити по тек. Други методи на пријава почнуваат без кредити.

02

Examples

Real outputs from the public examples of this model on Replicate, with the prompt and settings that produced them. They were not generated live on this page.
  • Должина: 0:08

    Prompt

    Edo25 major g melodies that sound triumphant and cinematic. Leading up to a crescendo that resolves in a 9th harmonic

    Settings

    duration
    8
  • Должина: 0:33

    Prompt

    Edo25 major g melodies that sound triumphant and cinematic. Leading up to a crescendo that resolves in a 9th harmonic

    Settings

    duration
    33
  • Должина: 0:33

    Prompt

    Edo25 major g melodies that sound triumphant and cinematic. Leading up to a crescendo that resolves in a 9th harmonic

    Settings

    duration
    33

Примерни промпти

Примери од каталогот на Railwail. Тие не беа генерирани живо на оваа страница.

  • Lo-Fi Chill

    Должина: 0:30

    Lo-fi hip hop beat with warm vinyl crackle, mellow jazz piano chords, soft brushed drums, and a gentle bass line, perfect for studying and relaxation, 85 BPM
  • Epic Orchestral

    Должина: 0:20

    Cinematic orchestral piece building from a solo cello melody to a full symphonic crescendo with timpani, brass fanfare, and soaring strings, dramatic and emotional, suitable for a movie trailer
03

За MusicGen

НакраткоОд 23 септември 2026 г.

MusicGen е модел од Meta во категоријата Аудио и музика. На Railwail, MusicGen чини ≈ 0,0529 US$ по извршување. Можни должини: 1 до 60 s.

Позадина

За Meta AI (FAIR)

Основана 2013 · Menlo Park, California, USA

Meta AI is the research division of Meta Platforms, originally founded as Facebook AI Research (FAIR) in 2013 by Yann LeCun. FAIR has produced many influential open-source releases including PyTorch, RoBERTa, Wav2Vec 2.0, the LLaMA family, and the audio research stack AudioCraft. MusicGen was published by FAIR's audio team in June 2023 (Jade Copet, Felix Kreuk, Itai Gat, Tal Remez, David Kant, Gabriel Synnaeve, Yossi Adi, Alexandre Defossez) as part of AudioCraft, a unified library that also includes EnCodec and AudioGen. AudioCraft was released under the permissive CC-BY-NC and MIT licences and remains one of the most popular reference implementations for controllable music generation in academia.

Посетете Meta AI (FAIR)

Архитектура

Single-stage Transformer language model over EnCodec audio tokens (text-and-melody-conditioned)

MusicGen is a single-stage auto-regressive Transformer that generates music by predicting tokens from a 32 kHz EnCodec residual vector quantiser at 50 Hz with four codebooks. The model interleaves the codebook streams using a delay pattern so that a single Transformer can model all four codebooks jointly, avoiding the cascaded models used in prior work such as MusicLM. Conditioning is provided by frozen T5 text encoders for text prompts and optionally by a chromagram-conditioned encoder for melody control, which lets users hum or upload a reference melody. The model was trained on 20,000 hours of licensed music (10K high-quality internal Meta tracks plus ShutterStock and Pond5 licensed catalogues), exclusively instrumental. Output is 32 kHz stereo or mono with a maximum length of 30 seconds in the public checkpoint; longer pieces are produced by sliding-window continuation. AudioCraft also ships training and fine-tuning scripts.

Параметри
300M (small), 1.5B (medium), 3.3B (large), 3.3B (melody)
Контекст
30 токени

Способности

  • Text-to-music generation across many genres and moods
  • Melody conditioning via chroma features (hum or upload a tune)
  • Single-stage generation with no cascade of models (simpler than MusicLM)
  • Up to 30-second clips at 32 kHz, sliding window for longer pieces
  • Multiple sizes from 300M to 3.3B for laptops to data-centre GPUs
  • Fully open weights with reproducible training recipe
  • Best for: research on controllable music generation, indie composers, game soundtrack prototyping

Обука и лиценца

20,000 hours of licensed instrumental music: 10K hours from Meta's internal music dataset plus ShutterStock and Pond5 commercial libraries. All vocals were removed and the corpus is instrumental-only.

Лиценца: Code under MIT; pretrained weights under CC-BY-NC 4.0 (non-commercial). Commercial use requires separate licensing.

Тестирање на безбедност: Limited; Meta describes risk of generating music similar to training data and recommends watermarking. No formal red-team report.

Познати ограничувања

  • Instrumental only, no vocal generation
  • Non-commercial licence restricts production use
  • 30-second clip length without continuation
  • Difficulty with very specific instrument arrangements or named artists
  • No fine-grained per-bar control
04

Цени

Цени во американски долари. Употребата се наплаќува од подготвени кредити.
Типично извршување (≈ 31 s на A100 (80GB))0,0529 US$ по извршување
GPU време (A100 (80GB))0,00168 US$ по GPU секунда
  • Се наплаќува според GPU времето што извршувањето всушност го потребува. Кога извршувањето почнува, 3× типичната цена се резервира од вашиот салдо и се пресметува потоа.
  • 1 кредит = 0,01 US$

Калкулатор за трошоци

Калкулатор за цена

s

Типично според добавувачот: околу 31,4 s

Вкупно

5,29 US$

529 кредити

По извршување

0,0529 US$ · 5,29 кредити

Наплачено е вистинското GPU време; ова е проценка.

05

API

Повикајте го MusicGen со вашиот Railwail API клуч. Користете го овој ID на моделот во барањето:

Нема API крајна точка за оваа категорија сè уште

Моделите од оваа категорија моментално можат да се користат само во игралиштето.

06

Спецификации

ID на моделот
musicgen
Развивач
Meta
Категорија
Аудио и музика
Влез
Текст
Излез
Аудио
Формати на излез
MP3, WAV
Времетраење
1 до 60 s
Наплата
По употреба (токени или GPU време)
Големина на модел
300M (small), 1.5B (medium), 3.3B (large), 3.3B (melody)
Лиценца
Code under MIT; pretrained weights under CC-BY-NC 4.0 (non-commercial). Commercial use requires separate licensing.
Каталошка ставка ажурирана
23 септември 2026 г.

Параметри на влез

Влезови и поставки од шемата на влез на моделот. Примерот во делот API покажува кои од нив ги прифаќа API.

  • promptзадолжително
    Тип: Текст
    Стандардно: –
    Дозволени вредности: –
  • duration
    Тип: Број
    Стандардно: 8
    Дозволени вредности: 1 до 60
  • output_format
    Тип: Избор
    Стандардно: mp3
    Дозволени вредности: mp3 или wav

Ознаки

  • music
  • popular
07

Случаи на употреба

За што се користи

  • Research on autoregressive music language models
  • Indie game and short-film soundtrack prototyping
  • Melody-conditioned variations on a hummed tune
  • Academic benchmarks for controllable audio
  • Educational demos of audio tokenisation
08

Често поставувани прашања

Што е MusicGen?

MusicGen е модел од Meta во категоријата Аудио и музика.

Колку чини MusicGen на Railwail?

На Railwail, MusicGen чини ≈ 0,0529 US$ по извршување. Се наплаќува за она што секој барање всушност користи. Употребата се плаќа од подготвени кредити; 1 кредит е еднаков на 0,01 US$.

Кои поставки поддржува MusicGen?

Според неговата шема за влез, MusicGen ги познава овие параметри: prompt, duration (1 до 60) и output_format (mp3 или wav).

Колку брз е MusicGen?

Нема доволно измерени извршувања на MusicGen на Railwail за да се наведе време на извршување. Зависи од влезот, поставките и оптеретувањето кај добавувачот.

Дали MusicGen е подобар од MAGNeT?

Зависи од задачата. MusicGen (Meta) и MAGNeT (Community) се обата модели во категоријата Аудио и музика. Страницата за споредба ги покажува нивните цени и спецификации една до друга.

Спореди MusicGen и MAGNeT
09
  • MAGNeTCommunity

    MAGNeT is Meta's masked, non-autoregressive audio generator. Instead of predicting tokens left to right it fills masked audio tokens in parallel over a few decoding steps, so generation is faster than autoregressive MusicGen at similar quality. This Replicate packaging exposes the text-to-music and text-to-sound variants.

    ≈ 0,0030 US$/извршување

    94 % поевтино по единица

    Споредете MusicGen и MAGNeT
  • Stability AI's Stable Audio Open generates short audio from text prompts, tuned for sound effects, drum loops, instrument riffs and production elements rather than full songs. Open weights, latent diffusion over a 44.1kHz audio autoencoder, with a configurable seconds_total up to about 47 seconds.

    ≈ 0,0069 US$/извршување

    87 % поевтино по единица

    Споредете MusicGen и Stable Audio Open 1.0

Сите модели преку една API

Еден API клуч за секој модел на Railwail. Употребата се наплаќува од подготвени кредити, 1 кредит = 0,01 US$.