#3319 TaskCfg(cache_folder='D:/Program Files/win-pyvideotrans/tmp/27616/ab7b17491c', target_dir='f:/Users/hp/Desktop/1/_video_

66.92* Posted at: 1 day ago 👁20

语音识别阶段出错 [阿里百炼 Qwen3-ASR] 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\task\job.py", line 106, in run
File "videotrans\task\trans_create.py", line 358, in recogn
File "videotrans\recognition\__init__.py", line 239, in run
File "videotrans\recognition\_base.py", line 141, in run
File "videotrans\recognition\_qwen3asr.py", line 64, in _exec
RuntimeError: InvalidParameter:url error, please check url! For details, see: https://help.aliyun.com/zh/model-studio/error-code#error-url
TaskCfg(cache_folder='D:/Program Files/win-pyvideotrans/tmp/27616/ab7b17491c', target_dir='f:/Users/hp/Desktop/1/_video_out/5-中望3D演示操作要点-PMI和Html-mp4', remove_noise=False, is_separate=False, detect_language='zh-cn', subtitle_language=None, source_language='简体中文', target_language='英语', source_language_code='zh-cn', target_language_code='en', source_sub='f:/Users/hp/Desktop/1/_video_out/5-中望3D演示操作要点-PMI和Html-mp4/zh-cn.srt', target_sub='f:/Users/hp/Desktop/1/_video_out/5-中望3D演示操作要点-PMI和Html-mp4/en.srt', source_wav='D:/Program Files/win-pyvideotrans/tmp/27616/ab7b17491c/zh-cn.wav', source_wav_output='f:/Users/hp/Desktop/1/_video_out/5-中望3D演示操作要点-PMI和Html-mp4/zh-cn.m4a', target_wav='D:/Program Files/win-pyvideotrans/tmp/27616/ab7b17491c/target.wav', target_wav_output='f:/Users/hp/Desktop/1/_video_out/5-中望3D演示操作要点-PMI和Html-mp4/en.m4a', subtitles='', novoice_mp4='D:/Program Files/win-pyvideotrans/tmp/27616/ab7b17491c/novoice.mp4', noextname='5-中望3D演示操作要点-PMI和Html', shibie_audio=None, targetdir_mp4='f:/Users/hp/Desktop/1/_video_out/5-中望3D演示操作要点-PMI和Html-mp4/5-中望3D演示操作要点-PMI和Html.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='tiqu', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', copysrt_rawvideo=True, clear_cache=False, translate_type=1, tts_type=0, recogn_type=7, model_name='Fun-ASR-Nano-2512', voice_autorate=False, video_autorate=False, is_cuda=False, name='f:/Users/hp/Desktop/1/5-中望3D演示操作要点-PMI和Html.mp4', basename='5-中望3D演示操作要点-PMI和Html.mp4', ext='mp4', dirname='F:/Users/hp/Desktop/1', shound_del_name=None, uuid='ab7b17491c', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False, fix_punc=False, recogn2pass=True)


=
system:Windows-10-10.0.19045-SP0
version:v3.97
frozen:True
language:zh
root_dir:D:/Program Files/win-pyvideotrans

1 Replies

这是由于配置的阿里百炼 Qwen3-ASR 语音识别渠道的 API URL 地址错误导致的。

解决方案:

  1. 在软件主界面,点击“语音识别渠道”下拉菜单,选择“阿里百炼 Qwen3-ASR”。
  2. 检查并修正“API URL”输入框中的地址。正确的地址格式应为阿里百炼平台提供的 API 网关地址,例如 https://dashscope.aliyuncs.com/compatible-mode/v1 或类似格式。
  3. 确保“API KEY”已正确填写为从阿里百炼平台获取的有效密钥。
  4. 保存设置后重试。

请注意:

  • 请勿使用阿里云 DashScope 的旧版地址(如 https://dashscope.aliyuncs.com/api/v1/services/aigc/...),Qwen3-ASR 需要使用兼容 OpenAI 格式的接口地址。
  • 请确认你的阿里百炼账户已开通 Qwen3-ASR 服务并拥有足够的额度。

请查阅相关文档:

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.

Related resource