Skip to content

legends-stable-audio-3 v0.2.0

Latest

Choose a tag to compare

@avalonreset avalonreset released this 04 Dec 05:51

legends-stable-audio-3 v0.2.0 (2026-12-03)

Expanded Hugging Face Model Registry & Pricing Transparency

  • Expanded the pinned Hugging Face model registry in hf_download.py and legends-sa3 download-model (--list-models [--json]) to six allowlisted Stability AI repositories with live-verified 40-char commit SHAs and per-model license/size metadata: stable-audio-3-medium (medium), stable-audio-3-medium-base (medium-base), stable-audio-3-small-music (small-music), stable-audio-3-small-sfx (small-sfx), stable-audio-3-optimized (optimized), and stable-audio-open-small (open-small).
  • Added hosted Large pricing transparency across large plan, production-plan, large generate, and large result: surfaces both the live-verified 8-credit rate ($0.08, empirically confirmed on 2026-12-03 via live balance delta 341 -> 333 and Stability Docs MCP) and the conservative 26-credit ceiling ($0.26) with configurable --credits-per-job, billed-credit response header capture, and documented /v1/user/balance eventual-consistency and per-GET C2PA JUMBF re-signing notes.
  • Added machine-readable routes.json (legends.routes/v1) and documented Stability AI's optional read-only Docs MCP server (https://docs.stability.ai/mcp, ambient MCP off).

Dependency & LoRA Studio Upgrades

  • Widened huggingface_hub bounds to >=0.23,<3 (uv.lock pinned to huggingface-hub==2.5.0, pip-audit 0 vulnerabilities, 44 dependency licenses verified).
  • Updated audited dada-bots/underfit LoRA Studio pin to 3cb098f6b402940a09bf950c934d8b2a1e250f9f (DoRA row-norm bake-on-save and Stable Audio 3 Gradio --pretrained-name fix), with non-racy Windows LF index reset on lora-studio install --update, direct LF checks on install.sh / run.sh, clean CalledProcessError handling, and unborn-HEAD recovery.

Cross-Platform Security Hardening

  • Hardened resolve_executable() across all subprocess callers to prevent Windows CWD hijacking and .bat/.cmd/.vbs/.ps1 script shims while preserving Homebrew, WinGet, Scoop current junctions, cross-drive NTFS junctions, fnm/Nix, Linux usr-merge, and macOS /var/folders/....
  • Hardened _normalize_api_key() / _scrub_secret() header/error hygiene, pre- and post-download NTFS junction checks in hf_download.py, consistent ~ expansion + ./~ junction guards in reject_symlink_path(), fsynced write_json_atomic(), and strict .safetensors / binary/pickle/script exclusions (*.pickle, *.pyd, *.so.*, *.exe, *.py).

Verification

  • Multi-OS CI (CI run 47276603365 + Dependency Graph 47276607691): 131/131 tests passing across Ubuntu, Windows, and macOS (Python 3.11, 3.12, 3.13, 3.14), Ruff lint 0 issues, pip-audit 0 vulns, release_checks.py and verify_clean_install.py PASS.
  • Attached deterministic legends-stable-audio-3-0.2.0-bundle.tar.gz, legends_stable_audio_3-0.2.0-py3-none-any.whl, legends_stable_audio_3-0.2.0.tar.gz, and SHA256SUMS.txt.