A text-to-audio model for music, trained only on audio with a clean licence: Freesound clips released as CC0, and synthetic music rendered by our own procedural generators. It writes 48 kHz stereo, up to 16 s: drum loops, basslines, chords, melodies, pads, one-shots and full mixes, at the tempo, key and chords you ask for.
Speed. A 12 s clip at 50 steps takes:
fp32 (model.safetensors, 2.0 GB) |
fp16 (model.fp16.safetensors, 1.0 GB) |
|
|---|---|---|
| NVIDIA RTX PRO 6000 | 1.7 s | 0.4 s |
| Apple M1 Max (32 GB) | 6.7 s | 6.7 s |
The fp16 version (--half) needs about half the memory: generating a 12 s clip on the M1 Max peaked at 2.2 GB in fp16 against 4.1 GB in fp32. It is four times faster on an NVIDIA GPU, whose tensor cores do fp16 arithmetic at several times the fp32 rate. On the M1 Max it runs at the same speed as fp32 and only saves memory: its GPU does fp16 matrix multiplication at the same rate as fp32 (we measured 7.1 and 6.6 TFLOPS), and the diffusion transformer's time is mostly matrix multiplication. Loading the model adds about 10 s to each command-line run; the web UI loads it once.
A base for fine-tuning. mimetic-a0 is also intended as a base model for fine-tuning, and we will be releasing updates for this.
Version 0.1, an early release. Internally it is cc0-sampler v4, checkpoint "anneal 120k".
Run it: github.com/micknoise/mimetic-a0 has a command-line tool and a local web UI (generate, retake, repaint) for NVIDIA GPUs, Apple Silicon Macs and the CPU.
Unedited takes, 50 steps, CFG 6, one seed each.
| Prompt | Length | Audio |
|---|---|---|
boom bap drum loop, standard kit, swung, with ghost notes, 90 BPM, 4 bars |
10.67 s | |
house drum loop, dance kit, open hi-hats, 124 BPM, 4 bars |
7.74 s | |
jazz swing drum loop, brush kit, heavily swung, 120 BPM, 2 bars |
4 s | |
808 kit kick drum hit, one-shot, hard |
1 s | |
warm pad held chords, chords Dm7 - G7 - Cmaj7, soft, 80 BPM, C major, 4 bars |
12 s | |
analog mono lead synth melody, over Am - F - C - G, 110 BPM, A minor, 4 bars |
8.73 s | |
marimba arpeggio, chords C - Am - F - G, 120 BPM, C major, 2 bars |
4 s | |
single cello note, G3 |
3 s | |
grand piano chord, Cmaj7, block chord |
3 s | |
steel-string acoustic guitar chord, G, strummed |
3 s | |
full mix with standard kit, finger bass and electric piano, hip hop, chords Fm7 - Bbm7, 88 BPM, Ab major, 4 bars |
10.91 s | |
full mix with drum machine, synth bass and synth pad, house, Am7 chord, 124 BPM, root A, 4 bars |
7.74 s |
With the mimetic-a0 package:
git clone https://github.com/micknoise/mimetic-a0 && cd mimetic-a0 && uv sync
uv run mimetic-a0-webui # http://127.0.0.1:8799
uv run mimetic-a0 "finger bass bassline, over Cm - Fm - G7" --bpm 95 --bars 4 -n 4
With stock stable-audio-tools (commit 3241adb or later):
import torch, torchaudio
from stable_audio_tools import get_pretrained_model
from stable_audio_tools.inference.generation import generate_diffusion_cond
model, config = get_pretrained_model("micknoisemachine/mimetic-a0")
model = model.to("cuda").eval() # or "mps" on Apple Silicon
bpm, bars = 90, 4
seconds = bars * 240 / bpm
audio = generate_diffusion_cond(
model, steps=50, cfg_scale=6, sample_size=config["sample_size"], seed=1, device="cuda",
conditioning=[{"prompt": "boom bap drum loop, standard kit, swung, 90 BPM, 4 bars",
"seconds_start": 0, "seconds_total": seconds}],
)
audio = audio[0, :, : int(seconds * 48000)].float().cpu()
torchaudio.save("out.wav", audio / audio.abs().max() * 0.9, 48000)
It does not load in ComfyUI's Stable Audio nodes, which expect Stable Audio Open's autoencoder.
| File | |
|---|---|
model.safetensors |
the full model in fp32 (2.0 GB): diffusion transformer (EMA weights), conditioners and the autoencoder; no training state |
model.fp16.safetensors |
the same in fp16 (1.0 GB); a seed gives a slightly different take than in fp32 |
model_config.json |
stable-audio-tools model config |
PROMPTING.md |
the prompting guide |
examples/ |
the clips above |
LICENSE, NOTICE |
MIT; third-party credits |
The model learned almost everything it knows from captions written by its own data generators, so it follows that wording best. PROMPTING.md lists every instrument, style and clause it knows, with tested examples. In short, a prompt is what it is, then the music, then tempo, key and length, and the duration should match the bars (seconds = bars × 240 ÷ BPM):
hip hop drum loop, standard kit, swung, with ghost notes, 90 BPM, 4 bars
electric piano chords, chords Am7 - D9 - Gmaj7, smooth, sustained, 100 BPM, G major, 2 bars
grand piano chord, Cmaj7/E, rolled, first inversion, soft
single cello note, G3
seconds_start / seconds_total, with padding masks for clips shorter than the 16 s window.About the GeneralUser GS SoundFont: its author allows its use "without restriction for your own music creation, private or commercial". Its author also notes that the origin of some of its samples is uncertain, though none came from commercial packs. Most of the synthetic data rests on it.
About the CC0 tags: a CC0 tag is the uploader's claim. The review screened for song-like material (with CLAP and AcoustID fingerprints, which found no named commercial recordings) and for stated sources, but an unlabelled clip could still slip through.
The checks below compare the base checkpoint at 100k, where the anneal started, with our earlier model (cc0-sampler v2, 200k steps). They use held-out generator seeds for ground truth (tempo, pitch, chords, instruments) and 44 earlier prompts × 4 seeds for CLAP prompt match. The anneal (105k–120k) stayed within noise of 100k on every measure, with slightly cleaner takes.
| mimetic-a0 base (100k) | cc0-sampler v2 | |
|---|---|---|
| Tempo on beat prompts | 209/272 | 210/272 |
| Held-out tempo | 83% | 67% |
| Tempo from the BPM in the text | 88% | 68% |
| Pitch of single notes | 94% | 84% |
| Chords | 77% | 18% |
| Instrument identification | 41% | 38% |
| CLAP prompt match: beats / synth parts / instruments | 0.399 / 0.267 / 0.194 | 0.388 / 0.275 / 0.244 |
CLAP scores the GeneralUser GS instruments below real recordings, which pulls its instrument score down.
For making samples and parts for music: loops, one-shots, basslines, chords, melodies and sketches of full mixes.
MIT (LICENSE) for the weights, including the ACE-Step 1.5 VAE weights inside them, which are MIT-licensed by their authors. T5-base (Apache 2.0) is downloaded separately at run time. See NOTICE for credits.
model.safetensors 2.0 GBmodel.fp16.safetensors 1.0 GB