Skip to main content

Text to Speech Pack

TrustedSandbox optionalv1.0.0MITPartially Verified42Connector

by AgentNode · published 6 months ago · toolpack

Convert text to natural-sounding speech audio.

Generate high-quality speech audio from text using models like Coqui TTS, OpenAI TTS, and ElevenLabs. Multiple voices and languages available.

langchaincrewaigeneric

Quick Start

bash
agentnode install text-to-speech-pack

Runs in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.

Usage

From package
python
from text_to_speech_pack.tool import run

result = run(
    text="Welcome to the AgentNode weekly update. This week we shipped "
         "three major features: real-time collaboration, voice commands, "
         "and a completely redesigned dashboard. Let's dive into the details.",
    voice="alloy",
    speed=1.0,
    output_format="mp3"
)

with open("weekly_update_intro.mp3", "wb") as f:
    f.write(result["audio_bytes"])

print(f"Audio duration: {result['duration_seconds']:.1f}s")
print(f"File size: {result['size_bytes'] / 1024:.0f} KB")
print(f"Sample rate: {result['sample_rate']} Hz")

Environment Variables

OPENAI_API_KEY

OpenAI API key for OpenAI TTS voices (optional — local Coqui TTS works without it)

ELEVENLABS_API_KEY

ElevenLabs API key for premium voice synthesis (optional)

Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works

Verification

low confidence42/100○ Partially Verified
smokeCredential boundary reached (medium confidence)
+12/25
testsTests failed
0/15
importAll tools imported successfully
+15/15
installInstalled in 1.4s
+15/15
contractContract not validated
0/10
determinismNo determinism data
0/5
reliabilityNo stability data
0/10

Package installs and imports correctly. requires API credentials for full verification.

install1.4s
import56ms
smoke579ms
tests1.1s

This package requires API credentials for full verification. Install and import checks passed.

Verified in real_auto mode

Python 3.12.3ffmpegpopplertesseractuv

Last verified 18d ago· Runner v2.0.0

Use this when you need to...

  • Generate voiceover audio for explainer video scripts
  • Convert newsletter articles to podcast-ready audio files
  • Create multilingual voice prompts for IVR phone systems
  • Produce audiobook chapters from manuscript text files
  • Generate accessible audio versions of web content for screen readers

README

Version History

Capabilities

text_to_speechsynthesize_speechtool

Connector

openaiconnectorapi_key

Permissions

Sandbox optionalFrom a trusted publisher — runs on the host by default. You can require isolation with sandbox.host_trust_policy.

Declared by the publisher. Checked before execution by the policy gate.

Networkrestricted
Filesystemtemp
Code Executionnone
Data Accessinput_only
User Approvalnever

Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more

Privacy

All tool execution happens locally on your machine. AgentNode never receives:

  • • Tool inputs or outputs
  • • Execution logs
  • • Data your agent processes

Only install events and search queries are sent to the registry.

bash
agentnode install text-to-speech-pack

Environment Variables

OPENAI_API_KEY
ELEVENLABS_API_KEY

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointtext_to_speech_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode