Skip to main content

xyberos-tts

Text-to-speech plugin — RFC-0019, M8. Synthesize speech via ElevenLabs, OpenAI, AWS Polly, or local Piper through one TextToSpeech contract.

Install

pip install -e ./tts

Usage

from xyberos import create_app
from xyberos_tts import TtsPlugin

app = create_app()
app.load_plugin(TtsPlugin(provider="elevenlabs"))   # key from ELEVENLABS_API_KEY

path = app.tools.execute("tts_synthesize", None, text="Hello!", output_path="out.mp3")

Provider selection: TTS_PROVIDER env or provider= (elevenlabs default, openai, polly, piper).

Provider Type Key / config
elevenlabs cloud ELEVENLABS_API_KEY
openai cloud OPENAI_API_KEY
polly cloud (lazy boto3) AWS credentials
piper local CLI PIPER_MODEL + piper executable

Tools

  • tts_synthesize(text, output_path) -> str (writes the audio file)

Tests

pip install pytest
pytest tests/

Cloud adapters are tested via injectable raw transports; Polly via a fake client; Piper via an injectable runner.

Ship location

Plugin (xyberos.plugins entry point) — voice (M8).

Download files

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

Source Distribution

xyberos_tts-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

xyberos_tts-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file xyberos_tts-0.1.0.tar.gz.

File metadata

  • Download URL: xyberos_tts-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xyberos_tts-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2b408e3a3abadbac9f234b5889f2962a405036944012ebb58a06033490f7550b
MD5 d283270effb0efa3ebaf45b846b233bb
BLAKE2b-256 8a3dbf1ec93bd738cb52848620ea6d0a979b4da0de18991827f121a7e0ca0e99

See more details on using hashes here.

Provenance

The following attestation bundles were made for xyberos_tts-0.1.0.tar.gz:

Publisher: pypi-plugins.yml on xyberos/xyberos-plugins

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

File details

Details for the file xyberos_tts-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: xyberos_tts-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xyberos_tts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6a59314f00c08d285604b145f0fefb791b916e88799e7ee39cc1ab007a278c8
MD5 be61907859e0990bc342612fb792a2c2
BLAKE2b-256 2f38b7fe8608b1301ca8e7f4128c3ee6d53df55ac49549a3f27a09126f918725

See more details on using hashes here.

Provenance

The following attestation bundles were made for xyberos_tts-0.1.0-py3-none-any.whl:

Publisher: pypi-plugins.yml on xyberos/xyberos-plugins

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 Sentry Error logging StatusPage Status page