LaunchKit · 2026
Back to Skills

doubao-api-open-tts

Text-to-Speech service using Doubao (Volcano Engine)

0
0 downloads
by @xdrshjr

Setup & Installation

openclaw skills install @xdrshjr/doubao-api-open-tts

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install doubao-api-open-tts

What This Skill Does

Converts text to speech using the Doubao (Volcano Engine) API. Offers 200+ categorized voices spanning Chinese, English, regional dialects, roleplay personas, and emotion-aware styles. Available as a command-line tool and Python API with adjustable speed, volume, and audio format.

Covers Chinese regional dialects, emotion-tagged voices, and bilingual speakers in a single API, which general-purpose TTS services rarely provide at this breadth.

When to use it

  • Converting articles or blog posts to audio for commute listening
  • Generating character voiceovers for video dubbing projects
  • Adding narration to Chinese audiobook manuscripts
  • Building voice prompts for customer service phone systems
  • Creating distinct roleplay character voices for interactive stories

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Read this product description aloud using a warm female voice

AGENT
  1. 1Check if Volcano Engine API credentials are configured via check_api_config()
  2. 2If missing, prompt user for App ID, Access Token, and Secret Key and save them with setup_api_config()
  3. 3Display available voices in the Customer Service or General-Normal category
  4. 4User selects a voice by name; agent resolves it to a voice_type via find_voice_by_name()
  5. 5Call tts.synthesize() with the chosen voice_type and save to an MP3 file
OUTPUT

MP3 file saved to output.mp3 with the selected voice reading the product description

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Volcano Engine account with Doubao Voice service enabled at console.volcengine.comVOLCANO_TTS_APPID environment variableVOLCANO_TTS_ACCESS_TOKEN environment variableVOLCANO_TTS_SECRET_KEY environment variable