MusicGen

אודיו ומוזיקהזמין
מאת Metaמזהה מודל: musicgen

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

מחיר
≈ ‏0.0529 ‏$/הרצה
משך
1 עד 60 s
קלט → פלט
טקסט → אודיו
מפתח
Meta
עודכן
23 בספטמבר 2026
01

Playground

נסה את MusicGen

קלט ותוצאה

≈ ‏0.0529 ‏$/הרצה
נסה את MusicGen
הגדרות מתקדמות (1)
תוצאה
האודיו שלך יופיע כאן.

הריצה הזו

בערך ‏0.0529 ‏$ · 5.29 קרדיטים

‏0.1585 ‏$ (15.85 קרדיטים) מסוכנים בתחילת הריצה; זמן ה-GPU בפועל יחויב.

לחשבונות ללא רכישה קודמת: ריצות מעל 2 קרדיטים דורשות טעינה.

חדש כאן?

10 קרדיטים חינם (‏0.10 ‏$) כשאתה נרשם עם 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.
  • Prompt

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

    Settings

    duration
    8
  • Prompt

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

    Settings

    duration
    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 ‏$ להרצה. אורכים אפשריים: 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 ‏$ להרצה
זמן GPU (A100 (80GB))‏0.00168 ‏$ לשנייה של GPU
  • חיוב לפי זמן ה-GPU שההרצה בעצם לוקחת. כשההרצה מתחילה, 3× המחיר הטיפוסי מוזמן מהיתרה שלך ומסולק לאחר מכן.
  • 1 קרדיט = ‏0.01 ‏$

מחשבון עלויות

מחשבון מחירים

s

טיפוסי לפי הספק: כ-31.4 שנ׳

סה״כ

‏5.29 ‏$

529 קרדיטים

לכל הרצה

‏0.0529 ‏$ · 5.29 קרדיטים

חיוב לפי זמן ה-GPU בפועל; זו הערכה.

05

API

קראו ל-MusicGen עם מפתח ה-API של Railwail שלכם. השתמשו ב-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 ‏$ להרצה. אתה משלם על מה שכל בקשה בעצם משתמשת. השימוש משולם מקרדיטים שנרכשו מראש; 1 קרדיט שווה ‏0.01 ‏$.

אילו הגדרות תומך 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 ‏$/הרצה

    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 ‏$/הרצה

    87 % זול יותר ליחידה

    השווה בין MusicGen ל-Stable Audio Open 1.0

כל המודלים דרך API אחד

מפתח API אחד לכל מודל ב-Railwail. השימוש מחויב מאשראי מראש, 1 אשראי = ‏0.01 ‏$.