": { "message": "Your account %!s(int64=2101075817) has not activated the model ...
🚨 错误信息
{
"message": "404 Your account %!s(int64=2101075817) has not activated the model doubao-seedream-4-5-251128. Please activate the model service in the Ark Console. Request id: 021765163426813dc4a53fe90c8b0d0dbae7674229aa8223a977c",
"status": 404,
"error": {
"message": "Your account %!s(int64=2101075817) has not activated the model doubao-seedream-4-5-251128. Please activate the model service in the Ark Console. Request id: 021765163426813dc4a53fe90c8b0d0dbae7674229aa8223a977c",
"type": "rix_api_error",
"param": "",
"code": "ModelNotOpen"
},
"code": "ModelNotOpen",
"param": "",
"type": "rix_api_error"
}
🤖 AI解决方案
错误翻译
原文:Your account %!s(int64=2101075817) has not activated the model doubao-seedream-4-5-251128. Please activate the model service in the Ark Console.
译文:您的账户 2101075817 尚未激活模型 doubao-seedream-4-5-251128。请在 Ark 控制台中激活该模型服务。
原因分析
根本原因:API 调用失败,账户未开通所需模型服务
错误详情:
- 错误类型:
rix_api_error - 错误代码:
ModelNotOpen - 状态码:404
- 涉及模型:
doubao-seedream-4-5-251128 - 账户ID:2101075817
- 登录 Ark 控制台
- 激活模型服务
- 验证激活状态
- 重新调用 API
解决方案
立即修复步骤:
- 访问您的 DMXAPI/Ark 平台控制台
- 在控制台中找到模型管理页面
- 搜索或定位到
doubao-seedream-4-5-251128 模型- 点击激活/开通该模型服务
- 确认模型状态显示为"已激活"或"可用"
// 激活后重新尝试 API 调用
// 原有的 API 调用代码无需修改
️ 预防措施
最佳实践建议:
- 在代码中添加模型可用性检查逻辑
- 在调用前验证账户是否已开通所需服务
// 建议在应用启动时检查可用模型
const availableModels = await getAvailableModels();
if (!availableModels.includes('doubao-seedream-4-5-251128')) {
console.warn('目标模型未激活,请前往控制台开通');
}