补充抠图模式调用说明

说明complex语义分割与flat纯色背景抠图

明确纯色背景优先使用flat并移除内部实现术语
This commit is contained in:
2026-09-16 21:36:15 +08:00
committed by 孔令弘
parent e08b031761
commit 13f56e644d
3 changed files with 7 additions and 7 deletions
@@ -453,12 +453,12 @@ fn direct_tools_mcp_specs_for(controlled_web_search: bool, _cocos_editor_availab
"backgroundMode": {
"type": "string",
"enum": ["complex", "flat"],
"description": "可选抠图模式省略时使用 complex"
"description": "可选抠图模式:complex 用语义分割识别前景,flat 用纯色背景抠图;确定背景为纯色时优先使用 flat。省略时使用 complex"
},
"screenColor": {
"type": "string",
"pattern": "^(auto|#[0-9A-Fa-f]{6})$",
"description": "flat 模式可选背景色;传 auto 或 #RRGGBB,省略由 BgFilter 自动检测"
"description": "flat 模式可选背景色;传 auto 或 #RRGGBB,省略时由服务自动检测"
}
},
"required": ["sourceLocalAssetId", "assetName"],