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

Uploaded Python 3

File details

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

File metadata

  • Download URL: genblaze_hume-0.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 236475b2d560e444698aefe546580e9e53c0f7b402fcb8bf076cb0c90c919ff2
MD5 9edda4300ed552fb89d79c42efd7f36a
BLAKE2b-256 123d0cc942ac0942e3acc04443525a66c6eaaf21b9ca82869e5b0704f6407ac1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: genblaze_hume-0.3.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cfa3ae4100f860781256486a4edf4465372465da233da41f644bf39e2810563d
MD5 4f0feb8b7e8a67c18c8f2c06c743832d
BLAKE2b-256 3fbe6520b89e97e59c64bb485ef2cdd86c113c97c8cfe4ed4aa9b9b14464a2e2

See more details on using hashes here.

Provenance

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