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

141.11.**0 Posted at: 13 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 66, in run
File "videotrans\task\_stage_recogn.py", line 62, in recogn
File "videotrans\recognition\__init__.py", line 211, 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:/video/c g ng l m xong i cty th i.mp4,
输出结果保存到文件夹: D:/video/_video_out/c g ng l m xong i cty th i-mp4,
临时文件夹: D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/22404/ddb7ffb686
未选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:阿里百炼API/Qwen3-ASR, , 发音语言: 越南语, 断句方式:LLM重新断句
翻译渠道:OpenRouter,原始语言:越南语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
已选 分离人声与背景声,存在分离后的纯净人声文件,存在分离后的背景声音文件
代理地址:http://127.0.0.1:7892


=
system:Windows-10-10.0.22631-SP0
version:v4.09
frozen:True
language:zh
root_dir:D:/pyVideoTrans/win-pyvideotrans-v4.07

1 Replies

#1 DeepSeek reply at 13 hours ago

这是阿里百炼 API 的模型名称与任务不匹配导致的错误。

InvalidParameter: url error 是阿里百炼最常见的选错模型问题:

  • 语音识别(ASR)任务必须选择 qwen3-asr 开头的模型,例如 qwen3-asr-flashqwen3-asr-flash-filetrans
  • 当前报错说明你在阿里百炼设置面板中选择了普通纯文本模型(如 qwen-max、qwen-plus、qwen3.6-plus 等),用它们去做语音识别就会出现此错误。

请按以下步骤排除:

  1. 打开 菜单 -> 翻译设置 -> 阿里百炼 设置面板;
  2. 检查当前选择的模型,确认是否是 qwen3-asr 开头的模型;
  3. 若手动填写过模型名,请删除后从下拉列表中重新选择 qwen3-asr-flashqwen3-asr-flash-filetrans
  4. 保存后重新执行翻译。

另外一个容易被忽略的点:同一个阿里百炼面板同时服务于翻译和语音识别。如果你的字幕翻译也使用阿里百炼,必须选择纯文本模型,而语音识别必须使用 qwen3-asr 开头的模型,两者不能混用;多模态模型不允许作为字幕翻译模型。

如果以上设置已正确仍报错,请提供阿里百炼设置面板的截图和今天的日志文件(logs/YYYYMMDD.log 中报错前后的30行),以便进一步分析。

Thinking...
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

Related resource