{
"contentType": "application/json",
"properties": {
"allow_ips": {
"description": "【可选】白名单 按\\n号分割",
"type": "string"
},
"expired_time": {
"description": "【可选】过期时间",
"type": "integer"
},
"group": {
"description": "【可选】分组 多个逗号分隔,顺序优先",
"type": "string"
},
"ids": {
"description": "这里是要修改的token id,多个以逗号分隔",
"properties": {
"873,869": {
"description": "某个id 或多个id,用逗号分隔",
"type": "string"
}
},
"required": [
"873,869"
],
"type": "object"
},
"mj_custom_proxy": {
"description": "【可选】自定义图片代理地址 只有 mj_image_mode 为",
"type": "string"
},
"mj_image_mode": {
"description": "【可选】配置图片代理方式 暂时只有 origin 和 proxy 两种",
"type": "string"
},
"model_limits": {
"description": "【可选】模型限制列表 多个以逗号分隔",
"type": "string"
},
"model_limits_enabled": {
"description": "【可选】访问限制【可用模型限制设置】",
"type": "boolean"
},
"remain_quota": {
"description": "【可选】额度 50w为1刀",
"type": "integer"
},
"unlimited_quota": {
"description": "【可选】true 为无限额度,false 则填写 remain_quota有效",
"type": "boolean"
},
"update_fields": {
"description": "修改的",
"properties": {
"allow_ips": {
"description": "【可选】白名单 按\\n号分割",
"type": "string"
},
"expired_time": {
"description": "【可选】过期时间",
"type": "string"
},
"group": {
"description": "【可选】分组",
"type": "string"
},
"mj_custom_proxy": {
"description": "【可选】自定义图片代理地址",
"type": "string"
},
"mj_image_mode": {
"description": "【可选】配置图片代理方式",
"type": "string"
},
"model_limits": {
"description": "【可选】模型限制列表",
"type": "string"
},
"model_limits_enabled": {
"description": "【可选】访问限制【可用模型限制设置】",
"type": "string"
},
"remain_quota": {
"description": "【可选】额度 50w为1刀",
"type": "string"
},
"unlimited_quota": {
"description": "【可选】true 为无限额度,false 则填写 remain_quota有效",
"type": "string"
}
},
"required": [
"group",
"expired_time",
"remain_quota",
"unlimited_quota",
"model_limits",
"allow_ips",
"mj_image_mode",
"mj_custom_proxy",
"model_limits_enabled"
],
"type": "object"
}
},
"required": [
"ids",
"group",
"expired_time",
"remain_quota",
"unlimited_quota",
"model_limits",
"model_limits_enabled",
"allow_ips",
"mj_image_mode",
"mj_custom_proxy",
"update_fields"
]
}