Skip to main content

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-1version="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


Download files

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

Source Distribution

genblaze_hume-0.3.1.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

genblaze_hume-0.3.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

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

Hashes for genblaze_hume-0.3.1.tar.gz
Algorithm Hash digest
SHA256 81f9cec21e2f6a90a55701a18b66b07ba23322a58052fa3e6cbf7887c827e604
MD5 9f6a099e00d13010914ad17e1b8e557d
BLAKE2b-256 d5dec4e2f8fd3a790535d1d459ce5672df96b8f2a6829871940840784d69ea99

See more details on using hashes here.

Provenance

The following attestation bundles were made for genblaze_hume-0.3.1.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_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

Hashes for genblaze_hume-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 154944b77eda1acb2f3a6a8bc914867433cb58b9145e8d24ae273f3a817eb5bf
MD5 38eba47092b5aff683f305db06139953
BLAKE2b-256 5e904ea9682744dd99fb27c192f5c7a34a84c2348b3c3fdee8b17d26152ea0a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for genblaze_hume-0.3.1-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