Skip to main content

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-s3 in 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

Related packages

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genblaze_lmnt-0.3.2.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genblaze_lmnt-0.3.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file genblaze_lmnt-0.3.2.tar.gz.

File metadata

  • Download URL: genblaze_lmnt-0.3.2.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for genblaze_lmnt-0.3.2.tar.gz
Algorithm Hash digest
SHA256 db1835206a85e1e06dce36a8a4ecd4b4132a0177940f7c1b55c7851b85d57c5c
MD5 9e391ce98aa882a7e159ea460d1efc17
BLAKE2b-256 9e81572982820e3736fc36b5676d8e5b58953900313ef5bbb1343454c52e9328

See more details on using hashes here.

Provenance

The following attestation bundles were made for genblaze_lmnt-0.3.2.tar.gz:

Publisher: release.yml on backblaze-labs/genblaze

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file genblaze_lmnt-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: genblaze_lmnt-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for genblaze_lmnt-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 66a0fa009347cb2c2bb0d4150cf7c41b0caa97b9ee136b8d25e7119431ca58ae
MD5 0c187fdf897113614fc28e8a80f80b3e
BLAKE2b-256 3897fd12b8fc88d104d70c3d3b454b433596d2f814c3e416bea277f3ecf99ccf

See more details on using hashes here.

Provenance

The following attestation bundles were made for genblaze_lmnt-0.3.2-py3-none-any.whl:

Publisher: release.yml on backblaze-labs/genblaze

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page