Doubao Ttsのロゴ

Doubao Tts

組織
OpenMinis
doubao-tts

Use Doubao Text-to-Speech (Volcengine TTS) to convert text into audio files. When a user mentions "Doubao TTS," "Doubao Text-to-Speech," "doubao tts," "Volcengine TTS," "volcengine tts," "speech synthesis," "text-to-speech," "TTS," "generate audio," "read text aloud," or any scenario requiring the Doubao/Volcengine Text-to-Speech API, this skill must be triggered.

Add to TypingMind

概要

公開者OpenMinis
リポジトリMinisSkills
スキル名doubao-tts
スター
543
フォーク
86
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    OpenMinisがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Doubao Tts」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/OpenMinis/MinisSkills/tree/main/doubao-tts
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git /tmp/MinisSkills
mkdir -p .claude/skills
cp -r /tmp/MinisSkills/doubao-tts .claude/skills/doubao-tts
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDoubao Ttsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDoubao Ttsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Doubao Ttsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Doubao TTS Skill (V3)

Use the Volcengine Doubao Text-to-Speech V3 HTTP SSE unidirectional streaming API to convert text into audio files.

Get an API Key (Recommended, New Console)

  1. Log in to the Volcengine Console
  2. Go to Doubao Voice → Text-to-Speech Large Model → Application Management
  3. Create an application or use an existing one
  4. On the API Key Management page, get the API Key → corresponding to DOUBAO_TTS_API_KEY

If you have not enabled the service yet, enable it first on the Text-to-Speech Large Model page.

Legacy Console (AppID + Token)

At the bottom of the application details page in the legacy console, you can find:

  • APP ID → DOUBAO_TTS_APPID
  • Access Token → DOUBAO_TTS_TOKEN

Environment Variables

Variable NameDescriptionRecommended
DOUBAO_TTS_API_KEYAPI Key (new console, X-Api-Key)✅
DOUBAO_TTS_APPIDAppID (legacy console, X-Api-App-Id)
DOUBAO_TTS_TOKENAccess Token (legacy console, X-Api-Access-Key)
DOUBAO_TTS_RESOURCE_IDResource ID; leave blank to use the default seed-tts-2.0

Check whether they are configured:

sh
[ -n "$DOUBAO_TTS_API_KEY" ] && echo "API_KEY: set" || echo "API_KEY: not set"
[ -n "$DOUBAO_TTS_APPID" ] && echo "APPID: set" || echo "APPID: not set"
[ -n "$DOUBAO_TTS_TOKEN" ] && echo "TOKEN: set" || echo "TOKEN: not set"

If they are not configured, tell the user to set them (prefer API Key): Set DOUBAO_TTS_API_KEY | Set DOUBAO_TTS_RESOURCE_ID

Legacy console (AppID + Token): Set DOUBAO_TTS_APPID | Set DOUBAO_TTS_TOKEN

Usage

Call the script: /var/minis/skills/doubao-tts/scripts/tts.py

sh
# Basic usage
uv run --script --cache-dir /root/.cache/uv \
  /var/minis/skills/doubao-tts/scripts/tts.py \
  --text "Hello, and welcome to Doubao Text-to-Speech." \
  --output /var/minis/workspace/output.mp3

# Specify voice and speech rate
uv run --script --cache-dir /root/.cache/uv \
  /var/minis/skills/doubao-tts/scripts/tts.py \
  --text "The weather is really nice today." \
  --speaker zh_female_cancan_uranus_bigtts \
  --speech-rate 10 \
  --output /var/minis/workspace/output.mp3

# English
uv run --script --cache-dir /root/.cache/uv \
  /var/minis/skills/doubao-tts/scripts/tts.py \
  --text "Hello! Nice to meet you." \
  --speaker en_female_dacey_uranus_bigtts \
  --output /var/minis/workspace/output.mp3

API Description

  • Endpoint: https://openspeech.bytedance.com/api/v3/tts/unidirectional/sse (SSE streaming)
  • Authentication (choose one):
    • New console: Header X-Api-Key (API Key)
    • Legacy console: Header X-Api-App-Id + X-Api-Access-Key (AppID + Token)
  • Resource ID: Specifies the model version to call (see the table below)
  • Usage response: The script includes X-Control-Require-Usage-Tokens-Return: text_words by default, which returns the number of billable characters (text_words) when synthesis ends
