AgentSkillsCN

Deepdub TTS

使用Deepdub生成语音音频,并将其作为MEDIA文件(兼容Telegram)添加。

SKILL.md
--- frontmatter
name: Deepdub TTS
description: Generate speech audio using Deepdub and attach it as a MEDIA file (Telegram-compatible).
version: 0.1.0
tags: [tts, deepdub, audio, telegram]

What this skill does

This skill converts text into speech using Deepdub and returns an audio file as a MEDIA: attachment that OpenClaw can send to channels like Telegram.

Requirements

  • Python 3.9+
  • Ability for OpenClaw to execute local commands
  • Deepdub API access

Setup (required)

Set the following environment variables where OpenClaw runs:

  • DEEPDUB_API_KEY – your Deepdub API key
  • DEEPDUB_VOICE_PROMPT_ID – default voice prompt to use

Optional:

  • DEEPDUB_LOCALE (default: en-US)
  • DEEPDUB_MODEL
  • OPENCLAW_MEDIA_DIR (default: /tmp/openclaw_media)

Install dependency

Using uv (recommended):

bash
uv pip install deepdub