{ "default_generation_model": { "description": "默认生图模型或模型路由名。留空时由工作流或能力探测结果选择。", "type": "string", "default": "" }, "enable_private_companion_integration": { "description": "允许 astrbot_plugin_private_companion 调用 ImageStudio 的穿搭和素材集成接口。", "type": "bool", "default": false }, "database_backend": { "description": "数据库后端。auto 默认使用 SQLite;配置 PG 后自动切换;sqlite 强制本地库;postgresql 强制 PG。", "type": "string", "default": "auto" }, "sqlite_path": { "description": "SQLite 数据库文件路径。默认放在插件目录的 data/db/imagestudio.db。", "type": "string", "default": "data/db/imagestudio.db" }, "postgresql_enabled": { "description": "启用 PostgreSQL。填写 DSN 或主机/库名/用户后也会自动按 PG 配置运行。", "type": "bool", "default": false }, "postgresql_dsn": { "description": "PostgreSQL DSN,优先级高于下面的主机、端口、库名、用户和密码。", "type": "string", "default": "" }, "postgresql_host": { "description": "PostgreSQL 主机地址。不使用 DSN 时填写。", "type": "string", "default": "" }, "postgresql_port": { "description": "PostgreSQL 端口。不使用 DSN 时填写。", "type": "string", "default": "5432" }, "postgresql_database": { "description": "PostgreSQL 数据库名。不使用 DSN 时填写。", "type": "string", "default": "" }, "postgresql_user": { "description": "PostgreSQL 用户名。不使用 DSN 时填写。", "type": "string", "default": "" }, "postgresql_password": { "description": "PostgreSQL 密码。不使用 DSN 时填写。", "type": "string", "default": "" } }