You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在APS中设置Inventor引擎的Design Automation速率限制?

如何在Curl请求中设置Inventor引擎的Processing Time限制

要调整Inventor引擎的最大处理时长(由limitProcessingTimeSec属性控制),你需要在提交workitem的POST请求体中,通过Quotas对象来配置该属性。以下是完整的Curl请求示例:

curl -X POST "https://your-api-endpoint/workitems" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_VALID_ACCESS_TOKEN" \
  -d '{
    "input": {
      "urn": "your-model-urn",
      # 其他输入配置参数,比如设计文件、处理指令等
    },
    "output": {
      "destination": {
        "region": "us-east-1"
      },
      "formats": [
        {
          "type": "step",
          "views": ["2d", "3d"]
        }
      ]
    },
    "Quotas": {
      "limitProcessingTimeSec": 1200, # 自定义处理时长,示例为1200秒
      "limitTotalUncompressedAppsSizeInMB": 500 # 保持默认或按需修改
    }
  }'

关键说明

  • 替换https://your-api-endpoint/workitems为实际的API端点地址
  • 替换YOUR_VALID_ACCESS_TOKEN为有效的授权令牌
  • 在Quotas对象中修改limitProcessingTimeSec的值即可调整最大处理时长,若使用默认的900秒,可省略该字段(平台会自动应用默认值)
  • limitTotalUncompressedAppsSizeInMB字段可根据需求保留默认值或修改

内容的提问来源于stack exchange,提问作者Terminator404

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.01 07:35:01