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.3.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.3-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file genblaze_hume-0.3.3.tar.gz.

File metadata

  • Download URL: genblaze_hume-0.3.3.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for genblaze_hume-0.3.3.tar.gz
Algorithm Hash digest
SHA256 4eafd48e38df74b00568d6d36e0b50bbb8cace2a0f04ea4e761b94f16984257d
MD5 4c305a8755380412f1fc0027e6e8f6ca
BLAKE2b-256 074e05a0c04044de835d5897257853ee6452718c7fa947318b26eb5c3c9ae42b

See more details on using hashes here.

Provenance

The following attestation bundles were made for genblaze_hume-0.3.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: genblaze_hume-0.3.3-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.14

File hashes

Hashes for genblaze_hume-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 80f6c575babc6f7f657e2dc46a886b9dc11e458ebb56b62dc2549a19981434e2
MD5 aba1b7b06a271a288e6c70bffd81ea59
BLAKE2b-256 35abb47652aeccfd01de4aa55c9839f81030ce243bc09c626ec38997a82c3156

See more details on using hashes here.

Provenance

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