#4561 RuntimeError: Error code: 404 - {'error': {'code': 'ModelNotOpen', 'message': 'Your account 2120775006 has not activated

2a02:6ea0* Posted at: 1 hour ago 👁6

Error code: 404 - {'error': {'code': 'ModelNotOpen', 'message': 'Your account 2120775006 has not activated the model doubao-seed-1-8. Please activate the model service in the Ark Console. Request id: 021778754323974a65bb9cc875deec710c23fb9efaa4f4bcba90e', 'param': '', 'type': 'Not Found'}}:Traceback (most recent call last):
File "videotrans\translator\_huoshan.py", line 45, in _item_task
File "openai\resources\responses\responses.py", line 898, in create
File "openai\_base_client.py", line 1297, in post
File "openai\_base_client.py", line 1070, in request
openai.NotFoundError: Error code: 404 - {'error': {'code': 'ModelNotOpen', 'message': 'Your account 2120775006 has not activated the model doubao-seed-1-8. Please activate the model service in the Ark Console. Request id: 021778754323974a65bb9cc875deec710c23fb9efaa4f4bcba90e', 'param': '', 'type': 'Not Found'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\__init__.py", line 973, in run
File "videotrans\translator\_base.py", line 97, in run
File "videotrans\translator\_base.py", line 161, in _run_srt
File "videotrans\translator\_huoshan.py", line 55, in _item_task
RuntimeError: Error code: 404 - {'error': {'code': 'ModelNotOpen', 'message': 'Your account 2120775006 has not activated the model doubao-seed-1-8. Please activate the model service in the Ark Console. Request id: 021778754323974a65bb9cc875deec710c23fb9efaa4f4bcba90e', 'param': '', 'type': 'Not Found'}}


=
system:Windows-10-10.0.19045-SP0
version:v3.99
frozen:True
language:zh
root_dir:F:/FanYi/win-pyvideotrans-v3.99

1 Replies

这是由于您的火山引擎账户未激活 doubao-seed-1-8 模型导致的 404 错误。

解决方案:

  1. 登录火山引擎 方舟控制台
  2. 在左侧菜单中找到 模型推理(模型中心)模型服务
  3. 搜索 doubao-seed-1-8 模型,点击“开通”或“激活”服务。
  4. 确保您的 API Key 有权限调用该模型(通常开通后自动生效)。
  5. 返回软件,重新测试翻译功能。

请查阅相关文档:

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