360 Secure SkillHub
360 安全技能中心

Axiomata Voice

核心功能:依托ElevenLabs TTS API将文本转换为语音,支持音频处理并通过Telegram发送语音消息。典型场景:长文本转音频、发送语音消息、无障碍功能适配。输入为文本内容,输出可为本地音频文件或Telegram语音消息,使用需配置对应API密钥及bot令牌,依赖ffmpeg。

kofna3369
kofna3369
热度 16.02
最近更新 2026-05-14 03:46:47
分类:效率依赖:代码执行 / 第三方 API应用场景:文件转换 / API 集成 / 自动化脚本 / 社交媒体

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add axiomata-voice
Metadata
name
axiomata-voice
description
Axiomata Voice — Text-to-Speech skill for OpenClaw agents. Use when: (1) converting text messages to speech audio, (2) sending voice messages via Telegram, (3) processing long messages as audio, (4) using ElevenLabs API for TTS synthesis. Requires: ElevenLabs API key, Telegram bot token, ffmpeg. Provides voice generation, audio processing, and Telegram delivery.
version
1.0.0

Axiomata Voice — Text-to-Speech

Convert text to speech and send via Telegram Impersonal — works for any agent


Description

Axiomata Voice converts text messages to speech audio using ElevenLabs TTS API and delivers via Telegram.

Requires:

  • ElevenLabs API key
  • Telegram bot token
  • ffmpeg for audio processing

Use when: Converting long messages to audio, voice messaging, accessibility features.


Setup

Environment Variables

Variable Description
ELEVENLABS_API_KEY ElevenLabs API key
TELEGRAM_BOT_TOKEN Telegram bot token

Usage

Text to Speech

# Convert text to speech
python3 scripts/voice_tts.py --text "Hello world" --output audio.mp3

# Send voice via Telegram
python3 scripts/voice_send.py --text "Hello" --chat_id <chat_id>

API Call Example

curl -X POST "https://api.elevenlabs.io/v1/text-to-speech/<voice_id>" \
  -H "xi-api-key: $ELEVENLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello world", "voice_settings": {"stability": 0.5}}'

Architecture

axiomata-voice/
├── SKILL.md
├── scripts/
│   ├── voice_tts.py      # Text-to-Speech
│   └── voice_send.py     # Telegram delivery
└── references/
    └── elevenlabs-api.md

In Altum Per Vocem. Axiomata Voice v1.0.0