docs(tts): add Doubao (Chinese seed-tts-2.0) command-provider example#18065
Closed
Hypnus-Yuan wants to merge 1 commit into
Closed
docs(tts): add Doubao (Chinese seed-tts-2.0) command-provider example#18065Hypnus-Yuan wants to merge 1 commit into
Hypnus-Yuan wants to merge 1 commit into
Conversation
9cc1f77 to
a3c1692
Compare
Contributor
Author
|
Update: migrated the example from
The commit is amended + force-pushed on the same branch, so the diff vs |
a3c1692 to
419c4d3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a worked example under the "Custom command providers" section of the Voice & TTS docs, showing how to use Volcengine/ByteDance's Doubao seed-tts-2.0 bidirectional-streaming TTS via the existing
tts.providers.<name>command-type surface that was merged in #17843.No code changes — this is a docs-only PR. It documents an integration path users can take today, using the newly-published
doubao-ttsPyPI package as the command backend.Why
#17843's command-type provider makes this a one-liner — the doc just needed to show people how.What it looks like
After the existing
piper-customexample, a new subsection:Testing
npm run build(Docusaurus) passes locally — build completes cleanly, no new broken anchors introduced by this diff.doubao-ttspackage itself is tested separately: 69 unit tests, 95% coverage, mypy strict; ships from https://github.com/Hypnus-Yuan/doubao-tts.Relation to prior work
This supersedes the approach I was exploring in #17589 (closed). That PR was trying to pull TTS into a Python plugin ABC before #17843 landed; once #17843 shipped, the command-type provider became the correct layer and the plugin ABC was the wrong abstraction. This PR is the minimal doc-level follow-up that makes the #17843 surface actually discoverable for Chinese-language use cases.
Checklist
npm run buildpasses locallydoubao-tts) is MIT-licensed, published to PyPI, public repo