#3830 TaskCfg(cache_folder='D:/Program Files/win-pyvideotrans/tmp/13880/a3f3ef9b91', target_dir='C:/Users/Juno/Desktop/cuda-te

116.6* Posted at: 3 hours ago 👁9

ASR Error [Ali Qwen3-ASR] AccessDenied.Unpurchased:Access to model denied. Please make sure you are eligible for using the model.
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: AccessDenied.Unpurchased:Access to model denied. Please make sure you are eligible for using the model.
TaskCfg(cache_folder='D:/Program Files/win-pyvideotrans/tmp/13880/a3f3ef9b91', target_dir='C:/Users/Juno/Desktop/cuda-test/_video_out/5-中望3D演示操作要点讲解-PMI-Html-mp4', remove_noise=False, is_separate=False, detect_language='zh-cn', subtitle_language=None, source_language='Simplified Chinese', target_language='English', source_language_code='zh-cn', target_language_code='en', source_sub='C:/Users/Juno/Desktop/cuda-test/_video_out/5-中望3D演示操作要点讲解-PMI-Html-mp4/zh-cn.srt', target_sub='C:/Users/Juno/Desktop/cuda-test/_video_out/5-中望3D演示操作要点讲解-PMI-Html-mp4/en.srt', source_wav='D:/Program Files/win-pyvideotrans/tmp/13880/a3f3ef9b91/zh-cn.wav', source_wav_output='C:/Users/Juno/Desktop/cuda-test/_video_out/5-中望3D演示操作要点讲解-PMI-Html-mp4/zh-cn.m4a', target_wav='D:/Program Files/win-pyvideotrans/tmp/13880/a3f3ef9b91/target.wav', target_wav_output='C:/Users/Juno/Desktop/cuda-test/_video_out/5-中望3D演示操作要点讲解-PMI-Html-mp4/en.m4a', subtitles='', novoice_mp4='D:/Program Files/win-pyvideotrans/tmp/13880/a3f3ef9b91/novoice.mp4', noextname='5-中望3D演示操作要点讲解-PMI-Html', shibie_audio=None, targetdir_mp4='C:/Users/Juno/Desktop/cuda-test/_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=4, tts_type=0, recogn_type=7, model_name='1.7B', voice_autorate=False, video_autorate=False, is_cuda=True, name='C:/Users/Juno/Desktop/cuda-test/5-中望3D演示操作要点讲解-PMI-Html.mp4', basename='5-中望3D演示操作要点讲解-PMI-Html.mp4', ext='mp4', dirname='C:/Users/Juno/Desktop/cuda-test', shound_del_name=None, uuid='a3f3ef9b91', 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.26200-SP0
version:v3.97
frozen:True
language:en
root_dir:D:/Program Files/win-pyvideotrans

1 Replies

This error occurs because you are trying to use the "Ali Qwen3-ASR" (阿里百炼 Qwen3-ASR) speech recognition channel without having purchased or activated the necessary API credits. This is a paid online service.

To resolve this, you have two main options:

  1. Switch to a free/local speech recognition model.

    • In the "Speech Recognition" section of the main interface, change the channel from "阿里百炼 Qwen3-ASR" to a free local model such as:

      • For Chinese videos: Qwen-ASR(本地) (Qwen-ASR Local)
      • For general use (Chinese/English/other languages): faster-whisper(本地) and select the large-v3 model (ensure you have sufficient GPU VRAM or system RAM).
    • These local models do not require payment or an internet connection after the initial model download.
  2. Purchase and configure the Qwen3-ASR API.

    • If you wish to use the paid Qwen3-ASR service, you need to:

      • Visit the Alibaba Bailian platform (阿里百炼) to purchase the service and obtain an API Key.
      • In pyVideoTrans, go to Menu -> Translation Settings -> Alibaba Bailian Qwen3-ASR Settings.
      • Enter your API Key and any other required configuration (like the model name, e.g., qwen-audio-turbo).
      • Ensure your network proxy settings (if needed) are correct.

Additional Important Note: Your software installation path D:/Program Files/win-pyvideotrans/ is problematic. Installing in C:\Program Files or D:\Program Files can cause permission issues. It is strongly recommended to move the entire software folder to a non-system directory without spaces or special characters, such as D:\pyVideoTrans.

Please refer to the relevant documentation:

Post Your Reply