LMNT text-to-speech provider adapter for genblaze
Project description
genblaze-lmnt
LMNT ultra-low-latency text-to-speech provider adapter for genblaze — real-time AI voice pipelines with SHA-256 provenance manifests on every clip.
genblaze-lmnt wraps LMNT's sub-second TTS API as a genblaze provider — ideal for real-time agent voices, live narration, and interactive media where latency matters. Compose into multi-step AI pipelines, persist outputs to Backblaze B2 or any S3-compatible store, and emit a tamper-evident provenance manifest for every run.
Why genblaze-lmnt
- Ultra-low latency — LMNT is optimized for real-time voice; pairs well with genblaze
AgentLoop. - Provenance by default — SHA-256-verified manifest on every clip; embed manifest directly into MP3.
- Production-ready — retries, timeouts, step caching, moderation hooks.
- Composable — chain LMNT narration with music (Stable Audio) + FFmpeg AV compositing.
- Durable storage — plug
genblaze-s3in for Backblaze B2 / AWS S3 / R2 / MinIO persistence.
Models
| Model | Notes |
|---|---|
lmnt-1 |
LMNT's fast TTS model |
Install
pip install genblaze-lmnt
Registers the lmnt provider via entry points; genblaze-core discovers it automatically.
Quickstart — LMNT TTS
pip install genblaze-core genblaze-lmnt
export LMNT_API_KEY="..."
from genblaze_core import Modality, Pipeline
from genblaze_lmnt import LMNTProvider
run, manifest = (
Pipeline("lmnt-tts-demo")
.step(LMNTProvider(output_dir="output/audio"),
model="lmnt-1",
prompt="The quick brown fox jumps over the lazy dog.",
modality=Modality.AUDIO, voice="lily")
.run(timeout=30)
)
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.
Credentials
| Env var | Where to get it |
|---|---|
LMNT_API_KEY |
https://app.lmnt.com/account |
Documentation
- Main repo: https://github.com/backblaze-labs/genblaze
- Example:
lmnt_tts_pipeline.py
Related packages
genblaze-core— the pipeline SDKgenblaze-s3— durable storage on Backblaze B2 and other S3-compatible backends- Other audio providers:
genblaze-elevenlabs(TTS + SFX) ·genblaze-openai(TTS) ·genblaze-stability-audio(music) ·genblaze-gmicloud
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file genblaze_lmnt-0.2.1.tar.gz.
File metadata
- Download URL: genblaze_lmnt-0.2.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a8c1096cd5780fd625d0135bb7a5b445bbe9bf31e0d107a3b80fb8b1b7550c2
|
|
| MD5 |
db9d012d9746be48fd027a78f67eb796
|
|
| BLAKE2b-256 |
3646a1f58be1d146a178e91d1a39c59d7f1f53f6ce471a6c3272a5fb532b59cd
|
File details
Details for the file genblaze_lmnt-0.2.1-py3-none-any.whl.
File metadata
- Download URL: genblaze_lmnt-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5b2d9424e33d90876dd84c9dbb3a682c731651d7de88d59ba6e9941b18c1562
|
|
| MD5 |
035f769253f4fc31cb9eceb7cde66eec
|
|
| BLAKE2b-256 |
6289c773ccd5445c6d983fb97b6d0c3abcf23184bb247fa1c86a53580c64be0d
|