76 行
2.1 KiB
YAML
76 行
2.1 KiB
YAML
plugin:
|
|
name: astrbot_plugin_imagestudio
|
|
display_name: ImageStudio
|
|
version: 3.0.0
|
|
|
|
features:
|
|
quick_profile: true
|
|
workspace: true
|
|
material_library: true
|
|
wardrobe: true
|
|
api_discovery: true
|
|
private_companion_integration: false
|
|
|
|
generation:
|
|
# default_model 是 ImageStudio 路由名;route_name 留空时复用它。
|
|
default_model: ""
|
|
provider:
|
|
provider_id: imagestudio_default
|
|
display_name: ImageStudio default provider
|
|
base_url: ""
|
|
image_endpoint: /v1/images/generations
|
|
model_id: ""
|
|
route_name: ""
|
|
api_key_env_var: ""
|
|
timeout_seconds: 180
|
|
priority: 10
|
|
enabled: true
|
|
|
|
vision:
|
|
# 素材识别路由;provider 中留空的连接字段会复用 generation.provider。
|
|
# 若地址、密钥或超时不同且 provider_id 留空,会自动派生独立 Vision provider ID,避免覆盖生图配置。
|
|
# Vision 模型必须单独填写,不能假定生图模型具备视觉理解能力。
|
|
default_route: material_vlm
|
|
provider:
|
|
provider_id: ""
|
|
display_name: ""
|
|
base_url: ""
|
|
vision_endpoint: /v1/chat/completions
|
|
model_id: ""
|
|
route_name: material_vlm
|
|
api_key_env_var: ""
|
|
timeout_seconds: 180
|
|
priority: 10
|
|
enabled: true
|
|
|
|
storage:
|
|
# 这里使用逻辑 data/... 路径;AstrBot 运行时映射到
|
|
# data/plugin_data/astrbot_plugin_imagestudio/...,本地开发仍映射到仓库 data/。
|
|
db_path: data/db/imagestudio.db
|
|
images_path: data/images
|
|
thumbnails_path: data/thumbnails
|
|
materials_path: data/materials
|
|
styles_path: data/styles
|
|
archives_path: data/archives
|
|
temp_path: data/temp
|
|
|
|
database:
|
|
# auto: 默认使用 SQLite;配置并启用 PostgreSQL 后自动切换
|
|
# sqlite: 强制使用本地 SQLite
|
|
# postgresql: 强制使用 PostgreSQL,驱动或连接配置缺失时会直接报错
|
|
backend: auto
|
|
sqlite:
|
|
path: data/db/imagestudio.db
|
|
postgresql:
|
|
enabled: false
|
|
dsn: ""
|
|
host: ""
|
|
port: 5432
|
|
database: ""
|
|
user: ""
|
|
password: ""
|
|
|
|
security:
|
|
integration_token_set: false
|
|
allowed_integration_plugins:
|
|
- astrbot_plugin_private_companion
|