xdrshjr/jr-openclaw-skills

doubao-open-tts

Text-to-Speech using Doubao (Volcano Engine) API. Use when converting text to natural-sounding speech, generating audio files from text, listing available TTS voices, or synthesizing speech with customizable speed/volume parameters.

First seen Feb 19, 2026

Installation

$ npx skills add xdrshjr/jr-openclaw-skills --skill doubao-open-tts

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from xdrshjr/jr-openclaw-skills · top by installs.

npx skills add xdrshjr/jr-openclaw-skills

Browse all from xdrshjr/jr-openclaw-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 12,097 B
  • docs SUMMARY.md 255 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 118 installs

SKILL.md

Doubao Open TTS

Text-to-Speech (TTS) service using Doubao (Volcano Engine) API V1 interface to convert text into natural-sounding speech.

Features

  • 🎙️ 200+ Voice Options - Default: Shiny (灿灿) for general scenarios
  • 🔊 Multiple Audio Formats - Supports mp3, pcm, wav
  • Adjustable Parameters - Speed and volume control
  • 📦 Dual Interface - Command-line tool + Python API
  • 🎯 Voice Categorization - Browse voices by category

Installation

cd skills/doubao-open-tts
pip install -r requirements.txt

Configuration

Method 1: Environment Variables

export VOLCANO_TTS_APPID="your_app_id"
export VOLCANO_TTS_ACCESS_TOKEN="your_access_token"
export VOLCANO_TTS_SECRET_KEY="your_secret_key"
export VOLCANO_TTS_VOICE_TYPE="zh_female_cancan_mars_bigtts"  # Optional: set default voice

Method 2: .env File

Copy .env.example.txt to .env and fill in your credentials:

cp .env.example.txt .env
# Edit the .env file with your credentials

Usage

Command Line

# Basic usage (uses default voice: Shiny)
python scripts/tts.py "Hello, this is a test of Doubao text-to-speech service"

# Specify output file and format
python scripts/tts.py "Welcome to use TTS" -o output.mp3 -e mp3

# Read text from file
python scripts/tts.py -f input.txt -o output.mp3

# Adjust parameters
python scripts/tts.py "Custom voice" --speed 1.2 --volume 0.8 -v zh_female_cancan_mars_bigtts

# List all available voices
python scripts/tts.py --list-voices

# List voices by category
python scripts/tts.py --list-voices --category "General-Multilingual"

# Use different cluster
python scripts/tts.py "Hello" --cluster volcano_tts

# Enable debug mode
python scripts/tts.py "Test" --debug

Python API

from scripts.tts import VolcanoTTS, VOICE_TYPES, VOICE_CATEGORIES

# Initialize client
tts = VolcanoTTS(
    app_id="your_app_id",
    access_token="your_access_token",
    secret_key="your_secret_key",
    voice_type="zh_female_cancan_mars_bigtts"  # Optional: set default voice
)

# List available voices
print("All voices:", tts.list_voices())
print("General voices:", tts.list_voices("General-Normal"))

# Change voice
tts.set_voice("zh_male_xudong_conversation_wvae_bigtts")  # Set to "Happy Xiaodong"

# Synthesize speech
output_path = tts.synthesize(
    text="Hello, this is Doubao text-to-speech",
    voice_type="zh_female_cancan_mars_bigtts",  # Optional: override default
    encoding="mp3",
    cluster="volcano_tts",
    speed=1.0,
    volume=1.0,
    output_file="output.mp3"
)
print(f"Audio saved to: {output_path}")

Available Voice Types

General Category (通用场景)

Voice Name Voice Type Description
Shiny (灿灿) zhfemalecancanmarsbigtts Cheerful female voice, suitable for various scenarios
Lively Xiaoning (活泼小宁) zhfemalewanwanxiaohemarsbigtts Lively and playful female voice
Xiaomo (小莫) zhmalexiaomomarsbigtts Warm and friendly male voice
Xiaoqi (小琪) zhfemalexiaoqimarsbigtts Professional female host
AISuper (AI超级大流利) zhfemalegaolanfenqumarsbigtts Super fluent female voice

Emotional Category (情感超自然人声)

