175 行
6.2 KiB
YAML
175 行
6.2 KiB
YAML
plugin:
|
|
name: astrbot_plugin_imagestudio
|
|
display_name: ImageStudio
|
|
version: 1.0.72
|
|
|
|
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:
|
|
# 绱犳潗璇嗗埆璺敱锛沺rovider 涓暀绌虹殑杩炴帴瀛楁浼氬鐢?generation.provider銆?
|
|
# 鑻ュ湴鍧€銆佸瘑閽ユ垨瓒呮椂涓嶅悓涓?provider_id 鐣欑┖锛屼細鑷姩娲剧敓鐙珛 Vision provider ID锛岄伩鍏嶈鐩栫敓鍥鹃厤缃€?
|
|
# Vision 妯″瀷蹇呴』鍗曠嫭濉啓锛屼笉鑳藉亣瀹氱敓鍥炬ā鍨嬪叿澶囪瑙夌悊瑙h兘鍔涖€?
|
|
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
|
|
|
|
# 鎸夊姛鑳藉垎閰嶆ā鍨嬭矾鐢便€傜暀绌烘椂鍥為€€鍒?generation.default_model 鎴?vision.default_route銆?
|
|
model_assignments:
|
|
material_recognition: material_vlm
|
|
advanced_material_recognition: material_vlm
|
|
# 留空时沿用进阶素材识别路由;填写后仅多图画风交叉归纳使用该视觉路由。
|
|
advanced_style_consensus: ""
|
|
advanced_material_validation_generation: ""
|
|
profile_parse: ""
|
|
persona_split: ""
|
|
prompt_planning: ""
|
|
visual_review_routes:
|
|
- material_vlm
|
|
cross_review_primary: material_vlm
|
|
cross_review_secondary: material_vlm
|
|
cross_review_routes:
|
|
- material_vlm
|
|
- material_vlm
|
|
generation_cross_review_primary: ""
|
|
generation_cross_review_secondary: ""
|
|
generation_cross_review_routes: []
|
|
quick_generation: ""
|
|
portrait_generation: ""
|
|
halfbody_generation: ""
|
|
fullbody_generation: ""
|
|
sheet_generation: ""
|
|
hires_fix: ""
|
|
|
|
recognition_prompts:
|
|
default_instruction: >-
|
|
璇峰厛鍒ゆ柇鍥剧墖涓礌鏉愮殑鍑嗙‘鍒嗙被锛屽啀灏藉彲鑳藉畬鏁村湴鎻愬彇鎵€鏈夊彲瑙佷簨瀹烇紝鍖呮嫭鐗╁搧绫诲瀷銆佷富鑹蹭笌杈呰壊銆佹潗璐ㄣ€佺汗鐞嗐€佺粨鏋勩€佽疆寤撱€佸浘妗堛€佽鍓€佺紳绾裤€佽ざ鐨便€佽楗般€侀厤浠躲€佺姸鎬併€佽瑙掋€佸厜鐓у強鍙鐢ㄧ殑璁捐鐗瑰緛銆備笉瑕佹妸鏃犳硶纭鐨勬帹娴嬪啓鎴愪簨瀹烇紝骞舵槑纭尯鍒嗙‘瀹氫俊鎭笌浣庣疆淇″害鍒ゆ柇銆傛牴鎹瘑鍒粨鏋滅敓鎴愪竴娈电粏鑺傚厖鍒嗐€佸彲鐩存帴鐢ㄤ簬鐢熷浘涓旇兘澶熶繚鐣欏師绱犳潗璁捐鐨勬鍚戞彁绀鸿瘝锛屽悓鏃剁敓鎴愮敤浜庢帓闄ら敊璇被鍒€侀敊璇潗璐ㄣ€佺粨鏋勭暩鍙樸€佹枃瀛椼€佹按鍗板拰鏃犲叧鑳屾櫙鐨勮礋鍚戞彁绀鸿瘝銆備粎杩斿洖 JSON锛屽瓧娈靛繀椤诲寘鍚?prompt銆乶egative_prompt銆乼ags銆乧onfidence銆乨escription锛泃ags 搴旂畝鐭€佸彲妫€绱紝骞跺寘鍚垎绫汇€侀鑹层€佹潗璐ㄥ拰鍏抽敭璁捐鍏冪礌銆?
|
|
category_requirements: []
|
|
|
|
# 杩涢樁绱犳潗楠岃瘉鍥剧殑鐙珛棰勭畻瀹堝崼銆傚紑鍚悗锛屾瘡娆¢獙璇侊紙鍚嚜鍔?NSFW
|
|
# 鍥為€€锛夐兘浼氬湪璋冪敤鎻愪緵鏂瑰墠妫€鏌ユ椂闂寸獥鍙e唴鐨勪换鍔°€佸浘鐗囧拰浼扮畻璐圭敤銆?
|
|
advanced_materials:
|
|
recognition_concurrency: 2
|
|
cost_budget:
|
|
enabled: false
|
|
days: 30
|
|
max_task_count: null
|
|
max_image_count: null
|
|
max_estimated_cost: null
|
|
price_key: ""
|
|
per_request: 0
|
|
per_image: 0
|
|
per_1k_tokens: 0
|
|
|
|
# 鎻愮ず璇嶈浆璇戙€佸唴瀹瑰鏍稿拰鏅€?NSFW 妯″瀷鍔ㄦ€佸垎娴併€?
|
|
# 榛樿鍙惎鐢ㄦ湰鍦拌鍒欏鏍革紱LLM 杞瘧涓庢垚浜鸿嚜鍔ㄥ垎娴佸繀椤荤敱绠$悊鍛樻槑纭紑鍚€?
|
|
prompt_governance:
|
|
translation:
|
|
enabled: false
|
|
model_route: ""
|
|
template_version: "1.0"
|
|
entrypoints:
|
|
web: true
|
|
qq: false
|
|
telegram: false
|
|
discord: false
|
|
api: false
|
|
moderation:
|
|
llm_review_enabled: false
|
|
model_route: ""
|
|
failure_policy: fail_closed
|
|
routing:
|
|
safe_route: ""
|
|
nsfw_route: ""
|
|
adult_auto_route_enabled: false
|
|
entrypoints:
|
|
web: false
|
|
qq: false
|
|
telegram: false
|
|
discord: false
|
|
api: false
|
|
image_moderation:
|
|
enabled: false
|
|
model_route: ""
|
|
retention:
|
|
raw_prompt_days: 30
|
|
translated_prompt_days: 90
|
|
moderation_record_days: 180
|
|
redact_sensitive_logs: true
|
|
|
|
chat_access:
|
|
group_allowlist: []
|
|
user_allowlist: []
|
|
adult_group_allowlist: []
|
|
adult_user_allowlist: []
|
|
user_concurrency_limit: 2
|
|
group_concurrency_limit: 5
|
|
daily_user_generation_limit: 30
|
|
daily_group_generation_limit: 100
|
|
allow_2k: true
|
|
allow_4k: false
|
|
|
|
storage:
|
|
# 杩欓噷浣跨敤閫昏緫 data/... 璺緞锛汚strBot 杩愯鏃舵槧灏勫埌
|
|
# 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
|
|
advanced_materials_path: data/advanced_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
|
|
|
|
|
|
|