Skip to content
← Models
Open weightsMeta (FAIR)/10 trustVerified
MAGNeT logo

MAGNeT

Text-to-music in a fraction of a second — up to 7x faster than autoregressive baselines

Visit official page →

About

MAGNeT (Masked Audio Generation using a Single Non-Autoregressive Transformer) is Meta FAIR's answer to slow audio generation. Instead of decoding token by token, one transformer predicts spans of masked audio tokens in parallel over a 32 kHz EnCodec tokenizer with 4 codebooks at 50 Hz, with an external rescoring step to clean up fidelity. It ships in 300M and 1.5B sizes with separate text-to-music and text-to-sound variants, trained on 16,000 hours of licensed music (an internal 10K-track set plus Shutterstock and Pond5 data). Code is MIT and weights are CC-BY-NC 4.0, so research and non-commercial use is fine but commercial products need another path. Generations are fixed 10- or 30-second clips, and the medium model wants a 16 GB GPU.

Specs

Context window

Text prompt input; fixed 10s or 30s generations depending on checkpoint

Pricing

Free — open weights (CC-BY-NC 4.0, non-commercial)

Free quota

N/A — self-hosted

API access

AudioCraft library and Hugging Face checkpoints (facebook/magnet-*); no hosted API

Weights

Open weights

Released

Not disclosed

Benchmarks

Team-reported: quality parity with baselines on Frechet Audio Distance at roughly 7x the generation speed (paper)

Provider-reported unless a source says otherwise. Benchmarks are marketing-adjacent by nature — treat them as directional.

Use cases

Real-time music prototypingGame audio generationSound design iterationInteractive audio applications

Trust score — 8/10

/10 trustVerified

Scored 8/10 (verified tier, metrics-v1). Evidence: Meta model card verified: trained Nov 2023–Jan 2024, weights CC-BY-NC 4.0, code MIT; 7x speed claim is team-reported from the paper — labeled as such; Exact public release day not verified — releasedAt null.

Sources