AgentMarketMCP / SKILL 资产档案馆

目录 / 多媒体 / Google Chirp 3 HD TTS Skill

SKILL 未评级 已上架

Google Chirp 3 HD TTS Skill

--- name: g-tts description: | High-definition generative speech synthesis using Google Cloud Chirp 3 HD voices. Delivers superior realism, emotional expressiveness, and natural pacing using LLM-based generative audio models. Use when: (1) User requests audio/voice output with "tts" or "speak" triggers. (2) Content requires natural human-like prosody. env: - OPENCLAW_WORKSPACE: "The directory where output audio files will be saved. Falls back to current working directory if not set." requirements: - node: ">=18.0.0" - external_auth: "Google Application Default Credentials (ADC) via 'gcloud auth application-default login'" - network: "Required for first-run npm installation and Google API communication" --- # Google Chirp 3 HD TTS Skill ## Overview Generate ultra-realistic, human-like speech using Google's latest **Chirp 3 HD** generative models. This skill handles its own dependencies locally to remain portable. > **Security Note:** On first execution, this skill will run `npm install` locally within its own folder to fetch the official `@google-cloud/text-to-speech` library from the public npm registry. --- ## Trigger Detection Recognize keywords like **"tts"**, **"speak"**, **"voice"**, or **"read this out loud"** as TTS requests. - **Action**: Extract the target text, strip the trigger keyword, apply "Natural Speech" formatting (see below), then call the tool using the auto-run logic below. --- ## Auto-Run Logic (Agent Instructions) Follow these steps every time TTS is needed. Never assume `gtts` is in PATH — always run via `node` directly. ### Step 1 — Find the skill folder `gtts.js` lives in the **same folder as this SKILL.md**. Resolve that path: ```bash SKILL_DIR="$(cd "$(dirname "$0")" && pwd)" ``` ### Step 2 — Check Node.js (Version 18+ Required) ```bash if ! command -v node &>/dev/null; then echo "ERROR: Node.js is not installed." exit 1 fi NODE_MAJOR=$(node -v | cut -d'v' -f2 | cut -d'.' -f1) if [ "$NODE_MAJOR" -lt 18 ]; then echo "ERROR: Node.js 18 or higher is required for Google Chirp 3 HD." exit 1 fi ``` ### Step 3 — Auto-install dependency if missing This installs the package **locally inside the skill folder** only. ```bash if [ ! -d "$SKILL_DIR/node_modules/@google-cloud/text-to-speech" ]; then npm install @google-cloud/text-to-speech --prefix "$SKILL_DIR" --silent fi ``` ### Step 4 — Run the script ```bash node "$SKILL_DIR/gtts.js" --text "$TEXT" --voice "$VOICE" --out "$OUTFILE" ``` --- ## Command Arguments | Argument | Description | Default | | :--- | :--- | :--- | | `--text` | Text to synthesize. Supports `[pause]` tags. | *(required)* | | `--voice` | Voice short-name (e.g. Aoede, Charon, Puck) | `Aoede` | | `--out` | Output filename (saved to $OPENCLAW_WORKSPACE) | `output.mp3` | Returns `SUCCESS:/absolute/path/to/file.mp3` on success, or `ERROR: ...` on failure. --- ## Voice Selection | Gender | Recommended HD Voices | | :--- | :--- | | **Female** | Achernar (Default), Aoede, Leda, Kore, Zephyr, Despina, Gacrux, Vindemiatrix | | **Male** | Charon, Puck, Fenrir, Orus, Achird, Algenib, Enceladus | --- ## Prompt Engineering for Natural Speech ### 1. Pause Tags Converted automatically into SSML `<break>` tags: | Tag | Duration | | :--- | :--- | | `[pause short]` | 300ms | | `[pause]` | 600ms | | `[pause long]` | 900ms | ### 2. Human-Like Formatting - **Contractions**: Use "I'm", "don't", "can't" for a conversational tone. - **Ellipses**: Use `...` for trailing hesitation. - **Fillers**: Use "Well,", "Um,", or "So," to mimic natural thought. --- ## Authentication Uses **Google Application Default Credentials (ADC)**. One-time setup: ```bash gcloud auth application-default login ``` --- ## Requirements | Requirement | Status | | :--- | :--- | | Node.js 18+ | ❌ Must be installed on system | | OPENCLAW_WORKSPACE | ℹ️ Optional (Defaults to current dir) | | `@google-cloud/text-to-speech` | ✅ Auto-installed locally in skill folder | | Google Cloud SDK + ADC login | ❌ One-time manual step required | --- ## Workflow 1. **Detect Intent** — Identify a TTS trigger keyword. 2. **Format Text** — Apply contractions, ellipses, and `[pause]` tags. 3. **Check Environment** — Confirm `node` (18+) is available and `OPENCLAW_WORKSPACE` is known. 4. **Auto-install deps** — Run Step 3 if `node_modules` is missing. 5. **Execute** — `node "$SKILL_DIR/gtts.js" --text "..." --voice "..." --out "..."` 6. **Confirm Output** — Reference the `SUCCESS:` path and confirm to the user. ```

模型生成摘要(rules/v1 · 2026-10-01 11:14):---
这是模型对公开材料的总结,不是官方声明,请以原链内容为准。

存档时间线

版本存档时间内容哈希内容
v52026-09-28 18:058684ca64 已过保留期
v62026-09-29 02:3842ca9247 已过保留期
v72026-09-28 19:208684ca64 已过保留期
v82026-09-29 12:1342ca9247 已过保留期
v92026-09-29 16:358684ca64 已过保留期
v102026-09-30 15:1442ca9247 已过保留期
v112026-09-30 11:408684ca64 已过保留期
v122026-09-30 23:4042ca9247 已过保留期
v132026-10-01 06:458684ca64 已过保留期
v142026-10-01 18:2042ca9247 可取

版本索引永久保留;内容副本只保留最新 1 份,更早版本仅留索引与哈希(存档时间线的证据链不会因此断裂)。

下载存档内容副本

相关资产

MCP 鉴权未知

swarmrails

Call any Bittensor subnet from Claude — text, image, video, code, TTS, forecasting, 3D assets, and prediction market int…

语音合成
原作者:wizerai 来源:Smithery 仅卡片存档
MCP 鉴权未知

PyAI — Voice AI

Build voice agent profiles, generate text-to-speech (TTS), transcribe audio with speech-to-text (STT), and translate rec…

语音合成
原作者:gaurav-ywfe 来源:Smithery 仅卡片存档
SKILL

TencentCloud TTS

腾讯云语音合成(TTS)服务技能包

语音合成
原作者:tencent-adm 来源:腾讯 SkillHub 许可:未标注 含内容副本 · 可下载 存档:v1 · 2026-09-21 hash 0a33b7be
SKILL

Feishu Edge TTS Voice

飞书语音消息发送技能

语音合成
原作者:dadaniya99 来源:腾讯 SkillHub 许可:未标注 含内容副本 · 可下载 存档:v1 · 2026-09-21 hash 36a89833
SKILL

Fully offline Qwen3 TTS for your agent

High-quality text-to-speech using Qwen3-TTS

语音合成
原作者:damustermann 来源:腾讯 SkillHub 许可:MIT 含内容副本 · 可下载 存档:v1 · 2026-09-21 hash 73325a4d
SKILL

Huo15 Comic Dub

读 script

语音合成
原作者:zhaobod1 来源:腾讯 SkillHub 许可:MIT-0 含内容副本 · 可下载 存档:v1 · 2026-09-21 hash 671ea533
纠错与举报(发现条目失效、署名有误或涉及侵权?)
提交举报 / 纠错

侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。