← 返回
内容创作 Key 中文

Telnyx Tts

Generate speech audio from text using Telnyx Text-to-Speech API. Use when you need to convert text to spoken audio, create voice messages, or generate audio content.
使用 Telnyx 语音合成 API 将文本转换为语音。适用于文本转语音、创建语音消息或生成音频内容。
teamtelnyx
内容创作 clawhub v1.0.0 1 版本 99925.9 Key: 需要
★ 0
Stars
📥 1,348
下载
💾 36
安装
1
版本
#latest

概述

Telnyx Text-to-Speech

Generate high-quality speech audio from text using the Telnyx TTS API.

Usage

To convert text to speech, run the script:

{baseDir}/scripts/telnyx-tts.py "Your text here" -o /tmp/output.mp3

The script outputs the path to the generated audio file on success.

Options

  • -o, --output PATH: Output file path (default: output.mp3)
  • --voice VOICE: Voice ID (default: Telnyx.NaturalHD.astra)

Available Voices

Telnyx provides multiple voice options:

  • Telnyx NaturalHD: Premium voices with refined prosody
  • Telnyx.NaturalHD.astra (default)
  • Telnyx.NaturalHD.luna
  • Telnyx.NaturalHD.andersen_johan
  • Telnyx KokoroTTS: Budget-friendly for high-volume
  • Telnyx.KokoroTTS.af
  • Telnyx.KokoroTTS.am

Example

Generate speech and return as media:

{baseDir}/scripts/telnyx-tts.py "Hello! This is a test of Telnyx text to speech." -o /tmp/tts-output.mp3

Then return the audio file:

MEDIA: /tmp/tts-output.mp3

For Telegram voice notes, the audio will be sent as a voice message.

Environment

Requires TELNYX_API_KEY environment variable to be set.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 02:46 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Telnyx Toolkit

teamtelnyx
完整Telnyx工具包,含即用型工具(语音转文本、文本转语音、检索增强生成、网络、10DLC)及JavaScript、Python、Go、Java、Ruby的SDK文档。
★ 2 📥 3,563
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,553
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,247