-
#7056 Parameter `lang_choice` is not a valid key-word argument. Please click on 'view API' in the footer of the Gradio app to see usage.:{'text': '你好啊,我亲爱的朋友,希望你的每一天都是美好愉快的!', 'role': 'z...
💬 3[Last reply:29 days ago] gradio_api.txt 文件需要手动创建,软件默认不会自带。你的报错说明已经向该 Gradio 接口传递了 lang_choice 参数,但该参数并非你所对接的 TTS WebUI 接口的有效参数。请按以下步骤操作:定位软件根目录:进入 sp.exe 或 sp.py 所在的文件夹(即 G:/win-pyvideotrans-v4.11)。新建配置文件:在该目录下新建一个文本文件,命名为 gr...27.17**0 Posted at: 29 days ago -
#7057 Audio listen unavailable for original voice clone...
💬 1[Last reply:29 days ago] This error means pyVideoTrans cannot access/read the audio from the original video, which is required for clone voice cloning (it needs to extract reference audio slices from the original file).Common...103.28**3 Posted at: 29 days ago -
#7055 必须填写 密钥 信息...
💬 1[Last reply:29 days ago] 这是某个需要配置 API 密钥的在线渠道(翻译、语音识别或配音)被选中,但密钥未填写导致的。解决方法:定位是哪个渠道报错:查看主界面当前选中的:语音识别渠道(第2行):如为 阿里百炼、豆包、OpenAI、Gemini、Deepgram、小米 等在线API翻译渠道(第3行):如为 DeepSeek、OpenAI、Gemini、百度翻译、腾讯翻译、阿里翻译、DeepL 等配音渠道(第4行):如为 豆包...2408**9739 Posted at: 29 days ago -
#7054 如何生成高清视频...
💬 1[Last reply:29 days ago] 视频翻译后生成视频的清晰度由以下参数控制,请按需调整:视频输出质量:进入 菜单 → 工具 → 高级选项 → 视频输出控制,将「视频输出质量控制」设为较小值(0=无损,51=质量差文件小),默认约 23,调至 18~20 可显著提升清晰度。输出视频压缩率:同一面板中,将「输出视频压缩率」从默认 veryfast 改为 slow 或 slower,压缩率越高、画面细节保留越好。编码格式:选择 265 ...117.185**4 Posted at: 29 days ago -
#7053 无效的值或参数:invalid literal for int() with base 10: 'qwen':Traceback (most recent call last): File...
💬 1[Last reply:29 days ago] 此错误是因为你在翻译渠道中选择了阿里百炼(Qwen)API,但配置的模型名称不正确。代码在解析模型名称时,期望得到有效的模型 ID(如 qwen-plus、qwen-max 等),却收到了字符串 'qwen',导致 int() 转换失败。解决方法:打开软件顶部菜单:翻译设置 → 阿里百炼;检查「模型名称」输入框,务必填写完整的纯文本模型 ID,例如:qwen-plusqwen-...2408**9739 Posted at: 29 days ago -
#7052 This model is not available in your region.https://openrouter.ai/api/v1...
💬 1[Last reply:29 days ago] 该错误是由于 OpenRouter 平台针对特定模型(例如 google/gemini-3.8-flash)实施了地域限制,而您当前的 IP 或账户所在区域不在允许范围内,因此 OpenRouter 返回 403 This model is not available in your region.。解决方案:更换模型:在该 OpenRouter 渠道配置中,将模型名称换成不受地域限制的其他模型,...2409**53ed Posted at: 29 days ago -
#7051 microsoft/mai-transcribe-2 is a transcription model and cannot be used with the chat/completions endpoint. Use the /api/v1/audio/transcriptions endpoint instead.https://openrouter....
💬 1[Last reply:29 days ago] 问题核心原因:你在字幕翻译渠道中选择了 microsoft/mai-transcribe-2,但这是一个语音转录(ASR)模型,只能用于音频转文字接口(/audio/transcriptions),不能用于文本翻译的 chat/completions 接口。你当前配置的是翻译渠道,但填入了一个识别模型。解决方案:将翻译渠道中的模型改成一个文本对话/文本翻译类大模型,例如:openai/gpt-4o...2409**53ed Posted at: 29 days ago -
#7050 [Errno 2] No such file or directory: 'Chapter_One_LongJiao_1/zh-cn.wav'...
💬 1[Last reply:29 days ago] 该报错 No such file or directory: 'Chapter_One_LongJiao_1/zh-cn.wav' 表示软件在处理过程中期望读取某个已生成的 .wav 文件,但该文件不存在。可能的原因及排查步骤:路径或文件名含特殊字符:当前路径 Chapter_One_LongJiao_1 包含下划线,但请确认整个视频所在目录及文件名是否包含中文、空格或特殊符号...183.253**4 Posted at: 29 days ago -
#7049 indextts Service must be deployed and running before useself.api_url='http://127.0.0.1:7860'...
💬 1[Last reply:1 month ago] The error indicates that the Index-TTS service is not running locally on port 7860. Index-TTS is a "LocalAPI" channel, meaning you must first deploy and start the service yourself before it can be use...186.154**9 Posted at: 1 month ago -
#7048 D:/AI/pyVideoTrans/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base does not appear to have a file named speech_tokenizer/config.json. Checkout 'https://huggingface.co/D:/AI/pyVideoTr...
💬 1[Last reply:1 month ago] 该报错是因为本地 Qwen3-TTS 模型目录 models--Qwen--Qwen3-TTS-12Hz-0.6B-Base 下的文件不完整,缺失了 speech_tokenizer/config.json。软件判定模型未下载成功或文件被截断,因此提示找不到该文件。请按以下步骤修复:删除残缺模型目录:进入 D:/AI/pyVideoTrans/models/,将 models--Qwen--Qwe...104.28**0 Posted at: 1 month ago -
#7047 ASR Error [FunASR(Local)] Traceback (most recent call last): File...
💬 1[Last reply:1 month ago] The root cause is a network timeout while automatically downloading the FunASR model (paraformer-zh) from www.modelscope.cn. The connection to the model repository timed out during the initial downloa...202.150**2 Posted at: 1 month ago -
#7046 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth...
💬 1[Last reply:1 month ago] 微软翻译接口已被微软官方更改,旧版本已失效。您当前版本 v3.84 过低,必须升级到 v4.09 或更高版本。解决方案:下载最新完整版或补丁包进行覆盖升级,下载地址:https://pyvideotrans.com/downpackage升级后若仍报此错,重新下载最新补丁包覆盖一次,再重启软件。备用方案(推荐): 改用 DeepSeek 翻译效果更好且价格极低。前往 https://platfo...122.238**0 Posted at: 1 month ago -
#7045 网络连接失败Traceback (most recent call last):...
💬 1[Last reply:1 month ago] 这是由于 Google 语音识别 API 在国内网络环境下无法直接访问,连接超时(WinError 10060)。虽然你已填写代理 http://127.0.0.1:7897,但该代理可能未生效或无法连通 Google 服务。解决步骤:确认代理服务已启动且端口 7897 正确(可在浏览器测试访问 https://www.google.com 是否成功)。若代理协议为 SOCKS5,请将代理地址改为...103.62**0 Posted at: 1 month ago -
#7044 语音识别阶段出错[字节语音大模型极速版] 413 Client Error: Payload Too Large for url: https://openspeech.bytedance.com/api/v3/auc/bigmodel/recognize/flashTraceback (most recent call last):...
💬 1[Last reply:1 month ago] 这是字节语音识别大模型极速版接口对单次请求的音频长度/大小有限制导致的。你的音频切片过长,超出了接口允许的 payload 上限。解决步骤:缩小语音切片长度:进入 菜单 → 工具 → 高级选项 → 语音识别参数,将 最长语音持续(秒) 调小,建议设为 10~20秒 左右。这样每次发送给字节接口的音频片段会显著减小,避免 413。确认代理设置:日志显示你填了代理 http://127.0.0.1:7...2404**9731 Posted at: 1 month ago -
#7043 语音识别阶段出错[faster-whisper(内置)] Unable to allocate 1.06 GiB for an array with shape (1, 708763, 400) and data type float32:Traceback (most recent call last): File...
💬 1[Last reply:1 month ago] 这是系统内存不足导致的,不是显存问题。faster-whisper 在特征提取阶段需要为整个音频一次性分配浮点矩阵(报错要求约 1.06GiB),你的视频时长约 2 小时,音频过长时内存峰值会耗尽。解决步骤关闭其他占用内存的程序,特别是浏览器、大型软件。增大 Windows 虚拟内存:右键“此电脑” → 属性 → 高级系统设置 → 设置 → 高级 → 虚拟内存 → 手动分配,建议设为物理内存的 1...240e**7a9d Posted at: 1 month ago -
#7042 请求的资源不存在,请检查模型名称或API地址 Error code: 404 - {'error': {'message': 'Not found the model moonshot-v1-8k or Permission denied', 'type': 'resource_not_found_error'}}:Traceback (most recen...
💬 1[Last reply:1 month ago] 报错原因:你配置的翻译渠道(兼容AI/本地模型)中填写的模型名称 moonshot-v1-8k 已不存在,或你的 API 密钥没有调用该模型的权限(Moonshot AI 已停用/更名该模型)。解决方案打开软件顶部菜单:设置 → 翻译设置 → 兼容AI/本地模型。检查「模型名称」字段,将 moonshot-v1-8k 改为 Moonshot AI 当前可用的模型,例如:moonshot-v1-8k...122.238**0 Posted at: 1 month ago -
#7041 网络连接失败:Traceback (most recent call last): File...
💬 1[Last reply:1 month ago] 这是 API Key 中包含了换行符导致的。报错 Illegal header value b'Bearer \nsk-...' 表明请求头中的 Bearer Token 被插入了 \n 换行,常见的粘贴或复制错误。解决方法:打开软件 菜单 → 翻译设置 → 对应 AI/OpenAI兼容渠道,删除当前填写的 API Key。重新粘贴你的 API Key,确保只包含密钥字符串本身...122.238**0 Posted at: 1 month ago -
#7040 Error code: 404 - {'error': {'message': 'Not found the model moonshot-v1-8k or Permission denied', 'type': 'resource_not_found_error'}}...
💬 1[Last reply:1 month ago] 这个错误表示您调用的模型中,moonshot-v1-8k 不存在于您当前配置的 API 服务中,或者该模型未被您的账号授权访问,导致返回 404。请按以下步骤排查:检查您使用的翻译渠道(例如 OpenAI ChatGPT 或兼容渠道)中填写的模型名称是否正确。确认该 API 服务商是否还提供 moonshot-v1-8k 这个模型,部分平台可能已下架或改名。确认您的 API 密钥(SK)对应的账号...122.238**0 Posted at: 1 month ago -
#7039 翻译字幕阶段出错 [兼容AI/本地模型] Connection error.Traceback (most recent call last):...
💬 1[Last reply:1 month ago] 这是由于你配置的「兼容AI/本地模型」翻译渠道 API 地址无法连接(目标计算机拒绝连接),通常是本地服务未启动、地址/端口填写错误,或 API 地址填成了 0.0.0.0。请按以下步骤排查:确认你本地部署的兼容 OpenAI 接口的大模型服务(如 Ollama、LM Studio、vLLM、LocalAI 等)已经启动并正常运行,且服务窗口无报错。检查软件中填写的 API 地址是否正确:若地址填...203.175**3 Posted at: 1 month ago -
#7038 多次重试连接失败,服务可能暂时不可用Traceback (most recent call last):...
💬 1[Last reply:1 month ago] 这是由于 DNS 解析失败(getaddrinfo failed) 导致的。系统无法将阿里云百炼的域名 ws-c38u9ela7yibuaoy.cn-beijing.maas.aliyuncs.com 解析为 IP 地址,因此无法建立 HTTPS 连接。常见原因是代理配置错误或网络/DNS 异常。阿里百炼是国内 API,不应走代理。解决方案(按顺序操作):清空代理设置 在主界面的代理文本框中,若...106.16**4 Posted at: 1 month ago
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.