docs: update config

This commit is contained in:
Shigma 2022-10-07 14:56:20 +08:00
parent a2adedb653
commit c0fd65abab
No known key found for this signature in database
GPG Key ID: 21C89B0B92907E14
2 changed files with 17 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{
"name": "koishi-plugin-novelai",
"description": "Generate images by NovelAI",
"version": "1.2.6",
"version": "1.3.0",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [

View File

@ -105,6 +105,22 @@ console.log(JSON.parse(localStorage.session).auth_token)
- 类型:`'k_euler_ancestral' | 'k_euler' | 'k_lms' | 'plms' | 'ddim'`
- 默认值:`'k_euler_ancestral'`
默认的采样器。
### anatomy
- 类型:`boolean`
- 默认值:`true`
默认情况下是否过滤不良构图。
### forbidden
- 类型:`string`
- 默认值:`''`
违禁词列表。含有违禁词的请求将被拒绝。
### requestTimeout
- 类型:`number`