Voice Name Voice Type Description
Happy Xiaodong (开心小东) zhmalexudongconversationwvae_bigtts Cheerful and sunny male voice
Sad Xiaoliang (悲伤小亮) zhmalesadxiaoliangsadmars_bigtts Melancholic male voice
Neutral Xiaoshuai (中性小帅) zhmalezhongxingxiaoshuaispeechmars_bigtts Neutral tone male voice
Happy Xiaomei (开心小美) zhfemalegaoxiaomeihappymars_bigtts Cheerful female voice
Angry Xiaotian (愤怒小甜) zhfemaleshengmoxiaotianangrymars_bigtts Angry tone female voice

Intelligent Customer Service (智能客服)

Voice Name Voice Type Description
Customer Service Xiaowen (客服小文) zhmalejingyixiaowenmarsbigtts Professional customer service male voice
Customer Service Xiaorou (客服小柔) zhfemalexiaoroucustomerservicemarsbigtts Gentle customer service female voice

Documentary (纪录片)

Voice Name Voice Type Description
Classic Xiaoming (经典小明) zhmalejingdianxiaomingmarsbigtts Classic documentary male voice
Narration Xiaoran (旁白小然) zhfemalexiaorannarrationmars_bigtts Documentary narration female voice

Audio Novels (有声小说)

Voice Name Voice Type Description
Storytelling Xiaotao (讲书小桃) zhfemalejiangshuxiaotaomarsbigtts Storytelling female voice
Warm Xiaochen (温暖小晨) zhmalewennuanxiaochenmarsbigtts Warm novel reading male voice

News Broadcasting (新闻播报)

Voice Name Voice Type Description
News Xiaozhi (新闻小志) zhmalexinwenxiaozhimarsbigtts Standard news broadcasting male voice
News Xiaojing (新闻小静) zhfemalexinwenxiaojingmarsbigtts Professional news broadcasting female voice
Cantonese News (粤语新闻) zhmaleyueyuxiaowumarsbigtts Cantonese news male voice
Amoy News (闽南语新闻) zhfemaleminnanxiaoyuemarsbigtts Amoy dialect news female voice

General-Multilingual (通用多语言)

Voice Name Voice Type Description
English Gentle (英语男声-柔和) enmalemars_bigtts Gentle English male voice
English Lively (英语女声-活泼) enfemalemars_bigtts Lively English female voice
Japanese Male (日语男声) jamalemars_bigtts Japanese male voice
Japanese Female (日语女声) jafemalemars_bigtts Japanese female voice
Korean Male (韩语男声) komalemars_bigtts Korean male voice
Korean Female (韩语女声) kofemalemars_bigtts Korean female voice
French Male (法语男声) frmalemars_bigtts French male voice
French Female (法语女声) frfemalemars_bigtts French female voice
German Male (德语男声) demalemars_bigtts German male voice
German Female (德语女声) defemalemars_bigtts German female voice
Spanish Male (西班牙语男声) esmalemars_bigtts Spanish male voice
Spanish Female (西班牙语女声) esfemalemars_bigtts Spanish female voice
Russian Male (俄语男声) rumalemars_bigtts Russian male voice
Russian Female (俄语女声) rufemalemars_bigtts Russian female voice
Portuguese Male (葡萄牙语男声) ptmalemars_bigtts Portuguese male voice
Portuguese Female (葡萄牙语女声) ptfemalemars_bigtts Portuguese female voice
Italian Male (意大利语男声) itmalemars_bigtts Italian male voice
Italian Female (意大利语女声) itfemalemars_bigtts Italian female voice
Arabic Male (阿拉伯语男声) armalemars_bigtts Arabic male voice
Arabic Female (阿拉伯语女声) arfemalemars_bigtts Arabic female voice
Hindi Male (印地语男声) himalemars_bigtts Hindi male voice
Hindi Female (印地语女声) hifemalemars_bigtts Hindi female voice
Thai Male (泰语男声) thmalemars_bigtts Thai male voice
Thai Female (泰语女声) thfemalemars_bigtts Thai female voice
Vietnamese Male (越南语男声) vimalemars_bigtts Vietnamese male voice
Vietnamese Female (越南语女声) vifemalemars_bigtts Vietnamese female voice
Indonesian Male (印尼语男声) idmalemars_bigtts Indonesian male voice
Indonesian Female (印尼语女声) idfemalemars_bigtts Indonesian female voice
Malay Male (马来语男声) msmalemars_bigtts Malay male voice
Malay Female (马来语女声) msfemalemars_bigtts Malay female voice
Filipino Male (菲律宾语男声) filmalemars_bigtts Filipino male voice
Filipino Female (菲律宾语女声) filfemalemars_bigtts Filipino female voice
Turkish Male (土耳其语男声) trmalemars_bigtts Turkish male voice
Turkish Female (土耳其语女声) trfemalemars_bigtts Turkish female voice
Dutch Male (荷兰语男声) nlmalemars_bigtts Dutch male voice
Dutch Female (荷兰语女声) nlfemalemars_bigtts Dutch female voice
Polish Male (波兰语男声) plmalemars_bigtts Polish male voice
Polish Female (波兰语女声) plfemalemars_bigtts Polish female voice
Ukrainian Male (乌克兰语男声) ukmalemars_bigtts Ukrainian male voice
Ukrainian Female (乌克兰语女声) ukfemalemars_bigtts Ukrainian female voice
Hebrew Male (希伯来语男声) hemalemars_bigtts Hebrew male voice
Hebrew Female (希伯来语女声) hefemalemars_bigtts Hebrew female voice

