doubao-tts
Skill10 starsChanged 3 months agoMITView on GitHub
使用豆包 V3 HTTP SSE 和复刻音色合成中文短视频配音,支持中文稿件、语速、音量、音调、复刻音色还原、实验性风格提示、长稿自动分段与 MP3 拼接。用户要求中文配音、短视频旁白、豆包 TTS、复刻声音、调语速/音调/音量或把中文稿件生成音频时使用。
- Reads credentials
9 other projects use a version of this.
Adopted by
Most recently taken up by
- OpenMontageInc/OpenMontagetheir own version, first seen Nov 8, 2026
- calesthio/OpenMontagetheir own version, first seen Nov 8, 2026
- agentrix-ai/skillstheir own version, first seen Oct 20, 2026
- lizliz404/agent-skillstheir own version, first seen Oct 20, 2026
- Gopyr/gopyr-skills-hubtheir own version, first seen Oct 11, 2026
- lsongdev/skillstheir own version, first seen Sep 10, 2026
Used with
Projects with it also use hyperframes-cli.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillhyperframes-cli
HyperFrames CLI tool — hyperframes init, lint, inspect, preview, render, transcribe, tts, doctor, browser, info, upgrade, compositions, docs, benchmark. Use when scaffolding a project, linting, validating, inspecting visual layout in compositions, previewing in the studio, rendering to video, transcribing audio, generating TTS, or troubleshooting the HyperFrames environment.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- calesthio/OpenMontage★ 78ksame name
- OpenMontageInc/OpenMontage★ 78ksame name
- xvirobotics/metabot★ 999same name
- OpenMinis/MinisSkills★ 602same name
- LinHao-city/StoryMind★ 10same name
- agentrix-ai/skills★ 1same name
- Gopyr/gopyr-skills-hub★ 0same name
- lizliz404/agent-skills★ 0same name
- lsongdev/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- blue-posterSkill
- image-to-pagesSkill
- mac-cleanupSkill
- memory-fragment-postersSkill
- ppt-component-atlasSkill
- prompt-creatorSkill
- prompt-optimizerSkill
- skill-optimizerSkill
- wise-image-flowSkill
The file
Files
Doubao TTS
工作流
- 检查
python3、ffprobe;稿件超过单段上限时额外检查ffmpeg。 - 未配置时,让用户在终端执行配置命令;不要索取或回显 API Key。
- 将用户提供的中文稿保存为 UTF-8 文本,或通过
--text直接传入短句。 - 调用
scripts/doubao_tts.py synthesize。默认保持原始语速、音量和音调;只有用户明确要求时才调整。 - 检查命令返回的 JSON:
status必须为ok,duration_seconds必须大于 0,且输出文件存在。 - 把音频绝对路径交给用户试听;不要代替用户判断声音是否自然、像本人或情绪是否准确。
配置
在 Skill 目录中执行:
python3 scripts/doubao_tts.py configure \
--api-key-stdin \
--speaker '<复刻音色 ID>'命令会把个人配置写入 ~/.config/doubao-tts/config.json 并设为 0600。配置、API Key 和完整个人音色 ID 不得写入 Skill、项目文件、Git、日志或回答。
环境变量 DOUBAO_TTS_API_KEY、DOUBAO_TTS_SPEAKER、DOUBAO_TTS_RESOURCE_ID、DOUBAO_TTS_MODEL 可临时覆盖配置。DOUBAO_TTS_CONFIG 可覆盖配置文件路径。
合成
短文本:
python3 scripts/doubao_tts.py synthesize \
--text '这是一段中文短视频配音。' \
--output ./voiceover.mp3长稿与数值调节:
python3 scripts/doubao_tts.py synthesize \
--text-file ./script.txt \
--output ./voiceover.mp3 \
--speech-rate 10 \
--pitch -1 \
--loudness-rate 5 \
--tone-fidelity复刻 2.0 风格提示:
python3 scripts/doubao_tts.py synthesize \
--text-file ./script.txt \
--output ./voiceover.mp3 \
--style-prompt '用自然、克制、有亲和力的短视频旁白语气演绎'--text 与 --text-file 二选一。输出已存在时默认拒绝覆盖;确认目标正确后使用 --force。参数边界:语速和音量 [-50, 100],音调 [-12, 12]。
失败处理
missing_config:让用户执行配置命令,或临时设置环境变量。dependency_missing:安装 JSON 中点名的系统命令;不要自动安装依赖。service_error:记录脱敏错误、请求 ID 和服务端 LogID,不要重试收费请求,除非用户同意。style_prompt被服务端拒绝:去掉该参数生成数值调节版本,并说明当前音色不支持实验性风格提示。- 任意失败后确认最终目标文件未被半成品覆盖;脚本会自动清理临时分段。
能力范围、请求字段与已知冲突见 references/capabilities.md。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

