#2338 TaskCfg(cache_folder=None, target_dir='D:/Administrator', remove_noise=False, is_separate=False, detect_language=None, s

172.232* Posted at: 7 hours ago 👁8

翻译字幕阶段出错 [阿里百炼] Allocated quota exceeded, please increase your quota limit. For details, see: https://help.aliyun.com/zh/model-studio/error-code#token-limit
Traceback (most recent call last):
File "videotrans\task\job.py", line 184, in run
File "videotrans\task\_translate_srt.py", line 45, in trans
File "videotrans\translator\__init__.py", line 885, in run
File "videotrans\translator\_base.py", line 78, in run
File "videotrans\translator\_base.py", line 137, in _run_srt
File "videotrans\translator\_qwenmt.py", line 58, in _item_task
RuntimeError: Allocated quota exceeded, please increase your quota limit. For details, see: https://help.aliyun.com/zh/model-studio/error-code#token-limit

TaskCfg(cache_folder=None, target_dir='D:/Administrator', remove_noise=False, is_separate=False, detect_language=None, subtitle_language=None, source_language=None, target_language=None, source_language_code='auto', target_language_code='Chinese', source_sub='D:/Administrator/05针对开盘时段的窄幅震荡区间 进行交易.srt', target_sub='D:/Administrator/05针对开盘时段的窄幅震荡区间 进行交易.Chinese.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='05针对开盘时段的窄幅震荡区间 进行交易', shibie_audio=None, targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role=None, copysrt_rawvideo=False, clear_cache=False, translate_type=12, tts_type=None, recogn_type=None, model_name=None, split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='D:/Administrator/05针对开盘时段的窄幅震荡区间 进行交易.srt', basename='05针对开盘时段的窄幅震荡区间 进行交易.srt', ext='srt', dirname='D:/Administrator', shound_del_name=None, uuid='c74c93203f', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=2, only_out_mp4=False)


=
system:Windows-10-10.0.19045-SP0
version:v3.92
frozen:True
language:zh
root_dir:E:/win-videotrans-v3.83

1 Replies

错误信息显示您使用的阿里百炼翻译渠道配额已用完。请按以下步骤解决:

  1. 登录阿里百炼控制台:访问 阿里百炼官网
  2. 检查并提升配额

    • 在控制台中找到 “模型服务”“API调用” 相关页面。
    • 查看当前模型的调用量、剩余额度或配额限制。
    • 根据页面提示申请提升配额或购买更多额度。
  3. 在pyVideoTrans中暂停使用:在配额恢复或提升前,请暂时切换到其他翻译渠道(如Google、DeepSeek、ChatGPT等)。

临时解决方案

  • 在软件主界面,将“翻译渠道”暂时更换为其他可用的渠道。
  • 如果您有多个阿里云账号,可以尝试在软件设置中更换为另一个有额度的账号API Key。

有用的文档链接: 阿里百炼API

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions