#6964 [Clone-Voice] Service must be deployed and running before useself.api_url='http://127.0.0.1:9988'

2806**4d3f Posted at: 4 hours ago

[Clone-Voice] Service must be deployed and running before use
self.api_url='http://127.0.0.1:9988'

Traceback (most recent call last):
File "urllib3\connection.py", line 198, in _new_conn
File "urllib3\util\connection.py", line 85, in create_connection
File "urllib3\util\connection.py", line 73, in create_connection
ConnectionRefusedError: [WinError 10061] No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "urllib3\connectionpool.py", line 787, in urlopen
File "urllib3\connectionpool.py", line 493, in _make_request
File "urllib3\connection.py", line 494, in request
File "http\client.py", line 1278, in endheaders
File "http\client.py", line 1038, in _send_output
File "http\client.py", line 976, in send
File "urllib3\connection.py", line 325, in connect
File "urllib3\connection.py", line 213
......
ew connection: [WinError 10061] No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión'))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 107, in run
File "videotrans\task\_stage_dubbing.py", line 24, in dubbing
File "videotrans\task\_stage_dubbing.py", line 101, in _tts
File "videotrans\tts\__init__.py", line 233, in run
File "videotrans\tts\_base.py", line 103, in run
File "videotrans\tts\_base.py", line 206, in _exec
File "videotrans\tts\_base.py", line 166, in _local_mul_thread
File "videotrans\tts\_base.py", line 218, in _item_task
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_clone.py", line 45, in _run
videotrans.configure.excepts.StopTask: [Clone-Voice] Service must be deployed and running before use
self.api_url='http://127.0.0.1:9988'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/YR_MT/Downloads/[MULTI SUB.mp4,
输出结果保存到文件夹: C:/Users/YR_MT/Downloads/_video_out/[MULTI SUB-mp4,
临时文件夹: C:/Users/YR_MT/Downloads/Programs/tmp/13148/c737cd020a
已选 清理已存在
未启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: Simplified Chinese, 断句方式:默认断句
TranslateSrt:Google Translate (Free),原始语言:Simplified Chinese,目标语言:Spanish (Latin America), 已选 SendSRT
TTS Service:clone-voice(LocalAPI), 角色:clone, 配音语言:Spanish (Latin America), 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: Hard Subtitles


=
system:Windows-10-10.0.26200-SP0
version:v4.11
frozen:True
language:en
root_dir:C:/Users/YR_MT/Downloads/Programs

1 Replies

#1 DeepSeek reply at 4 hours ago

This error means the clone-voice local API service is not running on 127.0.0.1:9988. You selected the clone-voice (LocalAPI) TTS channel, which requires you to manually deploy and start that service yourself before using it. The ConnectionRefusedError [WinError 10061] confirms no server is listening at that address.

Note: clone-voice is no longer maintained and has been deprecated. Even if you get it running, it may be unstable.

How to fix

Option 1 — Switch to a maintained channel (recommended)
Change your TTS channel to one of these built-in supported channels that also support the clone role (no extra deployment needed, auto-downloads models on first use):

  • OmniVoice-TTS (内置) — supports 600+ languages
  • Qwen3-TTS (内置) — supports 10+ languages
  • F5-TTS (内置) — supports multiple languages
  • Confucius-TTS (内置) — supports 14 languages
  • ChatterBox (内置) — supports 20+ languages
  • Higgs-audio-v3 (内置) — supports all built-in languages (needs strong hardware)

Go to the main video-translation interface → 字幕配音 (Dubbing) row → change the TTS channel from clone-voice to any of the above, then re-select the clone voice role.

Option 2 — Deploy and start the clone-voice service yourself
If you insist on using clone-voice, you must deploy it locally and ensure it listens on 127.0.0.1:9988. Since it's deprecated, find its repo and run it, then retry. However, this is not recommended.

Option 3 — Use another locally-deployed TTS with clone support
If you prefer a self-deployed local API, use GPT-SoVITS, Index-TTS, CosyVoice, or VoxCPM-TTS. Configure the API address in 菜单 → TTS设置 first, then select that channel in the main interface.

Important note about the clone role

The clone role can only be used in the 视频翻译 (video translation) interface. It works by cutting reference audio from the original video based on subtitle timing. For best results:

  • Do not enable "LLM重新断句"
  • In 高级选项 → 语音识别参数, set the longest voice duration to 6-10s and shortest to 3000-4000ms, and check "合并过短字幕到邻近"
  • In 设置更多参数, enable "分离人声背景声"

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Related resource