#6389 InvalidParameter:url error, please check url! For details, see: https://help.aliyun.com/zh/model-studio/error-code#error

116.162.**8 Posted at: 15 hours ago

InvalidParameter:url error, please check url! For details, see: https://help.aliyun.com/zh/model-studio/error-code#error-url
Traceback (most recent call last):
File "videotrans\recognition\_base.py", line 92, in run
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 421, in exc_check
tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 62, in run
File "videotrans\task\_stage_recogn.py", line 62, in recogn
File "videotrans\recognition\__init__.py", line 206, in run
File "videotrans\recognition\_base.py", line 99, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\recognition\_qwen3asr.py", line 69, in _exec
videotrans.configure.excepts.SpeechToTextError: InvalidParameter:url error, please check url! For details, see: https://help.aliyun.com/zh/model-studio/error-code#error-url

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/ike/咖啡心语/咖啡心语p1-30分钟.mp4,
输出结果保存到文件夹: D:/ike/咖啡心语/8月5日/咖啡心语p1-30分钟-mp4,
临时文件夹: E:/ike/win-pyvideotrans-v4.08-0802/tmp/2648/c4a9d50349
未选 清理已存在
未启用CUDA加速
未选 降噪
已选 删除所有标点符号
语音识别:阿里百炼API/Qwen3-ASR, model_name: , 发音语言: 英语, 断句方式:LLM重新断句
翻译渠道:DeepSeek,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕(双) 目标语言在上双字幕
已选 仅输出mp4
代理地址:


=
system:Windows-10-10.0.22621-SP0
version:v4.08
frozen:True
language:zh
root_dir:E:/ike/win-pyvideotrans-v4.08-0802

1 Replies

这是阿里百炼 API 请求地址无效导致的报错。日志显示 语音识别:阿里百炼API/Qwen3-ASR, model_name: ,您的模型名为空,导致软件构造的 API 请求 URL 不完整或指向了错误的模型端点,因此阿里云返回 url error

解决方法

  1. 打开软件顶部 菜单 -> 翻译设置 -> 阿里百炼 设置面板。
  2. 确认已填写有效的 API Key。
  3. 在模型选择中为 Qwen3-ASR 识别渠道选择一个具体模型(例如 qwen3-asr-flashqwen3-asr-flash-filetrans),不要留空。
  4. 检查 API 地址(Base URL)是否为阿里百炼正确的兼容端点,不要填写 0.0.0.0,本地服务请使用 127.0.0.1
  5. 阿里百炼是国内 API,默认不走代理,请在主界面「网络代理」留空或确保代理地址填写正确,填写无效代理会导致所有网络请求失败。
  6. 确认账户有余额且服务已开通,余额不足也可能间接导致请求异常。

如果配置无误仍然报错,请提供 菜单 -> 翻译设置 -> 阿里百炼 面板中的模型名和 API 地址截图,以及 logs/ 目录下最新日志文件底部约 30 行报错信息,以便进一步分析。

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