360 Secure SkillHub
360 安全技能中心

TopMediai TTS

该 Skill 通过 TopMediai 语音合成服务提供三项能力:查询当前 API Key 的额度信息、获取官方与克隆音色列表、按指定说话人和情绪把文本转换为语音。使用前需配置 API Key,未配置时停止并提示用户配置;可自定义基础地址。

topmediai
topmediai
热度 85.20
最近更新 2026-05-11 17:32:28
分类:创作依赖:代码执行 / 读写文件 / 第三方 API应用场景:自动化脚本

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add tts-topmediai
Metadata
name
tts-topmediai
description
TopMediai text-to-speech skill. Supports key entitlement info, voices listing (official + cloned), and text-to-speech generation.
author
TopMediai

TTS TopMediai Skill

Capability Overview

This skill supports:

  1. Get current API key entitlement information
  2. Get available voice list (official + cloned)
  3. Convert text into speech with selected speaker voice

Preflight Check (Mandatory)

  • Configure TOPMEDIAI_API_KEY in <skill_root>/.env
  • Optional: TOPMEDIAI_BASE_URL (default https://api.topmediai.com)
  • If key is missing, stop and ask user to configure

Main Command

  • /tts_topmediai action=info|voices|tts text="..." speaker="..." emotion="..."

Extra Commands

  • topmediai_tts_key_info
  • topmediai_tts_voices
  • topmediai_tts_generate text="..." speaker="..." emotion="..."

API Endpoints Used

  • Key info: GET {BASE_URL}/v1/get_api_key_info
  • Official voices: GET {BASE_URL}/v1/voices_list
  • Cloned voices: GET {BASE_URL}/v1/clone_voices_list
  • TTS: POST {BASE_URL}/v1/text2speech