#5998 [Clone-Voice] 该渠道需另行部署并启动后可用self.api_url='http://127.0.0.1:9988'

2600:1f14* Posted at: 1 day ago

[Clone-Voice] 该渠道需另行部署并启动后可用
self.api_url='http://127.0.0.1:9988'

Traceback (most recent call last):
File "/Users/a1-6/Downloads/pyvideotrans-main/.venv/lib/python3.10/site-packages/urllib3/connection.py", line 198, in _new_conn

sock = connection.create_connection(

File "/Users/a1-6/Downloads/pyvideotrans-main/.venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection

raise err

File "/Users/a1-6/Downloads/pyvideotrans-main/.venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection

sock.connect(sa)

ConnectionRefusedError: [Errno 61] Connection refused

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

Traceback (most recent call last):
File "/Users/a1-6/Downloads/pyvideotrans-main/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen

response = self._make_request(

File "/Users/a1-6/Downloads/pyvideotrans-main/.venv/lib/python
......
packages/tenacity/__init__.py", line 477, in call

do = self.iter(retry_state=retry_state)

File "/Users/a1-6/Downloads/pyvideotrans-main/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 378, in iter

result = action(retry_state)

File "/Users/a1-6/Downloads/pyvideotrans-main/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 400, in

self._add_action_func(lambda rs: rs.outcome.result())

File "/Users/a1-6/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/lib/python3.10/concurrent/futures/_base.py", line 451, in result

return self.__get_result()

File "/Users/a1-6/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result

raise self._exception

File "/Users/a1-6/Downloads/pyvideotrans-main/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 480, in call

result = fn(*args, **kwargs)

File "/Users/a1-6/Downloads/pyvideotrans-main/videotrans/tts/_clone.py", line 43, in _run

raise StopTask(f"[Clone-Voice] {tr('This channel needs deployed and started before available')}\n{self.api_url=}\n") from e

videotrans.configure.excepts.StopTask: [Clone-Voice] 该渠道需另行部署并启动后可用
self.api_url='http://127.0.0.1:9988'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: /Users/a1-6/Desktop/30.mp4,
输出结果保存到文件夹: /Users/a1-6/Desktop/_video_out/30-mp4,
临时文件夹: /Users/a1-6/Downloads/pyvideotrans-main/tmp/14564/a1cf089c43
已选 清理已存在
未选 启用CUDA加速
已选 降噪
已选 识别说话人,最大说话人数量2
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:clone-voice(本地API), 角色:clone, 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:-4%, 已选 音频加速, 已选 视频慢速
字幕: 嵌入硬字幕(双) 目标语言在上双字幕
代理地址:http://127.0.0.1:7897


=
system:macOS-15.7.4-arm64-arm-64bit
version:v4.06
frozen:False
language:zh
root_dir:/Users/a1-6/Downloads/pyvideotrans-main
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]

1 Replies

这是由于本地 API 配音渠道 clone-voice 尚未部署或未启动导致的连接失败。软件尝试连接 http://127.0.0.1:9988,但服务不存在。

解决方法:

  1. 部署并启动 clone-voice 服务
    前往 clone-voice 的官方仓库(例如 GitHub),按照其文档完成本地部署并启动 API 服务。默认监听端口为 9988,启动后应保持运行。
  2. 确认 API 地址正确
    在软件菜单 菜单 → TTS 设置 → clone-voice 中,检查 API 地址 是否与本机启动的服务一致(通常为 http://127.0.0.1:9988)。若部署时修改了端口,请同步修改。
  3. 测试连接
    启动服务后,可在浏览器中访问 http://127.0.0.1:9988/apitts(或配置的地址),应返回有效响应。确认无误后,重新执行翻译任务即可。
Post Your Reply
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

Dondate via PayPal

Related resource