FAQ

Why is there no default engine?

Because every model does different things, and a command that silently ran one you did not choose would also silently decide what happens to your lyrics, duration and format. Name an engine with --backend, or a model with --model-id (its engine is then used). abstractmusic models lists what each model can do, and the error you get without an engine lists the engines usable on your machine with an example command.

Why does a command that used to run now fail?

Because AbstractMusic no longer drops, replaces or cuts what you ask for. A value a model cannot honour (lyrics to a model that does not sing, a tempo to a model without a tempo control, a format it does not write, a duration beyond its maximum, an option the engine does not read) is refused before anything loads or is sent, with an error that names the value and what is accepted. The changelog lists every such change with what to write instead; Troubleshooting gives the fixes.

Do environment variables still configure AbstractMusic?

Only credentials: ELEVENLABS_API_KEY, ACEMUSIC_API_KEY, and the Hugging Face token variables. Every setting is a CLI flag, a Python argument or an AbstractCore host config key. A configuration variable from an earlier version changes nothing and never makes a command fail; the CLI names it once on stderr with the flag to use.

Does the fast test suite prove real music generation works?

No. The unit tests validate the request rules, the capability decisions and the tensor plumbing with stand-in pipelines, real checkpoint headers or small random checkpoints. Real-model checks are opt-in because checkpoints are large (see Release process).

Which backend sings lyrics locally?

minimax-music3. It generates songs with sung vocals in several languages, or instrumentals, up to 6 minutes, from lyrics and a music description, on Apple silicon (MLX or PyTorch MPS) or the CPU; its NVIDIA CUDA path is implemented and has not been run yet. ACE-Step (acestep) also sings lyrics. abstractmusic models --needs lyrics lists every model that does. See MiniMax-Music3.

Why does MiniMax-Music3 take minutes per song?

It is a large two-stage model: an 8.6B language model writes the song frame by frame (25 frames per second of audio), then a flow-matching transformer renders the audio. On an Apple M5 Max a 30 s song takes 151 to 188 s with MLX and 247 to 287 s with PyTorch MPS; the CPU path is much slower (about 32 minutes for 30 s, extrapolated from a measured 8 s run). Timings for NVIDIA GPUs are not published for this release. See measured performance.

Can I use MiniMax-Music3 commercially?

Its licence, the MiniMax-Music3 Community License, permits commercial use under conditions: a commercial product must display "MiniMax-Music3" in its user interface; above USD 20 million yearly revenue you need a separate authorization from MiniMax; hosted services that let others generate must implement safeguards; the acceptable-use policy, notice retention and indemnification apply. The LICENSE file is the authority. Its capability block records commercial_use: conditional and lists the conditions; the flat commercial_allowed is false because not every user may use it commercially without a separate agreement.

How long is a MiniMax-Music3 song?

The file is as long as you ask: --duration 180 (Python: duration_s=180) returns 180 s. Lyrics of roughly 1.5 to 2.5 sung words per second fill that length with singing. With fewer sung words than seconds, the backend wraps your unchanged lyrics in instrumental sections sized to the duration, so the music continues to the end (structure fill, on by default, when the lyrics leave room for an intro and an outro); if the model still ends the song more than 2 s early, the rest is faded to silence and a note says so. The added sections do not stretch a few lines indefinitely: three lines carried about 135 to 150 s of music in measurements, so a full 180 s of music needs more lyrics. The CLI prints a NOTE: line before generating when the lyrics are short for the duration. See Short lyrics and the end of the song.

To let the model end the song where it decides the song is over, pass --allow-early-end (Python: allow_early_end=True). The result can then be shorter than the duration; ended_by_end_token in the metadata (and on the CLI run line) says whether that happened.

Does MiniMax-Music3 follow the tempo and key I ask for?

The key mostly, the tempo no. Through --keyscale the key was exact on 6 of 8 measured clips (a related key on the other 2); written only as words in a one-sentence description it was exact on 0 of 6. Through --bpm the tempo was within 5% of the request on 2 of 20 clips and within 10% on 5 of 20: tempo requests are not followed, and the backend says so in a note when you request one. When the tempo matters, generate several seeds on short clips (a longer request with the same seed starts with the same music) and render the one that fits at full length. See How closely requests are followed.

Which model should I use?

The one whose capabilities match your request: abstractmusic models --needs ... answers it. As a starting point, ElevenLabs Music (--backend elevenlabs, paid API) needs no local runtime; ACE-Step XL Turbo (--backend acestep) is the recommended local model for music with or without lyrics; MiniMax-Music3 (--backend minimax-music3) sings full songs up to 6 minutes; Stable Audio 3 Small SFX (--model-id stabilityai/stable-audio-3-small-sfx) makes sound effects.

