# 预设风格键分类 前端以分类标签组织,用户点选: | 分类 | 键名 | 可选值示例 | |------|------|-----------| | 美术风格 | `artStyle` | pixel, cartoon, hand-drawn, vector, flat | | 色调 | `palette` | warm, cool, neutral, vibrant, muted, monochrome | | 线条 | `lineWeight` | none, thin, medium, thick | | 场景 | `scene` | forest, dungeon, city, space, underwater, desert | | 光照 | `lighting` | bright, dim, dramatic, ambient, neon | | 情绪 | `mood` | cheerful, dark, mysterious, epic, calm | (具体键值后续可扩展,这里是初始集合) ## 自定义标签 除预设分类外,用户可添加自定义标签。标签存储在 `kvPairs` 中,使用 `custom:` 前缀区分: ```json { "artStyle": "pixel", "palette": "warm", "custom:cel-shading": "true", "custom:glow-effects": "true" } ``` 前端 `extractTags()` 函数在提取标签时自动包含自定义标签值(去掉前缀),送入提示词优化管线。