Model capabilities
Every model AbstractMusic knows is described by one MusicModelCapabilities object: the same shape
for remote APIs, local checkpoints and catalogue entries this package cannot run. It answers
questions such as "which models sing French lyrics for three minutes and let me set the key"
without reading prose, and the same description decides what happens to a request: a value the
model cannot honour is refused before generation, with an error that names the value and what the
model accepts.
This page explains the object, how to query it from the command line and from Python, how its evidence is labelled, and shows the generated capability matrix. Models describes each model in prose; API documents the classes; Troubleshooting lists the refusals you can meet and their fixes.
The object
abstractmusic.capabilities.MusicModelCapabilities is frozen and versioned (schema_version 1).
from_dict and to_dict are strict: every key is present in every block (null is allowed,
omission is not), and a block whose values contradict each other is refused with the path of the
offending value. Its groups:
| Group | What it says |
|---|---|
tasks |
The tasks the model performs (text_to_music, text_to_audio, lyrics_to_music, ...). |
inputs |
One cell each for prompt, lyrics, section_tags, vocal_language, negative_prompt, reference_audio, source_audio, video, composition_plan. |
content |
vocals and instrumental: supported, unsupported or null; how it is asked for; for vocals, the sung languages (ISO 639-1 codes). |
output |
Formats, sample rates, channels, maximum, minimum and default duration, and what the requested duration means (duration_semantics, per format when it differs). |
controls |
One cell each for seed, inference_steps, guidance_scale, tempo, key, time_signature, style_tags, negative_styles, structure, instrumental_switch, early_end, fade. |
limits |
Prompt and lyrics maximum, with the unit (characters or tokens) and what happens to a longer text (refused or truncated); sung words per second where measured. |
runtime |
local or remote; runtimes and devices; devices validated; download size; memory per mode with what it was measured on; compute seconds per audio second; what a seed reproduces; whether an API key is required and which variable holds it. |
licence |
Name, URL, commercial_use (allowed, conditional, not_allowed or null), conditions and licensed components. |
evidence |
For each group, what its values rest on (see Evidence). |
commercial_use reads: allowed, any user may use the model commercially (conditions are notices,
attribution or use restrictions); conditional, allowed only under conditions that exclude some
users or uses (a revenue threshold, a plan, a field of use); not_allowed, non-commercial only.
The older boolean commercial_allowed is kept as the restrictive projection: true only for
allowed.
The cell
Every input and every control has the same cell shape:
| Field | Meaning |
|---|---|
support |
How a request for it reaches the model (below). |
range |
[min, max] of accepted values. |
default |
The value used when the request gives none. |
values |
The established values (a list, or "any"). |
adherence |
How often it was followed when measured: a list of records, one per measured condition, each with a rate over n clips, read as metric (share_of_clips or median_word_recall), and a note. The first record is the default request and is the one the matrix shows. |
requires |
It is honoured only when the request also uses one of these capabilities. |
excludes |
A request that also uses one of these is refused. |
model_supports |
The provider documents that the model can do it (the note names the source). |
note |
Free text. |
The support values:
| Value | Meaning |
|---|---|
native |
A real model or API input. |
prompt |
Written into a text the model reads (its caption, or a lyrics marker). How closely the model follows it is a property of the model; see adherence. |
post |
Applied to the audio afterwards (a fade, for example). |
inherent |
The model always does this, so the request is met without being sent (MusicGen makes instrumentals only). |
unsupported |
The request is refused before generation. With model_supports: true it means "the model can, this package does not implement it" (the matrix shows not implemented here). |
null |
Not established: nothing in this repository's code, registry, documents or measurements says. The request is passed on and recorded as unknown; a query never counts it as a match. |
Querying from the command line
abstractmusic models lists the models this package can run, one row per model with every
capability column. By default it shows runnable models only; --all searches the whole catalogue
(planned, research, incompatible and retired entries included). Filters combine:
abstractmusic models --needs lyrics --language fr
abstractmusic models --needs lyrics --language fr --duration 240 --exact-duration
abstractmusic models --needs key --min-duration 180
abstractmusic models --needs tempo=140
abstractmusic models --commercial allowed
abstractmusic models --usable
abstractmusic models --engine minimax-music3 --json
--needs NAME[=VALUE](repeatable): the model takes this capability and, with a value, a request with that value is accepted (tempo=140,key="A minor",vocal_language=fr). Names: the inputs,vocals,instrumental, and the controls listed above.--language,--duration/--min-duration,--exact-duration,--fits-memory GB,--commercial allowed|conditional|not-allowed,--task,--format,--where local|remote,--device,--engine.--usablekeeps models usable on this machine now: runtime installed and weights in the Hugging Face cache (local), or an API key set (remote; nothing is probed, no network request).--jsonprints the full capability blocks;--markdownprints the matrix as a Markdown table.
The table goes to stdout and the scope line (showing: models this package can run (--all for the
whole catalogue)) to stderr. The first column of the first query above, as printed:
model
ACE-Step/acestep-v15-xl-turbo-diffusers
ACE-Step/acestep-v15-xl-base-diffusers
ACE-Step/acestep-v15-xl-sft-diffusers
MiniMaxAI/MiniMax-Music3
--needs tempo=140 also lists elevenlabs/music_v1: its tempo control is prompt (written into
the prompt), which counts as taking the value. --commercial allowed lists the three ACE-Step XL
checkpoints (MIT). An unknown capability name exits with status 2 and lists the known names;
a query that no model meets exits with status 1:
$ abstractmusic models --needs reference_audio
showing: models this package can run (--all for the whole catalogue)
No registry model meets every requirement (a value that is not established never does).
Querying from Python
from abstractmusic import MusicModelCapabilitiesRegistry
registry = MusicModelCapabilitiesRegistry()
# Runnable models that sing French lyrics for 3 minutes, with a key control.
for spec in registry.find_models(needs=("lyrics", "key"), language="fr", duration_s=180):
print(spec.id)
caps = registry.capabilities("MiniMaxAI/MiniMax-Music3")
tempo = caps.controls.tempo
print(tempo.support, tempo.range, tempo.adherence[0].rate, tempo.adherence[0].n)
print(caps.output.formats, caps.output.max_duration_s, caps.output.duration_semantics)
print(caps.licence.commercial_use)
Output:
ACE-Step/acestep-v15-xl-turbo-diffusers
ACE-Step/acestep-v15-xl-base-diffusers
ACE-Step/acestep-v15-xl-sft-diffusers
MiniMaxAI/MiniMax-Music3
prompt (20.0, 300.0) 0.1 20
('wav',) 360.0 exact
conditional
find_models(query=None, *, backend=None, runnable=None, include_unrunnable=False, **requirements)
takes a CapabilityQuery or its keywords: needs, language, duration_s (or
min_duration_s), task, format, location, device, commercial (True, False,
"allowed", "conditional", "not_allowed"), exact_duration, fits_memory_gb. It searches the
models this package can run; include_unrunnable=True searches the whole catalogue, and backend
keeps one backend kind. A value that is not established never matches.
registry.generic_capabilities("diffusers") describes what the generic Diffusers backend does with
a checkpoint the registry does not list.
Deciding a request
decide_request answers, for one model and one request, what MusicManager will do with it.
find_models uses the same function, so the query and the manager cannot disagree.
from abstractmusic import MusicModelCapabilitiesRegistry
registry = MusicModelCapabilitiesRegistry()
decision = registry.decide_request("facebook/musicgen-small", {"prompt": "calm piano", "lyrics": "hello"})
print(decision.verdict)
print(decision.refusals[0])
decision = registry.decide_request("MiniMaxAI/MiniMax-Music3", {"prompt": "folk ballad", "bpm": 96, "duration_s": 60})
print(decision.verdict, decision.notes)
Output:
refuse
facebook/musicgen-small has no lyrics input: lyrics would not be sung. Remove them, or choose a model that sings lyrics (abstractmusic models --needs lyrics).
accept (('tempo_request_is_a_hint', 'MiniMaxAI/MiniMax-Music3 treats a tempo request as a hint: in measurements it was followed on 10% of 20 clips. If it matters, generate several seeds and keep the one that fits.'),)
RequestDecision has verdict (accept, refuse or unknown), refusals (the manager raises
the first one), unknowns (features passed to the backend whose effect is not established) and
notes ((code, message) pairs the manager emits as warnings, for example for a control the
model follows loosely: measured adherence below 50%). The request is a mapping of request keys
(prompt, lyrics, vocal_language, instrumental, format, duration_s, seed,
num_inference_steps, guidance_scale, bpm, keyscale, timesignature, positive_styles,
negative_styles, allow_early_end, fade_out_s, task, ...);
abstractmusic.capabilities.request_features(request) builds it from an AudioGenerationRequest.
The function form is abstractmusic.capabilities.decide_request(caps, request, *, planned=False,
own_notes=(), model_id=None).
The rules, in the order the manager applies them: the task; an instrumental request; every input
the request uses (unsupported: refused; not established: unknown; a broken requires or
excludes relation: refused); the format; the sample rate; the duration (positive and within the
model's minimum and maximum); every control value (unsupported or out of range: refused); negative
styles (only through planning). A value that is not established is never refused.
Evidence
Each group of a block carries what its values rest on, one or more of:
| Label | Meaning |
|---|---|
measured |
A recorded measurement on real weights in this repository. The group carries it: an adherence record, a measured_on text, validated devices. |
documented |
A document: this repository's docs, or a provider document (the licence group needs its URL). |
code |
This repository's code does it (for example a refusal, a cut to the requested length, a fade). |
not_established |
Nothing in the group is established: every value is null. |
Measurements name the hardware they were taken on (memory_measured_on, speed_measured_on).
Lyric recall is measured with speech recognition, which under-counts sung words: recall figures are
lower bounds.
Through AbstractCore
The AbstractCore plugin attaches the block to discovery results: every model record carries
capabilities and metadata.capabilities, and every provider record carries
metadata.capabilities as a map of model id to block. AbstractCore keeps it as plain data in a
model's raw_metadata.
Capability matrix
The matrix below is generated from the registry (registry.capability_matrix(fmt="markdown"),
or abstractmusic models --markdown) and lists the models this package can run. Cells: native,
prompt, post, inherent, no (unsupported), not implemented here (the model can, this
package does not implement it), ? (not established). A measured adherence follows the cell as
(rate of n) or (median recall r, n=k). memory_gb is the range of measured peaks; - means a
remote model. The evidence column lists the labels of each group.
| model | where | tasks | lyrics | vocals | instrumental | languages | max_s | duration | rate_hz | formats | seed | inference_steps | guidance_scale | tempo | key | time_signature | style_tags | negative_styles | structure | instrumental_switch | early_end | fade | negative_prompt | reference_audio | source_audio | memory_gb | licence | commercial | evidence |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ACE-Step/acestep-v15-xl-turbo-diffusers | local | text_to_music | native | yes | ? | en,zh,ja,ko,fr,de,es,it,pt,ru | 600 | exact | 48000 | wav | native | native | no | native | native | native | no | no | ? | prompt | no | no | no | not implemented here | not implemented here | ? | MIT | yes | tasks=code; inputs=code+documented; content=code+documented; output=code+documented; controls=code+documented; limits=code+documented; runtime=code+measured+documented; licence=documented |
| elevenlabs/music_v1 | remote | text_to_music | native | yes | yes | en,es,de,ja | 600 | ? | 22050,24000,44100,48000 | mp3 | native | no | no | prompt | prompt | prompt | no | native | native | native | no | no | native | no | not implemented here | - | ElevenLabs Music Terms | conditional | tasks=code; inputs=code+documented; content=documented; output=code+documented; controls=code+documented; limits=code+documented; runtime=code+documented; licence=documented |
| AbstractFramework/minimax-music3-4bit | local | text_to_music | native (median recall 55%, n=28) | yes | yes | en,zh,es,fr,ja | 360 | exact | 44100 | wav | native | native | native | prompt (10% of 20) | prompt (75% of 8) | prompt | prompt | no | native | native (50% of 14) | native | post | no | no | no | 9.7-17.8 | MiniMax-Music3 Community License | conditional | tasks=code; inputs=code+measured; content=code+documented; output=code; controls=code+measured; limits=code+measured; runtime=code+measured; licence=documented |
| AbstractFramework/minimax-music3-8bit | local | text_to_music | native (median recall 55%, n=28) | yes | yes | en,zh,es,fr,ja | 360 | exact | 44100 | wav | native | native | native | prompt (10% of 20) | prompt (75% of 8) | prompt | prompt | no | native | native (50% of 14) | native | post | no | no | no | 10.2-20.9 | MiniMax-Music3 Community License | conditional | tasks=code; inputs=code+measured; content=code+documented; output=code; controls=code+measured; limits=code+measured; runtime=code+measured; licence=documented |
| ACE-Step/acestep-v15-xl-base-diffusers | local | text_to_music | native | yes | ? | en,zh,ja,ko,fr,de,es,it,pt,ru | 600 | exact | 48000 | wav | native | native | native | native | native | native | no | no | ? | prompt | no | no | no | not implemented here | not implemented here | ? | MIT | yes | tasks=code; inputs=code+documented; content=code+documented; output=code+documented; controls=code+documented; limits=code+documented; runtime=code+measured+documented; licence=documented |
| ACE-Step/acestep-v15-xl-sft-diffusers | local | text_to_music | native | yes | ? | en,zh,ja,ko,fr,de,es,it,pt,ru | 600 | exact | 48000 | wav | native | native | native | native | native | native | no | no | ? | prompt | no | no | no | not implemented here | not implemented here | ? | MIT | yes | tasks=code; inputs=code+documented; content=code+documented; output=code+documented; controls=code+documented; limits=code+documented; runtime=code+measured+documented; licence=documented |
| facebook/musicgen-small | local | text_to_music | no | no | yes | no | 30 | exact | 32000 | wav | native | no | native | no | no | no | no | no | no | inherent | no | no | no | no | not implemented here | ? | CC-BY-NC-4.0 | no | tasks=code; inputs=code+documented; content=documented; output=code+documented; controls=code; limits=code+documented; runtime=code+documented; licence=documented |
| MiniMaxAI/MiniMax-Music3 | local | text_to_music | native (median recall 55%, n=28) | yes | yes | en,zh,es,fr,ja | 360 | exact | 44100 | wav | native | native | native | prompt (10% of 20) | prompt (75% of 8) | prompt | prompt | no | native | native (50% of 14) | native | post | no | no | no | 17.5-51 | MiniMax-Music3 Community License | conditional | tasks=code; inputs=code+measured; content=code+documented; output=code; controls=code+measured; limits=code+measured; runtime=code+measured; licence=documented |
| stabilityai/stable-audio-3-medium | local | text_to_audio,text_to_music | no | no | yes | no | 380 | exact | 44100 | wav | native | native | native | not implemented here | no | no | no | no | no | no | no | no | no | no | not implemented here | 5.07-6.52 | Stability AI Community License | conditional | tasks=code; inputs=code+documented; content=documented; output=code+documented; controls=code+documented; limits=code; runtime=code+documented; licence=documented |
| stabilityai/stable-audio-3-small-music | local | text_to_audio,text_to_music | no | no | yes | no | 120 | exact | 44100 | wav | native | native | native | not implemented here | no | no | no | no | no | no | no | no | no | no | not implemented here | 1.69-2.4 | Stability AI Community License | conditional | tasks=code; inputs=code+documented; content=documented; output=code+documented; controls=code+documented; limits=code; runtime=code+documented; licence=documented |
| stabilityai/stable-audio-3-small-sfx | local | text_to_audio | no | no | no | no | 120 | exact | 44100 | wav | native | native | native | no | no | no | no | no | no | no | no | no | no | no | not implemented here | 1.69-2.4 | Stability AI Community License | conditional | tasks=code; inputs=code+documented; content=documented; output=code+documented; controls=code+documented; limits=code; runtime=code+documented; licence=documented |
| stabilityai/stable-audio-open-small | local | text_to_audio | no | no | ? | no | 11 | exact | 44100 | wav | native | native | native | not implemented here | no | no | no | no | no | no | no | no | no | no | no | ? | Stability AI Community License | conditional | tasks=code; inputs=code; content=documented; output=code+documented; controls=code+documented; limits=code; runtime=code+documented; licence=documented |