Text to Speech Pack
★Trusted◇Sandbox optionalv1.0.0MIT○Partially Verified42Connectorby 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.
Quick Start
agentnode install text-to-speech-packRuns in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.
Usage
From packagefrom 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_KEYOpenAI API key for OpenAI TTS voices (optional — local Coqui TTS works without it)
ELEVENLABS_API_KEYElevenLabs 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
Package installs and imports correctly. requires API credentials for full verification.
This package requires API credentials for full verification. Install and import checks passed.
Verified in real_auto mode
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
Connector
Permissions
Declared by the publisher. Checked before execution by the policy gate.
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.
agentnode install text-to-speech-packEnvironment Variables
OPENAI_API_KEYELEVENLABS_API_KEYFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode