": { "message": "Your account %!s(int64=2101075817) has not activated the model ...

2025年12月08日 11:12 状态: processing

🚨 错误信息

{ "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 控制台

  • - 访问您的 DMXAPI/Ark 平台控制台

  • 激活模型服务

  • - 在控制台中找到模型管理页面
    - 搜索或定位到 doubao-seedream-4-5-251128 模型
    - 点击激活/开通该模型服务

  • 验证激活状态

  • - 确认模型状态显示为"已激活"或"可用"

  • 重新调用 API

  •    // 激活后重新尝试 API 调用
       // 原有的 API 调用代码无需修改
       

    ️ 预防措施

    最佳实践建议:

  • 预检查模型可用性

  • - 在代码中添加模型可用性检查逻辑
    - 在调用前验证账户是否已开通所需服务

  • 使用模型列表 API

  •    // 建议在应用启动时检查可用模型
       const availableModels = await getAvailableModels();
       if (!availableModels.includes('doubao-seedream-4-5-251128')) {
         console.warn('目标模型未激活,请前往控制台开通');
       }
       

    开发工具推荐:

  • 使用平台提供的 SDK 内置的模型状态检查方法
  • 定期查看控制台的用量和配额页面,确保所有依赖服务正常