Skip to main content

genblaze-stability-audio

Stability AI Stable Audio music + ambient sound provider adapter for genblaze — AI music generation pipelines with SHA-256 provenance manifests on every track.

genblaze-stability-audio wraps Stability AI's Stable Audio 2.5 API as a genblaze provider — up to 3 minutes of 44.1 kHz stereo music, soundtrack, or ambient audio generated from a text prompt. Compose into multi-step AI pipelines (e.g. TTS narration + Stable Audio soundtrack → AV composite), persist outputs to Backblaze B2 or any S3-compatible store, and emit a tamper-evident provenance manifest for every run.

Why genblaze-stability-audio

  • Stable Audio 2.5 — up to 3 minutes, 44.1 kHz stereo, text-to-music / text-to-ambient.
  • Provenance by default — SHA-256-verified manifest with prompt, model, duration, and timestamps.
  • Composable — chain with TTS providers and FFmpegCompositor for narration + soundtrack AV composites.
  • Production-ready — retries, timeouts, step caching, moderation hooks.
  • Durable storage — plug genblaze-s3 in for Backblaze B2 / AWS S3 / R2 / MinIO persistence.

Models

Model Notes
stable-audio-2.5 Up to 3 minutes of music/ambient audio at 44.1 kHz stereo

Install

pip install genblaze-stability-audio

Registers the stability-audio provider via entry points; genblaze-core discovers it automatically.

Quickstart — text-to-music

pip install genblaze-core genblaze-stability-audio
export STABILITY_API_KEY="..."
from genblaze_core import Modality, Pipeline
from genblaze_stability_audio import StabilityAudioProvider

run, manifest = (
    Pipeline("soundtrack")
    .step(StabilityAudioProvider(output_dir="output/music"),
          model="stable-audio-2.5",
          prompt="Upbeat lo-fi hip hop beat with warm piano chords and vinyl crackle",
          modality=Modality.AUDIO, duration=30, output_format="mp3")
    .run(timeout=120)
)
print(run.steps[0].assets[0].url, manifest.canonical_hash)

Persist to Backblaze B2

from genblaze_core import KeyStrategy, ObjectStorageSink
from genblaze_s3 import S3StorageBackend

storage = ObjectStorageSink(
    S3StorageBackend.for_backblaze("my-bucket"),
    key_strategy=KeyStrategy.HIERARCHICAL,
)
# pass sink=storage to .run(…)

Backblaze B2 is the recommended default sink for AI-generated audio — cost-efficient, S3-compatible.

Credentials

Env var Where to get it
STABILITY_API_KEY https://platform.stability.ai/account/keys

Documentation

License

MIT

Metadata

Release files for genblaze-stability-audio 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genblaze-stability-audio 0.3.4
File Size Uploaded Provenance Actions
genblaze_stability_audio-0.3.4.tar.gz 9.1 kB With provenance Details for genblaze_stability_audio-0.3.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for genblaze-stability-audio 0.3.4
File Interpreter ABI Platform Actions
genblaze_stability_audio-0.3.4-py3-none-any.whl Python 3 none any Details for genblaze_stability_audio-0.3.4-py3-none-any.whl

Total release size: 17.3 kB

Release files / genblaze_stability_audio-0.3.4.tar.gz

Download URL genblaze_stability_audio-0.3.4.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
35508b27b1c8e35f3f64f24a124aa2fa947897d6961ad48c7cd6decb2656e389
BLAKE2b-256 checksum
How to use checksums
53ebe17b2036260eccb6d01d15144173788e6fddd3d494f15a82de60d34ced44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / genblaze_stability_audio-0.3.4-py3-none-any.whl

Download URL genblaze_stability_audio-0.3.4-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c170b1140a96d7b25c8475f060dcffc4e391ea64d229f4d78e0903896c6daed4
BLAKE2b-256 checksum
How to use checksums
fbca31c9bcd557d997cb45fa7781f8584a8f66d60c745950107a240ca1176a62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for genblaze-stability-audio 0.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for genblaze_stability_audio-0.3.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page