Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

tencent-tts-podcast腾讯 tts 播客

Agent Skill

tencent-tts-podcast 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,434

周安装

503

GitHub Stars

公开资料未说明

下载量

3,903
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tencent-tts-podcast(腾讯 tts 播客)
来源仓库:https://github.com/islinxu/tencent-tts-podcast
安装命令:
openclaw skills install tencent-tts-podcast
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tencent-tts-podcast

简介

使用腾讯云TTS将文本转换为播客音频,支持长达30分钟的长文本合成。

  • 适用于有声读物制作、课程讲解录音与播客节目批量生产等效率场景。
  • 自动分段处理长文本,避免单次请求超时或音质劣化问题。
  • 安装命令为 openclaw skills install tencent-tts-podcast,需配置TTS应用ID与密钥。
  • 音色选择与情感表达有限,适合旁白型内容而非戏剧化演绎。

SKILL.md

name
Tencent TTS Podcast Generator
description
Convert text to podcast audio using Tencent Cloud TTS. Supports both short and long text processing, generates up to 30-minute long audio with automatic chunking and parallel processing. Supports 26 Chinese voices including basic, featured, customer service, and Tencent featured voices.
license
MIT

Tencent TTS Podcast Generator

Convert text content to podcast audio files using Tencent Cloud TTS service.

Capabilities

What This Skill Can Do

  • Short & Long Text Compatible: Intelligently detects text length, processes short text directly, auto-chunks long text
  • Long Text to Speech: Supports generating podcasts up to 30 minutes long (~7200 characters)
  • Concurrent Processing: Long texts are automatically split and processed in parallel for faster generation
  • 26 Voices: Supports basic, featured, customer service, and Tencent featured voices
  • Smart Chunking: Splits text at semantic boundaries (paragraph/sentence) for natural audio flow
  • Duration Estimation: Automatically estimates generated audio duration
  • Auto Retry: Automatically retries failed requests to improve success rate

Short & Long Text Processing Strategy

Note: Tencent Cloud TTS single request limit is ~150 characters. Texts exceeding this will be auto-chunked.
Text TypeLength RangeProcessing MethodConcurrencyTimeout
Ultra Short≤50 charsDirect request130s
Short50-150 charsDirect request130s
Medium150-500 charsAuto-chunk (2-4 chunks)2-360s
Long500-2000 charsAuto-chunk (4-14 chunks)3-560s
Extra Long2000-7200 charsAuto-chunk (14-50 chunks)3-560s

What This Skill Does NOT Do

  • Does not generate mp3 format (wav only)
  • Does not support background music or sound effects
  • Does not auto-generate podcast scripts (user must provide)
  • Does not support dual-speaker dialogue mode (single voice only)

File Structure

This Skill consists of the following files:

  • tts_podcast.py

Main entry script - Tencent Cloud TTS signature generation - Audio file generation - COS upload functionality

  • tts_tool.py

AgentScope tool interface wrapper

  • SKILL.md

This file, describing Skill capabilities, boundaries, and usage conventions

  • requirements.txt

Python dependency configuration


Input & Output Specifications

Input Parameters

ParameterDescriptionRequiredDefault
TextText content to convertYes-
VoiceTypeVoice ID (see voice table below, either this or VoiceName)No502006
VoiceNameVoice name (see voice table below, either this or VoiceType)No-
secret_idTencent Cloud SecretIdYes-
secret_keyTencent Cloud SecretKeyYes-
max_workersConcurrent threads (3-5 for long text, 1 for short)No3
chunk_sizeChunk size in characters (long text optimization)No140
timeoutRequest timeout in secondsNo30/60
enable_retryEnable automatic retryNotrue
max_retriesMax retry attemptsNo2
preserve_paragraphsPreserve paragraph boundaries when chunkingNotrue
cos_secret_idTencent Cloud COS SecretId (optional, defaults to TTS credentials)No-
cos_secret_keyTencent Cloud COS SecretKey (optional, defaults to TTS credentials)No-
upload_cosWhether to upload to COS, true/false (default false, local only)Nofalse
bucket_nameCOS Bucket name (default: ti-aoi)Noti-aoi
app_idCOS App ID (default: 1257195185)No1257195185
regionCOS region (default: ap-guangzhou)Noap-guangzhou