Can I still use the hosted ACE Music API?

No. api.acemusic.ai has retired the API the acemusic backend speaks (it answers HTTP 410), and the backend raises AceMusicEndpointRetiredError there. The backend works with a self-hosted ACE-Step API server (--acemusic-base-url). The hosted service's newer task API is not implemented in this version.

What happens when ElevenLabs removes music_v1?

ElevenLabs has deprecated music_v1 and will remove it on 2027-01-31 (replacement music_v2_5). Results from music_v1 carry a deprecation entry with the date and replacement. music_v2_5 is not yet supported by this package.

Does AbstractMusic use Suno, OpenAI, or Anthropic by default?

No. OpenAI exposes speech/audio APIs but not a text-to-music endpoint suited to this backend. Anthropic does not expose music generation. Suno has a consumer music product, but the public API surface found during review is third-party or unofficial, so it is not a default backend. A Suno adapter can be added later if there is an official, stable, documented API contract.

Does the ElevenLabs backend include voice?

No. AbstractMusic calls only ElevenLabs Music endpoints. Voice, text-to-speech, speech-to-speech, and voice cloning belong in AbstractVoice.

How do I specify instruments or vocalist traits?

Write them in the prompt (for example: "jazz with saxophone and brushed drums"). With planning on (the CLI default), style tags are written into the prompt too:

  • CLI: --style "saxophone, brushed drums, female vocalist"
  • REPL: /style saxophone, brushed drums, female vocalist

This nudges the model, but it is not a guaranteed identity selector (no voice cloning here).

Can HeartMuLa generate music?

Yes. The HeartMuLa model card describes it as a text-to-audio/music model, and the official HeartMuLa repo documents lyrics and tag conditioned generation with HeartCodec. It is Apache-2.0 licensed, but it is a heavy optional provider candidate rather than a base dependency.

Why not make Omni2Sound a default provider?

Omni2Sound is CC BY-NC 4.0, very large, CUDA/script-oriented, and focused on video/text-to-audio and foley-style generation. It should not be selected silently for commercial-capable music generation.

How does AbstractMusic decide which providers are available?

By checking what can run right now, without loading a model. A local provider is available when its runtime extra is installed and at least one of its models already has weights in the Hugging Face cache. A remote provider is available when an API key is configured and its endpoint answers a probe with a success status (a retired endpoint, a missing one or a rate limit is not available); all remote providers are probed in parallel under a 5-second deadline.

available_providers(...) therefore lists only what you can generate with immediately. To see the full picture, including providers you could enable and models you could download, use provider_details(...), which reports every provider with a usable flag and the reason it is not. On the command line, abstractmusic models --usable answers the same question for this machine without any network request (a remote engine counts when its key is set), and abstractmusic models --all lists the whole catalogue.

When does AbstractMusic rewrite my prompt?

Only when you opt in. Your prompt passes through unchanged unless you request enhancement (--enhance-prompt) or enable a feature that needs a caption: long-form structure maps (durations of 45 seconds or more, on by default) or --auto-lyrics. For checkpoints the registry marks caption_sensitive (the ACE-Step XL sft/base variants), feature captions stay compact — your prompt plus the section map, no template prose — because long template captions degraded those checkpoints in validation. The planner records what it did in provenance warnings, printed to stderr and stored in generation metadata; --print-plan shows the exact text sent to the model.

For minimax-music3, the prompt reaches the model as written at every duration (no section map is added). Without --enhance-prompt, a text planner changes nothing except to write lyrics you asked for with --auto-lyrics. With it, your prompt is kept verbatim at the start of the model's structured caption and the planner's descriptive wording follows; the backend discards that wording when it recognises a tempo, key, time signature or language you did not give, or a contradiction with your lyrics, but other wording can still imply such things. The exact caption sent is in the metadata (caption, caption_planner_enhanced) and the --metadata-out file: check it when exact control matters, or leave enhancement off. Explicit --bpm, --keyscale, --timesignature, --style and --vocal-language values are always written into the description, unless the prompt already states the same value in a recognised form such as 92 bpm or in the key of A minor; a NOTE: names any disagreement between such a statement and an option.

Does AbstractMusic use 8-bit models?

When official 8-bit model artifacts exist, they are preferred; otherwise the smallest official 16-bit path. The registry records whether a reviewed model has an official 8-bit source. MiniMax-Music3 has none; its MLX runtime can optionally load the language model with 8-bit weights (lm_bits=8), which lowered peak memory from 29.0 GB to 22.5 GB and time from 111 s to 92 s for a 20 s song on an Apple M5 Max.