Hume AI (Octave TTS) provider adapter for genblaze
Project description
genblaze-hume
Hume AI Octave TTS provider adapter for genblaze.
Octave is an LLM-based text-to-speech model. This connector exposes it as a synchronous audio provider — generate speech, get a provenance manifest, and persist the result to Backblaze B2 / S3 like any other genblaze step.
Install
pip install genblaze-hume # or: pip install "genblaze[hume]"
export HUME_API_KEY="..." # from https://platform.hume.ai/
Usage
from genblaze_core import Modality, Pipeline
from genblaze_hume import HumeTTSProvider
run, manifest = (
Pipeline("narration")
.step(
HumeTTSProvider(output_dir="output/"),
model="octave-2",
prompt="Welcome to the future of media provenance.",
modality=Modality.AUDIO,
voice_id="Ava Song", # a Hume Voice Library voice name
output_format="mp3", # mp3 | wav | pcm
)
.run()
)
print(manifest.canonical_hash)
step.model selects the Octave version: octave-2 → API version="2"
(multi-language, requires a voice), octave-1 → version="1".
Pricing
The SDK ships no hardcoded prices. Octave bills per character of input text;
register a recipe at runtime — see
docs/reference/pricing-recipes.md
("Hume" section):
from genblaze_core.providers import per_input_chars
provider = HumeTTSProvider(api_key="...")
provider.models.register_pricing("octave-2", per_input_chars(RATE, per=1000))
Docs
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_hume-0.3.1.tar.gz.
File metadata
- Download URL: genblaze_hume-0.3.1.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81f9cec21e2f6a90a55701a18b66b07ba23322a58052fa3e6cbf7887c827e604
|
|
| MD5 |
9f6a099e00d13010914ad17e1b8e557d
|
|
| BLAKE2b-256 |
d5dec4e2f8fd3a790535d1d459ce5672df96b8f2a6829871940840784d69ea99
|
Provenance
The following attestation bundles were made for genblaze_hume-0.3.1.tar.gz:
Publisher:
release.yml on backblaze-labs/genblaze
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
genblaze_hume-0.3.1.tar.gz -
Subject digest:
81f9cec21e2f6a90a55701a18b66b07ba23322a58052fa3e6cbf7887c827e604 - Sigstore transparency entry: 1956177117
- Sigstore integration time:
-
Permalink:
backblaze-labs/genblaze@7301e80807192815d9002cf02022d4984cd88787 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/backblaze-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7301e80807192815d9002cf02022d4984cd88787 -
Trigger Event:
release
-
Statement type:
File details
Details for the file genblaze_hume-0.3.1-py3-none-any.whl.
File metadata
- Download URL: genblaze_hume-0.3.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
154944b77eda1acb2f3a6a8bc914867433cb58b9145e8d24ae273f3a817eb5bf
|
|
| MD5 |
38eba47092b5aff683f305db06139953
|
|
| BLAKE2b-256 |
5e904ea9682744dd99fb27c192f5c7a34a84c2348b3c3fdee8b17d26152ea0a9
|
Provenance
The following attestation bundles were made for genblaze_hume-0.3.1-py3-none-any.whl:
Publisher:
release.yml on backblaze-labs/genblaze
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
genblaze_hume-0.3.1-py3-none-any.whl -
Subject digest:
154944b77eda1acb2f3a6a8bc914867433cb58b9145e8d24ae273f3a817eb5bf - Sigstore transparency entry: 1956177437
- Sigstore integration time:
-
Permalink:
backblaze-labs/genblaze@7301e80807192815d9002cf02022d4984cd88787 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/backblaze-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7301e80807192815d9002cf02022d4984cd88787 -
Trigger Event:
release
-
Statement type: