@melite/models-music3 0.1.4-alpha → 0.1.5-pre-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,45 @@
1
+ ---
2
+ description: MiniMax Music 3 text-to-music — caption and lyrics conditioning over INT8 ConvRot weights, mp3 output under the run directory.
3
+ kind: package-library
4
+ ---
5
+
6
+ # music3
7
+
8
+ music3 registers the MiniMax Music 3 family (form `form_music`, label "MiniMax Music 3", genre `audio`, engine `comfyui`): text-to-music with lyrics. Weights: three INT8 ConvRot provisions from Comfy-Org/MiniMax-Music-3 — the DiT (`minimax_music3_dit_int8_convrot.safetensors`, about 2.5 GB), the pruned text encoder (about 9.2 GB), and the DAV VAE (about 0.22 GB). The `lane_inputs` pin `clip_type: minimax` and the three file names.
9
+
10
+ ## The compose action
11
+
12
+ `compose` builds: UNETLoader + CLIPLoader (type `minimax`) + VAELoader → MiniMaxMusic3TextEncode (caption + lyrics, `top_k` 50) → ConditioningZeroOut (the negative arm) → EmptyMiniMaxMusic3LatentAudio → KSampler (euler / simple) → VAEDecodeAudio → SaveAudioAdvanced (mp3, V0) under `<run>/music`.
13
+
14
+ Params: `prompt` (required — the caption), `lyrics`, `duration` [5, 360] seconds, `guidance_scale` [0.1, 10], `lm_cfg_scale` [0.1, 10], `n_diffusion_steps` [1, 200], `seed` (seed-sentinel rule).
15
+
16
+ ## Variants and recipes
17
+
18
+ One variant (`standard`, INT8 ConvRot cell, about 20 GB VRAM peak). Recipes: `short_sting` (duration 5), `full_length` (duration 360), and the no-op `default`.
19
+
20
+ ## Model Experience
21
+
22
+ ### Request context and condition
23
+
24
+ A run needs the caption; lyrics, duration, and both CFG scales ride defaults. Use `short_sting` or `full_length` to jump to the duration bounds, or state `duration` directly.
25
+
26
+ #### What the model sees
27
+
28
+ The caption and lyrics, the duration, both CFG scales, and the step count; the solver pair (euler / simple) is fixed by the build, not a param.
29
+
30
+ #### Token effect
31
+
32
+ Zero-direct: an engine graph, not a token stream.
33
+
34
+ #### KV Cache effect
35
+
36
+ Independent: each run is self-contained.
37
+
38
+ ## Known Limitations and Deferred Work
39
+
40
+ - **Fixed solver** — sampler and scheduler are hardcoded in the build; the params surface offers no solver override.
41
+ - **Lyrics optional by type only** — the DECL requires just the caption; lyric-less output quality is not verified against the running model.
42
+ - **Single quant** — one INT8 ConvRot tier; no bf16 cell is declared.
43
+ - **Provision weight** — roughly 12 GB of downloads before the first note.
44
+
45
+ Exports: the plugin root, `./package.json`.
package/lib/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import type { Plugin } from "@deepseek-ai/cordis";
2
- import type { ModelDecl } from "@melite/comfyui-cordis/model-contract";
2
+ import type { ModelDecl } from '@melite/comfyui-card-kit/model-contract';
3
3
  export declare const DECL: ModelDecl;
4
4
  export declare const family: Plugin;
5
5
  export { compose, parseMusicFacts, type MusicFacts, type MusicParams } from "./actions.js";
6
+ export { family as default };
6
7
  //# sourceMappingURL=index.d.ts.map
package/lib/index.js CHANGED
@@ -7,7 +7,7 @@ export const DECL = {
7
7
  "engine": "comfyui",
8
8
  "source": {
9
9
  "type": "huggingface",
10
- "repo_id": "audio-cpp/MiniMax-Music3-GGUF",
10
+ "repo_id": "Comfy-Org/MiniMax-Music-3",
11
11
  "note": ""
12
12
  },
13
13
  "genre": "audio",
@@ -19,9 +19,9 @@ export const DECL = {
19
19
  "route": "music3",
20
20
  "cells": [
21
21
  {
22
- "source": {
23
- "filename": "MiniMax-Music3-GGUF"
24
- },
22
+
23
+ // Comfy-Org safetensors the provisions rows carry, never a
24
+ // GGUF tree.
25
25
  "quant": "int8",
26
26
  "label": "INT8 ConvRot",
27
27
  "route": "music3",
@@ -118,6 +118,12 @@ export const DECL = {
118
118
  },
119
119
  ],
120
120
  },
121
+ // THE LANE SURFACE (the z-image precedent): exactly the knobs the
122
+ // music card serves.
123
+ "params": [
124
+ "prompt", "lyrics", "duration", "mode",
125
+ "guidance_scale", "n_diffusion_steps", "lm_cfg_scale", "seed",
126
+ ],
121
127
  // THE DECLARED ACTIONS (the atom vocabulary, stroke 3):
122
128
  // the compose action the music card binds (the MiniMax Music 3 lane).
123
129
  // The admission gate runs the facts parse at registration.
@@ -131,4 +137,9 @@ export const family = {
131
137
  },
132
138
  };
133
139
  export { compose, parseMusicFacts } from "./actions.js";
140
+ // The Loader-row face: DSH loads plugin rows by bare specifier and
141
+ // unwraps `exports.default ?? exports` (vendor/cordis_plugins/loader
142
+ // unwrapExports) — the default export IS the row-loadable plugin. The
143
+ // named `family` stays the library face (engine loadFamilies).
144
+ export { family as default };
134
145
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melite/models-music3",
3
- "version": "0.1.4-alpha",
3
+ "version": "0.1.5-pre-alpha",
4
4
  "license": "SSPL-1.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -11,8 +11,7 @@
11
11
  "./package.json": "./package.json"
12
12
  },
13
13
  "dependencies": {
14
- "@melite/comfyui-card-kit": "0.1.4-alpha",
15
- "@melite/comfyui-cordis": "0.1.4-alpha"
14
+ "@melite/comfyui-card-kit": "0.1.5-pre-alpha"
16
15
  },
17
16
  "devDependencies": {
18
17
  "@types/node": "^22.20.0",