Skip to main content

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.

소스 정보

저장소
team-telnyx/telnyx-toolkit
최근 소스 활동
2026년 2월 10일 20:41
감지된 SKILL.md 언어
영어
스타
3
포크
2

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
telnyx-tts
description
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.
metadata
{"openclaw":{"emoji":"🔊","requires":{"bins":"[Truncated]","env":"[Truncated]"},"primaryEnv":"TELNYX_API_KEY"}}
# 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: ```bash {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: ```bash {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.
GitHub에서 보기