Skip to content

Fix tts_with_vc failing on XTTS when using speaker_wav#4380

Closed
rj25031 wants to merge 1 commit intocoqui-ai:devfrom
rj25031:fix-tts-with-vc-speaker-wav
Closed

Fix tts_with_vc failing on XTTS when using speaker_wav#4380
rj25031 wants to merge 1 commit intocoqui-ai:devfrom
rj25031:fix-tts-with-vc-speaker-wav

Conversation

@rj25031
Copy link

@rj25031 rj25031 commented Dec 15, 2025

When using XTTS (tts_models/multilingual/multi-dataset/xtts_v2), the helper methods
tts_with_vc() and tts_with_vc_to_file() fail with:

ValueError: Model is multi-speaker but no speaker is provided.

This happens even when speaker_wav is provided, which should be sufficient for voice cloning with XTTS.

After inspecting the source, this appears to be a logic bug in how tts_with_vc internally calls tts_to_file.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@stale
Copy link

stale bot commented Jan 15, 2026

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels.

@stale stale bot added the wontfix This will not be worked on but feel free to help. label Jan 15, 2026
@stale stale bot closed this Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wontfix This will not be worked on but feel free to help.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants