-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
feat(tts): xiaomi voicedesign/voiceclone model support #87816
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Problem
The Xiaomi TTS provider only supports
mimo-v2.5-ttsandmimo-v2-ttsinXIAOMI_TTS_MODELS. The newermimo-v2.5-tts-voicedesignandmimo-v2.5-tts-voiceclonemodels are not recognized, so they cannot be selected via config.Additionally, the
voicedesignandvoiceclonemodels do not accept avoiceparameter in theaudiofield — passing it returns HTTP 400Param Incorrect. The currentxiaomiTTSfunction always includesvoicein the request body regardless of model.Affected file
dist/speech-provider-Cc3hcgqu.jsReproduction
Set
messages.tts.providers.xiaomi.modeltomimo-v2.5-tts-voicedesigninopenclaw.json. TTS fails silently (model not in list) or returns 400 if the model somehow reaches the API with avoicefield.Fix
1. Extend
XIAOMI_TTS_MODELS:2. Conditionally omit
voicefor voicedesign/voiceclone:References