Dialect Category (方言场景)

Voice Name Voice Type Description
Cantonese Male (粤语男声) zhmaleyueyuzhongxingmarsbigtts Cantonese male voice
Cantonese Female (粤语女声) zhfemaleyueyumarsmarsbigtts Cantonese female voice
Amoy Male (闽南语男声) zhmaletaiminmarsmarsbigtts Amoy dialect male voice
Amoy Female (闽南语女声) zhfemaleminnanAImarsmarsbigtts Amoy dialect female voice
Sichuanese (四川话) zhmalesichuanmarsmarsbigtts Sichuan dialect male voice
Shanghainese (上海话) zhfemaleshanghaihuamarsmarsbigtts Shanghainese female voice
Wuhan Dialect (武汉话) zhmalewuhanmarsmarsbigtts Wuhan dialect male voice
Hunan Dialect (湖南话) zhmalehunanmarsmarsbigtts Hunan dialect male voice
Henan Dialect (河南话) zhfemalehenanmarsmarsbigtts Henan dialect female voice
Northeastern Dialect (东北话) zhmaledongbeimarsmarsbigtts Northeastern dialect male voice
Shandong Dialect (山东话) zhmaleshandongmarsmarsbigtts Shandong dialect male voice
Tianjin Dialect (天津话) zhfemaletianjinmarsmarsbigtts Tianjin dialect female voice

Special Categories

Voice Name Voice Type Description
Audiobook Xiaoyu (有声小予) zhfemalexiaoyujingxisanguomarsbigtts Three Kingdoms audiobook voice
Animation Xiaohua (动漫小花) zhfemalexiaohuadongmanmarsbigtts Anime style voice
Rap Xiaoqiang (Rap小蔷) zhfemalexiaoqiangrapmarsbigtts Rap style female voice
RAP General (Rap大将) zhmalerapgeneralmarsbigtts Rap style male voice
Wise Voice (智慧的声音) zhmalejinyumarsmarsbigtts Wise and mature voice
Chattering (唠唠叨叨) zhfemalelaolaodaodaochatmars_bigtts Chatty female voice
Talking Beijing (讲话北京) zhmalejianghuabeijingspeechmars_bigtts Beijing accent
Host Xiaoyang (主播小羊) zhfemalexiaoyanghostmars_bigtts Streamer host style

Output

The generated audio file will be saved to the specified output path (default: output.mp3 in current directory).

Notes

  1. Ensure VOLCANOTTSAPPID, VOLCANOTTSACCESSTOKEN, and VOLCANOTTSSECRETKEY environment variables are set
  2. Supports mp3, pcm, and wav formats (mp3 by default)
  3. Speed range: 0.8-2.0 (1.0 is normal)
  4. Volume range: 0.1-3.0 (1.0 is normal)
  5. Voice types can be viewed using --list-voices
  6. Different clusters may support different voice types; default cluster is volcano_tts
  7. For non-Chinese text, use multilingual voices from "General-Multilingual" category