Output

{
  "Code": 0,
  "Msg": "success",
  "AudioUrl": "https://xxx.cos.ap-guangzhou.myqcloud.com/xxx.wav"
}

Usage

Environment Requirements

  • Python 3.8+
  • tencentcloud-sdk-python
  • cos-python-sdk-v5
  • requests

Install Dependencies

pip install -r requirements.txt

Basic Usage

from tts_podcast import main

result = main({
    "Text": "Hello, welcome to today's podcast.",
    "VoiceType": 502006,
    "secret_id": "YOUR_SECRET_ID",
    "secret_key": "YOUR_SECRET_KEY"
})

print(result)
# {'Code': 0, 'Msg': 'success', 'AudioUrl': 'https://...'}

Short Text Optimized Usage

# Short text (<150 chars) - Use single thread for fast response
result = main({
    "Text": "Hello, this is a short message.",
    "VoiceType": 502006,
    "secret_id": "YOUR_SECRET_ID",
    "secret_key": "YOUR_SECRET_KEY",
    "max_workers": 1,      # Single thread is sufficient
    "timeout": 30,         # 30 second timeout
    "enable_retry": True   # Enable retry
})

Long Text Optimized Usage

# Long text (>150 chars) - Use concurrency for speed
long_text = """Chapter 1: The Origin of AI

The concept of artificial intelligence can be traced back to ancient Greek mythology..."""

result = main({
    "Text": long_text,
    "VoiceType": 502007,
    "secret_id": "YOUR_SECRET_ID",
    "secret_key": "YOUR_SECRET_KEY",
    "max_workers": 5,          # Concurrent processing
    "chunk_size": 140,         # 140 chars per chunk
    "timeout": 60,             # 60 second timeout
    "preserve_paragraphs": True  # Preserve paragraph boundaries
})

Voice Reference

VoiceTypeVoice NameCharacteristics
0普通女声Standard female
1普通男声Standard male
5情感女声Emotional female
6情感男声Emotional male
1000智障少女Lively cute
1001阳光少年Bright youthful
1002温柔淑女Gentle female
1003成熟青年Mature male
1004严厉管事Stern female
1005亲和女声Friendly female
1006甜美女声Sweet female
1007磁性男声Magnetic male
1008播音主播Broadcast anchor
101001客服女声Customer service
101005售前客服Pre-sales service
101007售后客服After-sales service
101008亲和客服Friendly service
502006小旭Tencent voice
502007小巴Tencent voice
502008思驰Tencent voice
502009思佳Tencent voice
502010思悦Tencent voice
502011小宁Tencent voice
502012小杨Tencent voice
502013云扬Tencent voice
502014云飞Tencent voice

Technical Architecture

tts_podcast.py

  • TTS: Uses Tencent Cloud TTS API signature v3
  • Upload: Uses Tencent Cloud COS SDK for audio file upload
  • Auth: Supports credentials from parameters or environment variables
  • Short & Long Text Compatible:

- Short text (≤150 chars): Direct single request, fast response - Long text (>150 chars): Smart chunking + concurrent processing + auto-merge

Text Chunking Strategy

  1. Paragraph Priority: Try to preserve paragraph integrity, split at paragraph boundaries
  2. Sentence Boundaries: When paragraphs are too long, split at sentence ending punctuation (。!?;)
  3. Semantic Protection: Avoid truncating in the middle of words, ensure semantic coherence
  4. Length Control: Each chunk does not exceed 150 characters (Tencent Cloud API limit)

License

MIT

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

84.47%
按下载量换算3,297

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills