MAGNeT

Audio & musicAvailable
by CommunityModel ID: magnet

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.

Price
โ‰ˆ US$0.0030/run
Input โ†’ output
Text โ†’ Audio
Developer
Community
Updated
September 23, 2026
01

Playground

Try MAGNeT

Input & output

โ‰ˆ US$0.0030/run
Try MAGNeT

Text description of the music or sound to generate

Advanced settings (2)

Which MAGNeT checkpoint to run

Number of clips to sample

Output
Your audio appears here.

This run

about US$0.003 ยท 0.3 credits

US$0.009 (0.9 credits) are reserved at the start; the actual GPU time is billed.

New here?

10 free credits (US$0.10) when you sign up with Google

Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits. Enough for 11 runs of this model.

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.
03

About MAGNeT

TL;DRAs of September 23, 2026

MAGNeT is a model by Community in the Audio & music category. On Railwail, MAGNeT costs โ‰ˆ US$0.0030 per run.

MAGNeT (Masked Audio Generation using a single Non-autoregressive Transformer) comes from Meta's Audiocraft project. It predicts EnCodec tokens with iterative masked decoding rather than autoregressive sampling, cutting the number of forward passes needed per clip. The model input selects a checkpoint such as the small or medium music model or the sound-effects model, and variations and decoding-steps inputs trade speed for fidelity.
04

Pricing

Prices in US dollars. Usage is charged from prepaid credits.
Typical run (โ‰ˆ 3 s on L40S)US$0.0030 per run
GPU time (L40S)US$0.00117 per GPU second
  • Billed by the GPU time the run actually takes. When the run starts, 3ร— the typical price is reserved from your balance and settled afterwards.
  • 1 credit = US$0.01

Cost calculator

Price calculator

s

Typical according to the provider: about 2.6 s

Total

US$0.30

30 credits

Per run

US$0.003 ยท 0.3 credits

Billed by the actual GPU time; this is an estimate.

05

API

Call MAGNeT with your Railwail API key. Use this model ID in the request:

No API endpoint for this category yet

Models of this category can currently only be used in the playground.

06

Specifications

Model ID
magnet
Developer
Community
Input
Text
Output
Audio
Billing
By usage (tokens or GPU time)
Catalog entry updated
September 23, 2026

Input parameters

Inputs and settings from the model's input schema. The example in the API section shows which of them the API accepts.

  • model

    Which MAGNeT checkpoint to run

    Type: Text
    Default: facebook/magnet-medium-30secs
    Allowed values: โ€“
  • prompt

    Text description of the music or sound to generate

    Type: Text
    Default: โ€“
    Allowed values: โ€“
  • variations

    Number of clips to sample

    Type: Integer
    Default: 3
    Allowed values: โ€“

Tags

  • meta
  • magnet
  • non-autoregressive
  • masked-generation
  • text-to-music
  • audiocraft
07

Frequently asked questions

What is MAGNeT?

MAGNeT is a model by Community in the Audio & music category.

How much does MAGNeT cost on Railwail?

On Railwail, MAGNeT costs โ‰ˆ US$0.0030 per run. You are charged for what each request actually uses. Usage is paid from prepaid credits; 1 credit equals US$0.01.

Which settings does MAGNeT support?

According to its input schema, MAGNeT knows these parameters: model, prompt and variations.

How fast is MAGNeT?

There are not enough measured runs of MAGNeT on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.

Is MAGNeT better than MusicGen?

That depends on the task. MAGNeT (Community) and MusicGen (Meta) are both models in the Audio & music category. The comparison page shows their prices and specifications side by side.

Compare MAGNeT and MusicGen
08

Comparable models

All in this category
  • Meta's music generation model. Generate up to 1 minute of music from text descriptions.

    โ‰ˆ US$0.0529/run

    1,663 % more expensive per unit

    Compare MAGNeT vs. MusicGen
  • 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.

    โ‰ˆ US$0.0069/run

    130 % more expensive per unit

    Compare MAGNeT vs. Stable Audio Open 1.0

All models through one API

One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = US$0.01.