{
"contentType": "application/json",
"properties": {
"allow_ips": {
"description": "白名单IP列表: 按\\n号分割",
"type": "string",
"x-i18n": {
"en-US": {
"description": "IP whitelist: entries separated by newlines"
}
}
},
"expired_time": {
"description": "到期时间戳 单位秒 没有到期限制设置为-1",
"type": "integer",
"x-i18n": {
"en-US": {
"description": "Expiration unix timestamp in seconds. Set to -1 for no expiration."
}
}
},
"group": {
"description": "支持分组 按,号分割",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Supported groups: separated by commas"
}
}
},
"model_limits": {
"description": "可用模型列表: 模型名字按,号分割",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Available models list: model names separated by commas"
}
}
},
"model_limits_enabled": {
"description": "可用模型限制设置",
"type": "boolean",
"x-i18n": {
"en-US": {
"description": "Available models restriction setting"
}
}
},
"name": {
"description": "令牌名字",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Token name"
}
}
},
"remain_quota": {
"description": "50w为1刀",
"type": "integer",
"x-i18n": {
"en-US": {
"description": "500,000 quota units = $1"
}
}
},
"unlimited_quota": {
"description": "无限额度设置",
"type": "boolean",
"x-i18n": {
"en-US": {
"description": "Unlimited quota setting"
}
}
}
},
"required": [
"name",
"remain_quota",
"expired_time",
"unlimited_quota",
"model_limits_enabled",
"model_limits",
"allow_ips",
"group"
]
}