Resource IDDescription
seed-tts-1.0Doubao Text-to-Speech Model 1.0 character version (default, compatible with all BV*_streaming voices)
seed-tts-1.0-concurrDoubao Text-to-Speech Model 1.0 concurrency version
seed-tts-2.0Doubao Text-to-Speech Model 2.0 (supports only 2.0 voices)

Parameters

ParameterDescription
--textText to synthesize (required)
--outputOutput file path (required)
--api-keyAPI Key (new console, takes precedence over APPID/TOKEN)
--appidAppID (legacy console)
--tokenAccess Token (legacy console)
--speakerVoice, default zh_female_shuangkuaisisi_uranus_bigtts (Shuangkuai Sisi 2.0)
--encodingFormat: mp3/pcm/ogg_opus, default mp3
--speech-rateSpeech rate [-50, 100], where 0 is the default and 100 is 2x speed
--loudnessVolume [-50, 100], where 0 is the default
--sample-rateSample rate, default 24000
--emotionEmotion, such as happy/sad/angry/narrator
--emotion-scaleEmotion intensity [1, 5] (used with --emotion)
--resource-idResource ID (overrides the environment variable)
--jsonOutput result in JSON format

Quick Reference for Common Voices

Doubao Text-to-Speech Model 2.0 (seed-tts-2.0, recommended)

speakerNameScenario
zh_female_shuangkuaisisi_uranus_bigttsShuangkuai Sisi 2.0 ⭐ DefaultGeneral
zh_female_cancan_uranus_bigttsZhixing Cancan 2.0Role-playing
zh_female_tianmeixiaoyuan_uranus_bigttsTianmei Xiaoyuan 2.0General
zh_female_vv_uranus_bigttsVivi 2.0General, Chinese/Japanese/Indonesian/Mexican Spanish, Sichuan/Shaanxi/Northeastern dialects
zh_female_xiaohe_uranus_bigttsXiaohe 2.0General
zh_male_m191_uranus_bigttsYunzhou 2.0General
zh_male_taocheng_uranus_bigttsXiaotian 2.0General
zh_female_kefunvsheng_uranus_bigttsNuanyang Female Voice 2.0Customer service
en_female_dacey_uranus_bigttsDaceyMultilingual (English)
en_male_tim_uranus_bigttsTimMultilingual (English)

Doubao Text-to-Speech Model 1.0 (seed-tts-1.0, requires changing --resource-id)

speakerNameScenario
BV700_streamingCancanGeneral, supports 22 emotions
BV001_streamingGeneral Female VoiceGeneral
BV002_streamingGeneral Male VoiceGeneral
BV701_streamingQingcangAudiobook
BV503_streamingEnergetic Female Voice-ArianaEnglish

⚠️ 1.0 and 2.0 voices cannot be mixed. seed-tts-2.0 supports only voices ending in *_uranus_bigtts.

Common Emotion Values

pleased (pleased) / sorry (sorry) / happy (happy) / sad (sad) / angry (angry) / scare (scared) / surprise (surprised) / hate (disgust) / tear (tearful voice) / narrator (narrator) / storytelling (storytelling)

Complete Workflow

  1. Check whether environment variables are configured (first DOUBAO_TTS_API_KEY, then DOUBAO_TTS_APPID + DOUBAO_TTS_TOKEN)
  2. Call the tts.py script to generate an audio file in /var/minis/workspace/
  3. Return it to the user as a minis://workspace/xxx.mp3 link, which they can click to play directly.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Doubao Tts」では何ができますか?

Use Doubao Text-to-Speech (Volcengine TTS) to convert text into audio files. When a user mentions "Doubao TTS," "Doubao Text-to-Speech," "doubao tts," "Volcengine TTS," "volcengine tts," "speech synthesis," "text-to-speech," "TTS," "generate audio," "read text aloud," or any scenario requiring the Doubao/Volcengine Text-to-Speech API, this skill must be triggered.

TypingMindでDoubao Ttsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Doubao Ttsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDoubao Ttsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/OpenMinis/MinisSkills/tree/main/doubao-ttsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Doubao Ttsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Doubao Ttsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDoubao Ttsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Doubao Tts」は無料ですか?

はい。OpenMinisがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