According to AlphaMoat, as of 2026-09, TencentCloud TTS has 3,103 downloads and 3 stars — ranked #3,655 of 5,078 AI skills overall, and #344 of 512 in Design & Media.
| Platform | Installs | Downloads | Stars | Comments |
|---|---|---|---|---|
| SkillHub ↗ | 241 | 3.1K | 3 | — |
Platforms count differently and update at different times.
Parameters: text (required), voice_type (default 101001, options 101001-101015), codec (default mp3; supports mp3/wav), and output_file (default output.mp3). Keys are configured securely via the TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY environment variables. Best practices: never hardcode API keys in code, keep single-synthesis text under about 300 characters, avoid high-frequency calls and respect service limits, and periodically clean up generated audio files.
Profile published 2026-10-27
Generated from the skill’s documentation as examples; not results of actual runs.
The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change. Other skills share this name; figures from before the change are attributed to this one, which currently has the most downloads.
| Month | Downloads | MoM | Stars |
|---|---|---|---|
| 2026-09 | 3.1K | — | 3 |
| 2026-08 | 2.4K | +12.8% | 3 |
| 2026-07 | 2.1K | +26.1% | 3 |
| 2026-06 | 1.7K | +18.4% | 2 |
| 2026-05 | 1.4K | — | 2 |
| 2026-03 | 849 | — | 1 |
The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.
--- name: tencent-tts description: 腾讯云语音合成(TTS)服务技能包。当用户需要将文本转换为语音文件时使用此技能,支持多种音频格式输出和灵活的配置选项。当用户提到语音合成、文本转语音、TTS服务、音频文件生成时,都应该考虑使用此技能。 --- # 腾讯云语音合成(TTS)技能包 本技能包提供基于腾讯云语音合成服务的文本转语音功能,专注于基础单次合成需求。 ## 功能特性
- **文本转语音**: 将任意文本内容转换为高质量的语音文件
- **多格式支持**: 支持MP3、WAV等常见音频格式
- **语音参数配置**: 可配置语音类型、音频格式等参数
- **安全认证**: 通过环境变量安全管理腾讯云API密钥
## 前置要求
在使用本技能前,请确保:
1. **腾讯云账号**: 拥有有效的腾讯云账号
2. **API密钥**: 获取腾讯云API的SecretId和SecretKey
3. **服务开通**: 已开通腾讯云语音合成(TTS)服务
## 配置说明
### 环境变量配置
将腾讯云API密钥配置为环境变量:
```bash
export TENCENTCLOUD_SECRET_ID="your-secret-id"
export TENCENTCLOUD_SECRET_KEY="your-secret-key"
```
### 技能参数说明
| 参数名 | 类型 | 必填 | 默认值 | 说明 |
|-------|------|------|--------|------|
| text | string | 是 | - | 要转换为语音的文本内容 |
| voice_type | int | 否 | 101001 | 语音类型(101001-101015) |
| codec | string | 否 | mp3 | 音频编码格式(mp3/wav) |
| output_file | string | 否 | output.mp3 | 输出音频文件名 |
## 使用示例
### 基本使用
```python
# 使用默认参数合成语音
from tencent_tts import TextToSpeech
tts = TextToSpeech()
result = tts.synthesize("欢迎使用腾讯云语音合成服务")
print(f"音频文件已生成: {result['output_file']}")
```
### 自定义参数
```python
# 使用自定义参数
from tencent_tts import TextToSpeech
tts = TextToSpeech()
result = tts.synthesize(
text="这是一个自定义语音合成的示例",
voice_type=101002,
codec="wav",
output_file="custom_voice.wav"
)
print(f"音频文件已生成: {result['output_file']}")
```
## 文件结构
```
tencent-tts/
├── SKILL.md (本文件)
├── scripts/
│ └── tencent_tts.py (主功能脚本)
└── examples/
└── basic_usage.py (基础使用示例)
```
## 最佳实践
1. **密钥安全**: 不要将API密钥硬编码在代码中
2. **文本长度**: 单次合成文本建议不超过300字符
3. **频率控制**: 避免高频调用,遵守服务限制
4. **文件管理**: 定期清理生成的音频文件
## 技术支持
如遇问题,请参考:
- 腾讯云语音合成文档:https://cloud.tencent.com/document/product/1073
- API错误码说明:https://cloud.tencent.com/document/api/1073/37996ContextWeave one-shot architecture diagram generation
A script-based skill that generates or edits images with Nano Banana Pro.
Runs the whisper command line to transcribe audio locally.
A skill that generates and edits diagrams through an MCP server.
Design intelligence and implementation guidance for polished interfaces, from layout and flows to tokens and frontend changes.
An AI video generation and orchestration skill across several model APIs.
Pull a frame out of a video with ffmpeg, or produce a thumbnail for a quick look.
Turn audio files into text with local Whisper, running fully offline once the model is downloaded.
Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.