#7512 Allocated quota exceeded, please increase your quota limit. For details, see: https://help.aliyun.com/zh/model-studio/er

64.118**2 Posted at: 1 hour ago

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\only_one.py", line 89, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 67, in run
File "videotrans\translator\_base.py", line 70, in run
File "videotrans\translator\_base.py", line 153, in _run_srt
File "videotrans\translator\_qwenmt.py", line 69, in _item_task
videotrans.configure.excepts.TranslateSrtError: Allocated quota exceeded, please increase your quota limit. For details, see: https://help.aliyun.com/zh/model-studio/error-code#token-limit

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/Administrator/Desktop/新建文件夹/9月21日 (1).mp4,
输出结果保存到文件夹: C:/Users/Administrator/Desktop/新建文件夹/_video_out/9月21日 (1)-mp4,
临时文件夹: F:/py/win-pyvideotrans-v4.12-0913/tmp/18328/9786b54e18
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:阿里百炼API,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunjian(Male/CN), 配音语言:简体中文, 已选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 已选 视频慢速
字幕: 不嵌入字幕
代理地址:http://127.0.0.1:4780
video_duration_ms=3220566


=
system:Windows-10-10.0.18362-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:F:/py/win-pyvideotrans-v4.12-0913

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因是:你使用的「阿里百炼API」字幕翻译渠道,账户配额(Token 额度)已耗尽或超出免费额度限制,与软件本身无关。错误信息 Allocated quota exceeded, please increase your quota limit 由阿里云返回。

解决方案(任选其一)

  1. 前往阿里云百炼平台充值/提升配额
    登录阿里云百炼控制台,为对应模型开通付费或提升 Token 配额,地址见报错中的帮助链接:https://help.aliyun.com/zh/model-studio/error-code#token-limit
  2. 改用其他翻译渠道(推荐,成本极低)

    • DeepSeek:质量好、价格极低,登录 https://platform.deepseek.com/ 充值(可自定义充值 1 元)获取 API Key,填入 菜单 → 翻译设置 → DeepSeek,然后翻译渠道下拉选 DeepSeek
    • 或改用本地 M2M100(内置) 完全离线翻译(首次使用会下载模型,约 10G+)
  3. 若坚持用阿里百炼,注意检查模型选择是否匹配
    语音识别应选 qwen-asr 开头的模型,字幕翻译必须选纯文本模型(qwen 多模态模型不允许作为翻译模型),模型与任务不匹配也可能报错。

⚠️ 顺带提醒(不影响本次报错,但影响成功率)

  • 你的视频文件名 9月21日 (1).mp4中文、空格、括号,容易引发 ffmpeg 路径解析异常,建议改为纯英文数字下划线,如 video0921.mp4
  • 已选「发送完整字幕」+ 阿里百炼,建议同时到 高级选项 → 字幕翻译 把「AI翻译每批字幕行数」调小(如 20~50),避免单次请求过大触发 token 上限。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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