{
"id": "string",
"properties": {
"property1": null,
"property2": null
},
"mongoDefaultConnectionString": "string",
"mongoDefaultDatabase": "string",
"isMongo": true,
"isMongoAutoMigrate": true,
"isAutoMigrate": true,
"maxCount": 0,
"accountChooseRule": "BestWaitIdle",
"discord": {
"guildId": "string",
"channelId": "string",
"privateChannelId": "string",
"nijiBotChannelId": "string",
"userToken": "string",
"botToken": "string",
"userAgent": "string",
"enable": true,
"enableMj": true,
"enableNiji": true,
"enableFastToRelax": true,
"enableRelaxToFast": true,
"enableAutoSetRelax": true,
"coreSize": 0,
"queueSize": 0,
"maxQueueSize": 0,
"timeoutMinutes": 0,
"mode": "RELAX",
"allowModes": [
"RELAX"
],
"isBlend": true,
"isDescribe": true,
"isShorten": true,
"dayDrawLimit": 0,
"isVerticalDomain": true,
"verticalDomainIds": [
"string"
],
"subChannels": [
"string"
],
"remark": "string",
"sponsor": "string",
"isSponsor": true,
"sort": 0,
"interval": 0,
"afterIntervalMin": 0,
"afterIntervalMax": 0,
"workTime": "string",
"fishingTime": "string",
"permanentInvitationLink": "string",
"weight": 0,
"remixAutoSubmit": true,
"loginAccount": "string",
"loginPassword": "string",
"login2fa": "string"
},
"accounts": [
{
"guildId": "string",
"channelId": "string",
"privateChannelId": "string",
"nijiBotChannelId": "string",
"userToken": "string",
"botToken": "string",
"userAgent": "string",
"enable": true,
"enableMj": true,
"enableNiji": true,
"enableFastToRelax": true,
"enableRelaxToFast": true,
"enableAutoSetRelax": true,
"coreSize": 0,
"queueSize": 0,
"maxQueueSize": 0,
"timeoutMinutes": 0,
"mode": "RELAX",
"allowModes": [
"RELAX"
],
"isBlend": true,
"isDescribe": true,
"isShorten": true,
"dayDrawLimit": 0,
"isVerticalDomain": true,
"verticalDomainIds": [
"string"
],
"subChannels": [
"string"
],
"remark": "string",
"sponsor": "string",
"isSponsor": true,
"sort": 0,
"interval": 0,
"afterIntervalMin": 0,
"afterIntervalMax": 0,
"workTime": "string",
"fishingTime": "string",
"permanentInvitationLink": "string",
"weight": 0,
"remixAutoSubmit": true,
"loginAccount": "string",
"loginPassword": "string",
"login2fa": "string"
}
],
"proxy": {
"host": "string",
"port": 0
},
"ngDiscord": {
"server": "string",
"cdn": "string",
"wss": "string",
"resumeWss": "string",
"uploadServer": "string"
},
"baiduTranslate": {
"appid": "string",
"appSecret": "string"
},
"openai": {
"gptApiUrl": "string",
"gptApiKey": "string",
"timeout": "string",
"model": "string",
"maxTokens": 0,
"temperature": 0
},
"translateWay": "BAIDU",
"notifyHook": "string",
"notifyPoolSize": 0,
"smtp": {
"host": "string",
"port": 0,
"enableSsl": true,
"fromName": "string",
"fromEmail": "string",
"fromPassword": "string",
"to": "string"
},
"captchaServer": "string",
"captchaNotifyHook": "string",
"captchaNotifySecret": "string",
"imageStorageType": "NONE",
"aliyunOss": {
"bucketName": "string",
"accessKeyId": "string",
"accessKeySecret": "string",
"endpoint": "string",
"customCdn": "string",
"imageStyle": "string",
"thumbnailImageStyle": "string",
"videoSnapshotStyle": "string",
"expiredMinutes": 0
},
"tencentCos": {
"appId": "string",
"secretId": "string",
"secretKey": "string",
"region": "string",
"bucket": "string",
"customCdn": "string",
"imageStyle": "string",
"thumbnailImageStyle": "string",
"videoSnapshotStyle": "string",
"expiredMinutes": 0
},
"cloudflareR2": {
"accountId": "string",
"accessKey": "string",
"secretKey": "string",
"bucket": "string",
"customCdn": "string",
"imageStyle": "string",
"thumbnailImageStyle": "string",
"videoSnapshotStyle": "string",
"expiredMinutes": 0
},
"replicate": {
"token": "string",
"enableFaceSwap": true,
"faceSwapVersion": "string",
"faceSwapCoreSize": 0,
"faceSwapQueueSize": 0,
"faceSwapTimeoutMinutes": 0,
"enableVideoFaceSwap": true,
"videoFaceSwapVersion": "string",
"videoFaceSwapCoreSize": 0,
"videoFaceSwapQueueSize": 0,
"videoFaceSwapTimeoutMinutes": 0,
"maxFileSize": 0,
"webhook": "string",
"webhookEventsFilter": [
"string"
]
},
"localStorage": {
"customCdn": "string"
},
"isVerticalDomain": true,
"enableSwagger": true,
"bannedLimiting": {
"enable": true,
"rules": {
"property1": 0,
"property2": 0
}
},
"ipRateLimiting": {
"enable": true,
"whitelist": [
"string"
],
"blacklist": [
"string"
],
"ipRules": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"ip24Rules": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"ip16Rules": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
}
},
"ipBlackRateLimiting": {
"enable": true,
"whitelist": [
"string"
],
"blacklist": [
"string"
],
"ipRules": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"ip24Rules": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"ip16Rules": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"blockTime": 0
},
"enableRegister": true,
"registerUserDefaultDayLimit": 0,
"registerUserDefaultTotalLimit": 0,
"registerUserDefaultCoreSize": 0,
"registerUserDefaultQueueSize": 0,
"guestDefaultCoreSize": 0,
"guestDefaultQueueSize": 0,
"databaseType": "NONE",
"databaseConnectionString": "string",
"databaseName": "string",
"enableGuest": true,
"guestDefaultDayLimit": 0,
"notify": "string",
"enableAutoGetPrivateId": true,
"enableAutoVerifyAccount": true,
"enableAutoSyncInfoSetting": true,
"enableAutoExtendToken": true,
"enableUserCustomUploadBase64": true,
"enableConvertOfficialLink": true,
"enableConvertAliyunLink": true,
"enableMjTranslate": true,
"enableNijiTranslate": true,
"enableConvertNijiToMj": true,
"enableConvertNijiToNijiBot": true,
"enableAutoLogin": true,
"enableAccountSponsor": true
}