dsh-game-material-master 0.8.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md CHANGED
@@ -12,26 +12,28 @@ third-party service.
12
12
  [![npm](https://img.shields.io/npm/v/dsh-game-material-master?color=blue)](https://www.npmjs.com/package/dsh-game-material-master)
13
13
  [![license](https://img.shields.io/badge/license-MIT-green)](LICENSE)
14
14
 
15
- > **🆕 What's new in 0.8.0**: a seventh module, [**Music generation & editing**](#-music-generation--editing-puyue-ai)
16
- > (Puyue AI generation plus local post-processing, and a **compose mode** that writes MIDI, previews and revises
17
- > it locally); **Generate with AI** in the map editor (it picks plain / whole-cell / quadrant itself and asks the
18
- > model for one seamless tile) plus **stamps** (one picture covering N x M cells); an optional **local ComfyUI**
19
- > backend for image-to-video; and full **DSH 0.2.1** support (`engines.dsh`, `--public-url` path prefix).
15
+ > **🆕 0.9.1 fixes**: the sound-effect job list now refreshes after polling completes (no more "0 takes · ⏳"
16
+ > stuck forever), and Volcengine network errors include the underlying cause instead of a bare `fetch failed`.
17
+ >
18
+ > **0.9.0 update**: an eighth module, [**Sound effects**](#-sound-effects-volcengine-seed-audio)
19
+ > (Volcengine Seed-Audio: one prompt → sound effects / ambience / character voices, with an optional reference
20
+ > image or audio; every run is billed; up to 120 seconds). The 0.8.0 **music generation / compose mode**,
21
+ > map editor **Generate with AI / stamps**, **local ComfyUI** backend and **DSH 0.2.1** support remain.
20
22
  > See the [release notes in AGENTS.md](https://github.com/universe-st/dsh-game-material-master/blob/main/AGENTS.md#已发布版本).
21
23
 
22
24
  ![Game Material Master · workbench](https://raw.githubusercontent.com/universe-st/dsh-game-material-master/main/docs/images/gmm-00-workbench.png)
23
25
 
24
26
  > **Up and running in 30 seconds**: `dsh plugin --profile web add dsh-game-material-master` → restart DSH →
25
- > click "Game Material Master" in the sidebar → enter the two API keys in settings → create a project,
27
+ > click "Game Material Master" in the sidebar → enter the API keys you need (images / video; sound effects use a separate speech key) → create a project,
26
28
  > upload your character sheet → click "Generate turn video" (the default path: the character rotates steadily
27
29
  > in place for one full turn, then the eight directions are cut out automatically; switch the method in
28
30
  > stage ① if you'd rather generate each direction separately).
29
31
  >
30
- > The sidebar entry also carries a **small chevron menu button**: click it to pop up the seven features and
32
+ > The sidebar entry also carries a **small chevron menu button**: click it to pop up the eight features and
31
33
  > jump straight into the one you want. Features you do not use can be turned off in settings (see
32
34
  > "Feature management").
33
35
 
34
- All seven modules share the same "generate → review → re-run" workbench. Every stage can be **redone on its
36
+ All eight modules share the same "generate → review → re-run" workbench. Every stage can be **redone on its
35
37
  own**, and every asset can be **approved item by item**. The "review mode" lets an agent approve each step
36
38
  and move on automatically, or stop at every step and wait for your go-ahead.
37
39
 
@@ -43,6 +45,7 @@ and move on automatically, or stop at every step and wait for your go-ahead.
43
45
  | **⑤ Map tile generation** | Isometric tiles → assemble a whole map | A tile pack (PNGs) + map PNG + layout JSON |
44
46
  | **⑥ Map editor** (**fully local, zero cost**) | Pick a tileset → paint directly (rebuilt after AsLib's RPG Map Maker: one screen, icon-only, no jargon; three default layers — terrain / decor / buildings — that you can rename and reorder; a **marker layer**: one nameable marker per cell, drawn as a numbered circle; **Generate with AI** lives in the assets window: give a prompt, a name, a frame count, a method and a usage, and the plugin **opens a new chat** to generate it — it picks the tile type (plain / whole-cell / quadrant) from the prompt itself, asks the model for **one seamless tile** and assembles all 16 connections / 5 shape rows in code (so the tiles actually line up on the map). Animated assets use quadrant tiles (frames become variants, still auto-connecting) or plain tiles (flipbook), and each asset can be given its own playback speed in "Add asset" (otherwise it follows the global speed in Settings) plus a **clarity** mode for the 2K-to-32px downscale (area average / nearest / average + sharpen) , a **loop mode** (forward / reverse / ping-pong), and **stamps** (one picture stamping N x M cells at once - statues, murals, carpets - rotated with a right-click, green screen keyed to transparency, with per-cell walkability set at import), a **tile size** choice when creating a project (16 / 32 / 48 / 64 - pick 48 / 64 for sharper AI assets) and automatic trimming of the white border models like to add; whole-cell tiles are just 16 connection cases with no animation, so the dialog locks the frame count and the video model, then posts a link; click it and the image and its usage are already filled in on "Add asset") | PNG + save-file JSON (wrapping map, auto-tiling, animated tiles, markers); tick what to export and multiple files come as one ZIP download |
45
47
  | **⑦ Music generation & editing** (Puyue AI) | An inspiration prompt or full lyrics → a new chat that is **not attached to any project**; the agent there reads the built-in creation guide, expands the prompt, chooses Suno / Mureka / MiniMax / ACE-Step and a mode, generates → back in the UI, trim / adjust gain / fade / normalize → save versions and export. Also **Compose mode**: analyse the idea, present a style/key/section/instrumentation plan, write MIDI with scoremill, render a local preview, revise version by version, then optionally hand it to Suno | MP3 / WAV / M4A (multiple outputs can be zipped); compose mode also exports a score bundle (MIDI / preview / plan / compose.py). The original is kept and every edit or score version is new |
48
+ | **⑧ Sound effects** (Volcengine Seed-Audio) | Describe the source / environment / intensity / duration → sound effects, ambience, UI sounds, creature roars or character voices; optionally 1 reference image or up to 3 reference audio clips (mutually exclusive); every run adds a take without overwriting earlier ones | WAV / MP3 / Ogg Opus; export one take or zip all. Up to 120 seconds per run; every generation is billed |
46
49
  | ~~④ Rigged animation~~ | Part extraction → assembly → skeletal animation → Spine / DragonBones atlas | **Experimental, not covered in this document** |
47
50
 
48
51
  > 💡 **Module ⑤ "Map tile generation" is built on one idea: geometry by code, content by AI.**
@@ -74,7 +77,7 @@ and move on automatically, or stop at every step and wait for your go-ahead.
74
77
  > their variants are the frames. You can also generate random terrain, a maze or a continent in one go.
75
78
  > **Not a single model call is made — so nothing is billed.**
76
79
 
77
- > 🏷️ **Creating anything in any of the seven modules asks for a name first**: the field is pre-filled with the
80
+ > 🏷️ **Creating anything in any of the eight modules asks for a name first**: the field is pre-filled with the
78
81
  > default (just press Enter to keep it), and cancelling creates nothing. Map projects can also be renamed later.
79
82
 
80
83
  > ⚠️ **Module ④ "Rigged animation" is still experimental and not yet finished**: the quality of part extraction
@@ -305,9 +308,29 @@ Compose mode):
305
308
  Composing, previewing and exporting are fully local and **do not consume Puyue AI credits**; only the final
306
309
  Suno handoff is billed.
307
310
 
311
+ ## ⑧ Sound effects (Volcengine Seed-Audio)
312
+
313
+ This module generates directly in the UI: describe the sound, choose a format and sample rate, then click
314
+ Generate (billed).
315
+
316
+ - **Write the prompt like a dubbing director's script**: source + environment + intensity/rhythm + approximate
317
+ duration, e.g. "metal impact in heavy rain, short and forceful, about 1 second, with a slight tail". Up to
318
+ **120 seconds** per run; the API has no duration parameter, so put the length in the prompt.
319
+ - **Optional references**: one reference image (image-to-audio) or up to three reference audio clips (each at
320
+ most 30 seconds / 10MB), never both. Reference audio is addressed as `@音频1…@音频3` in the prompt.
321
+ - **One take per run**: earlier takes are never overwritten; preview, export or zip them in the UI. Failures are
322
+ not retried automatically.
323
+ - **Default model** `seed-audio-1.0`, default output WAV / 24000Hz (switchable to MP3 / Ogg Opus and
324
+ 16k / 24k / 32k / 44.1k / 48k).
325
+ - **The key is the speech console API key** (header `X-Api-Key`), **not** the Ark `ARK_API_KEY`; the
326
+ `seed-audio-1.0` model must be enabled in the speech console. "Test connection" really generates one very
327
+ short sound effect, which costs a small amount.
328
+ - Billing uses the returned `original_duration`; retries are billed again, so confirm with the user first.
329
+ - v1 does not edit audio locally (trim / fade / loudness); it only generates, previews, downloads and exports.
330
+
308
331
  ## Driving it from chat
309
332
 
310
- **Every feature of all seven modules** (including the experimental rigged animation and map tiles) **is available through
333
+ **Every feature of all eight modules** (including the experimental rigged animation and map tiles) **is available through
311
334
  chat**. The plugin registers the whole pipeline as `game_material_*` tools, so an agent can drive it forward,
312
335
  wait, review, and also stop at each step for you to approve.
313
336
 
@@ -339,7 +362,7 @@ dsh plugin --profile web add /path/to/dsh-game-material-master
339
362
  ```
340
363
 
341
364
  The package is published to npm: [dsh-game-material-master](https://www.npmjs.com/package/dsh-game-material-master)
342
- (currently `0.8.0`, `latest`). It has no runtime dependencies, so `dsh plugin add` is all you need.
365
+ (currently `0.9.1`, `latest`). It has no runtime dependencies, so `dsh plugin add` is all you need.
343
366
 
344
367
  **DSH version**: `>=0.2.0-rc.2 <0.3.0` (the `engines.dsh` field; since DSH 0.2.1 the plugin manager checks it first).
345
368
  When a Web deployment uses `--public-url https://host/prefix/`, deep links and asset URLs include that path prefix.
@@ -379,6 +402,7 @@ installation tree.
379
402
  | Default parameters | Cell width and height, frame count, pixel block size, keying threshold, and so on |
380
403
  | Local ComfyUI (image-to-video) | Routes image-to-video through a local **ComfyUI** instead of MiniMax; "Test connection" is read-only and free |
381
404
  | Music generation (Puyue AI) | Puyue AI API key, base URL, default music model and timeouts; "Test connection" reads one page of history and does not generate anything (no generation credits). Generation is billed by platform credits; the plugin does not collect payment |
405
+ | Sound effects (Volcengine Seed-Audio) | Speech console API key (not the Ark key), base URL, default model `seed-audio-1.0`, default format / sample rate and timeout; "Test connection" really generates one very short sound effect (small charge) |
382
406
  | Feature management | Per-module switches: a disabled module disappears from the UI **and the agent cannot call it either** (see below) |
383
407
 
384
408
  Keys are written only to `<DSH_HOME>/game-material-master/config.json` on your machine, and the UI always
@@ -474,7 +498,7 @@ the host side (the host has no access to the locale service), so the browser hal
474
498
  along every time it reads a project or resets prompts.
475
499
 
476
500
  Scope note: **localization covers the browser half's UI text and the built-in default prompts** — the workbench
477
- title, the seven module tabs, every card's buttons and notice bars, dialogs, the settings page, the review
501
+ title, the eight module tabs, every card's buttons and notice bars, dialogs, the settings page, the review
478
502
  controls, and the default prompts. Two categories remain in Chinese, because DSH currently only exposes the
479
503
  locale service to the browser half:
480
504
 
@@ -506,7 +530,8 @@ Everything in the UI that you can click, change or approve is bilingual.
506
530
  ├── rig-jobs/<id>/ rigged animation (experimental: sheet / parts / layout / rig / atlas)
507
531
  ├── tile-jobs/<id>/ map tiles (template / raw / cell / decor / map / export)
508
532
  ├── map-jobs/<id>/ map editor (project.json / map.json / tilesets / ai / preview / export)
509
- └── music-jobs/<id>/ music generation & editing (songs / versions / peaks / tools / out)
533
+ ├── music-jobs/<id>/ music generation & editing (songs / versions / peaks / tools / out)
534
+ └── sfx-jobs/<id>/ sound effects (refs / takes / out)
510
535
  ```
511
536
 
512
537
  > Map tiles keep the **raw generation output** in `raw/`: after changing regularisation parameters such as
package/README.md CHANGED
@@ -10,22 +10,25 @@
10
10
  [![npm](https://img.shields.io/npm/v/dsh-game-material-master?color=blue)](https://www.npmjs.com/package/dsh-game-material-master)
11
11
  [![license](https://img.shields.io/badge/license-MIT-green)](LICENSE)
12
12
 
13
- > **🆕 0.8.0 更新**:新增第七个模块 [**音乐生成编辑**](#-音乐生成编辑谱乐-ai)(谱乐 AI 生成 + 本地后期,
14
- > 另有**谱曲模式**:本地 MIDI 写谱、试听、逐版修改);地图编辑器加入 **AI 生成素材**(自动判断
15
- > 普通 / 整格 / 拼块,只让模型画一块无缝砖)与 **整图**(一张画一次占 N×M 格);图生视频可改走
16
- > **本地 ComfyUI**;全面适配 **DSH 0.2.1**(`engines.dsh`、`--public-url` 路径前缀)。
13
+ > **🆕 0.9.1 修复**:音效生成任务在轮询完成后会同步刷新左侧列表(不再停在「0 条 · ⏳」);
14
+ > 火山引擎网络错误会带出底层原因,不再是只有一句 `fetch failed`。
15
+ >
16
+ > **0.9.0 更新**:新增第八个模块 [**音效生成**](#-音效生成火山引擎-seed-audio)(火山引擎 Seed-Audio:
17
+ > 一句话描述 → 音效 / 环境音 / 角色配音,可带参考图或参考音频,每次生成真实计费,单次最长 120 秒)。
18
+ > 上一版 0.8.0 的 **音乐生成编辑 / 谱曲模式**、地图编辑器 **AI 生成素材 / 整图**、**本地 ComfyUI**
19
+ > 与 **DSH 0.2.1** 适配继续保留。
17
20
  > 完整变更见 [AGENTS.md 发布记录](https://github.com/universe-st/dsh-game-material-master/blob/main/AGENTS.md#已发布版本)。
18
21
 
19
22
  ![游戏素材大师 · 工作台](https://raw.githubusercontent.com/universe-st/dsh-game-material-master/main/docs/images/gmm-00-workbench.png)
20
23
 
21
24
  > **30 秒上手**:`dsh plugin --profile web add dsh-game-material-master` → 重启 DSH →
22
- > 侧栏点「游戏素材大师」→ 设置里填两个 API Key → 新建项目、上传设定图 → 点「生成转圈视频」
25
+ > 侧栏点「游戏素材大师」→ 设置里填好要用的 API Key(生图 / 视频;音效另填语音 Key)→ 新建项目、上传设定图 → 点「生成转圈视频」
23
26
  >(默认路径:角色原地匀速转一圈,再自动截出八个方向;要逐方向生图就在阶段①切一下方式)。
24
27
  >
25
- > 侧栏那个入口上还有一个**小折角菜单按钮**:点它直接弹出七个功能,一步跳进要用的那个;
28
+ > 侧栏那个入口上还有一个**小折角菜单按钮**:点它直接弹出八个功能,一步跳进要用的那个;
26
29
  > 不用的功能可以在设置里关掉(见「功能管理」)。
27
30
 
28
- 七个模块共用同一套「生成 → 验收 → 重跑」工作台。每个阶段都能**单独重做**,每份产物都能
31
+ 八个模块共用同一套「生成 → 验收 → 重跑」工作台。每个阶段都能**单独重做**,每份产物都能
29
32
  **逐项打「通过」**;「审核模式」可以选 agent 自动审完就往下走,也可以选每一步停下来等你点头。
30
33
 
31
34
  | 模块 | 做什么 | 走完能拿到 |
@@ -36,6 +39,7 @@
36
39
  | **⑤ 45°地图地块生成**(实验性) | 45° 等距地块 → 铺成整张地图 | 地块包(PNG)+ 地图 PNG + 布局 JSON |
37
40
  | **⑥ 地图编辑器**(**全本地零计费**) | 选一张素材图 → 直接画(参照 AsLib 的 RPG Map Maker 重做:一屏、纯图标、零术语;默认「地理层 / 装饰层 / 建筑层」三层且可改名换序;**标记层**:每格放一个可命名的标记,画成圆圈里的数字;素材窗口里还有 **AI 生成素材**:填提示词 / 名字 / 帧数 / 方式 / 用法,插件会**自动开一个新对话**去生成 —— 用哪种素材(普通 / 整格 / 拼块)由它按提示词自动判断,只让模型画**一块无缝的砖**,16 种接法 / 5 种形状与断口收口都由插件用代码拼出来(这样拼到地图上才不会有缝)。会动的素材走「拼块」(帧数 = 变体,会自动连接)或「普通」(翻页图),每张素材还能在「新增素材」里单独设自己的播放速度(不设就跟设置里的全局速度走)、**清晰度**(2K 大图缩到 32px 格子时用面积平均 / 最近邻 / 平均+锐化,细节差很多)、**循环方式**(正放 / 倒放 / 来回);另有**整图**(一张画一次占 N×M 格:雕像 / 壁画 / 地毯,右键转 90°、绿幕自动抠成透明、导入时逐格点通行区域);新建项目还能选**一格多大**(16 / 32 / 48 / 64,想让 AI 素材更清楚就用 48 / 64),模型在四周留的白框会被自动裁掉;整格只有 16 种接法、没有动画,界面里会把帧数与视频模型锁住,回来点链接这张图与用法就填在「新增素材」里) | PNG + 存档 JSON(地图四周环绕、自动连接、动画地块、标记点);勾几项就导几项,多个产物自动打成一个 ZIP 下载 |
38
41
  | **⑦ 音乐生成编辑**(谱乐 AI) | 灵感提示词或完整歌词 → 自动开一个**不挂靠项目**的新对话;对话里的 agent 读内置创作指南、扩写提示词、选 Suno / Mureka / MiniMax / ACE-Step 与模式并生成 → 回界面裁剪 / 调音量 / 淡入淡出 / 标准化 → 保存版本与导出。另有**谱曲模式**:先分析想法、给出曲风/调性/段落/配器方案,再用 scoremill 写 MIDI、本地渲染试听、逐版修改,满意后可选交给 Suno 生成正式版 | MP3 / WAV / M4A(多产物可打 zip);谱曲模式另有 MIDI / 试听 / 方案 / compose.py 的乐谱包。原曲保留,编辑与谱曲结果都是新版本 |
42
+ | **⑧ 音效生成**(火山引擎 Seed-Audio) | 一句话描述声源 / 环境 / 强度 / 时长 → 生成音效、环境音、UI 声、生物吼叫或角色配音;可带 1 张参考图或最多 3 条参考音频(两者互斥);每次生成新增一条 take,旧 take 不覆盖 | WAV / MP3 / Ogg Opus;可单条导出或全部打 zip。单次最长 120 秒;每次生成真实计费 |
39
43
  | ~~④ 骨骼动画生成~~ | 拆件 → 装配 → 骨骼动画 → Spine / DragonBones 图集 | **实验性功能,本文不展示** |
40
44
 
41
45
  > 💡 **模块⑤「45°地图地块生成」的核心思路是「几何交给代码,内容交给 AI」。**
@@ -60,7 +64,7 @@
60
64
  > 还能一键生成随机地形 / 迷宫 / 大陆。
61
65
  > **一次模型调用都没有,也就不花钱。**
62
66
 
63
- > 🏷️ **七个模块的新建都先问一个名字**:输入框里已经填好默认名(直接回车就用默认值),点取消则不会创建;
67
+ > 🏷️ **八个模块的新建都先问一个名字**:输入框里已经填好默认名(直接回车就用默认值),点取消则不会创建;
64
68
  > 地图项目还能随时「重命名」。
65
69
 
66
70
  > ⚠️ **模块④「骨骼动画生成」仍是实验性功能,尚未完善**:拆件质量取决于生图模型,自动装配与骨骼推导
@@ -246,9 +250,26 @@ flowchart LR
246
250
 
247
251
  谱曲、试听、导出全部在本地完成,**不消耗谱乐 AI 积分**;只有最后交给 Suno 才计费。
248
252
 
253
+ ## ⑧ 音效生成(火山引擎 Seed-Audio)
254
+
255
+ 音效这一模块不派给对话,界面上直接生成:写一句「要什么声音」,选格式与采样率,点「生成(计费)」。
256
+
257
+ - **提示词当导演脚本写**:声源 + 环境 + 强度/节奏 + 大致时长。例如「暴雨中的金属撞击,短促有力,
258
+ 约 1 秒,带一点尾音」。单次输出上限 **120 秒**;接口没有 duration 参数,时长只能写进提示词。
259
+ - **参考素材(可选)**:1 张参考图(图生音)或最多 3 条参考音频(每条 ≤30 秒 / ≤10MB),两者不能同时用;
260
+ 参考音频在提示词里用 `@音频1…@音频3` 引用。
261
+ - **每次生成一条 take**:旧 take 永远保留,可以在界面里逐条试听 / 导出 / 打包;失败不会自动重试。
262
+ - **默认模型** `seed-audio-1.0`,默认输出 WAV / 24000Hz(可切 MP3 / Ogg Opus 与
263
+ 16k / 24k / 32k / 44.1k / 48k)。
264
+ - **Key 是语音控制台的 API Key**(请求头 `X-Api-Key`),**不是**火山方舟的 `ARK_API_KEY`;
265
+ `seed-audio-1.0` 需要先在语音控制台开通。设置页的「测试连接」会真实生成一条极短音效,
266
+ 会产生少量费用。
267
+ - 计费按返回的 `original_duration`;重试会再计费,失败/重试前请先确认。
268
+ - v1 不做本地剪辑(裁剪 / 淡入淡出 / 响度标准化),只做生成、试听、下载与导出。
269
+
249
270
  ## 用对话驱动
250
271
 
251
- 七个模块(含实验性的骨骼动画与地图地块)的**全部功能都能通过对话调用**。插件把整条流水线注册成
272
+ 八个模块(含实验性的骨骼动画与地图地块)的**全部功能都能通过对话调用**。插件把整条流水线注册成
252
273
  `game_material_*` 工具,agent 能自己推进、等待、审查,也可以在每一步停下来让你验收。
253
274
 
254
275
  | 工具 | 作用 |
@@ -278,7 +299,7 @@ dsh plugin --profile web add /path/to/dsh-game-material-master
278
299
  ```
279
300
 
280
301
  包已发布到 npm:[dsh-game-material-master](https://www.npmjs.com/package/dsh-game-material-master)
281
- (当前 `0.8.0`,`latest`)。本包没有运行时依赖,`dsh plugin add` 拉下来即可用。
302
+ (当前 `0.9.1`,`latest`)。本包没有运行时依赖,`dsh plugin add` 拉下来即可用。
282
303
 
283
304
  **DSH 版本**:`>=0.2.0-rc.2 <0.3.0`(`package.json` 的 `engines.dsh`;DSH 0.2.1 起插件管理器优先按它判断兼容性)。
284
305
  Web 部署用 `--public-url https://host/prefix/` 时,深链接与产物地址会跟着补路径前缀。
@@ -314,7 +335,8 @@ Windows 注册表里的同名变量 → WinGet / Scoop / Chocolatey 与 `C:\ffmp
314
335
  | 默认参数 | 单格宽高、抽帧张数、像素块边长、抠像阈值等 |
315
336
  | 本地 ComfyUI(图生视频) | 勾选后图生视频改走**本机 ComfyUI**,替代 MiniMax;「测试连接」只读状态、免费 |
316
337
  | 音乐生成(谱乐 AI) | 填谱乐 AI API Key、Base URL、默认音乐模型与超时;「测试连接」读一页历史,不产生生成费用。生成按平台积分计费,插件不代收 |
317
- | 功能管理 | 逐个开关七个模块:关掉的模块界面上不再出现,**对话里的 AI 也调不到**(见下) |
338
+ | 音效生成(火山引擎 Seed-Audio) | 填语音控制台 API Key(不是方舟 Key)、Base URL、默认模型 `seed-audio-1.0`、默认格式/采样率与超时;「测试连接」会真实生成一条极短音效(少量费用) |
339
+ | 功能管理 | 逐个开关八个模块:关掉的模块界面上不再出现,**对话里的 AI 也调不到**(见下) |
318
340
 
319
341
  Key 只写入本机 `<DSH_HOME>/game-material-master/config.json`,界面回显始终脱敏。
320
342
  **生图后端与模型是插件级设置,所有需要生图的模块共用**,切换后任务自动对齐新档位。
@@ -378,7 +400,7 @@ Key 只写入本机 `<DSH_HOME>/game-material-master/config.json`,界面回显
378
400
  ## 界面语言
379
401
 
380
402
  **插件界面跟随 DSH 自身的语言设置**(设置 → 通用 → 语言),中文 / 英文都是一等公民,
381
- 切换**即时生效**、不用刷新页面:工作台标题、七个模块页签、每一张卡片的按钮、提示条、
403
+ 切换**即时生效**、不用刷新页面:工作台标题、八个模块页签、每一张卡片的按钮、提示条、
382
404
  弹窗与设置页全部跟着走。
383
405
 
384
406
  实现上不猜也不复制 DSH 的语言状态,而是接 DSH 的 `locale` 服务
@@ -392,7 +414,7 @@ Key 只写入本机 `<DSH_HOME>/game-material-master/config.json`,界面回显
392
414
  所以浏览器半区每次读项目、重置提示词时把当前语言一起带过去。
393
415
 
394
416
  范围说明:**多语言覆盖的是浏览器半区的界面文案与内置默认提示词**——工作台标题、
395
- 七个模块页签、每一张卡片的按钮与提示条、弹窗、设置页、验收控件、默认提示词。
417
+ 八个模块页签、每一张卡片的按钮与提示条、弹窗、设置页、验收控件、默认提示词。
396
418
  以下两类仍是中文,因为 DSH 目前只把 locale 服务提供给浏览器半区:
397
419
 
398
420
  - **运行日志里由宿主写入的行**(「开始生成「南 · 正对镜头」」「…生成完成,用时 12.3 秒」等)
@@ -418,7 +440,8 @@ Key 只写入本机 `<DSH_HOME>/game-material-master/config.json`,界面回显
418
440
  ├── rig-jobs/<id>/ 骨骼动画(实验性:sheet / parts / layout / rig / atlas)
419
441
  ├── tile-jobs/<id>/ 地图地块(template / raw / cell / decor / map / export)
420
442
  ├── map-jobs/<id>/ 地图编辑器(project.json / map.json / tilesets / ai / preview / export)
421
- └── music-jobs/<id>/ 音乐生成编辑(songs / versions / peaks / tools / out)
443
+ ├── music-jobs/<id>/ 音乐生成编辑(songs / versions / peaks / tools / out)
444
+ └── sfx-jobs/<id>/ 音效生成(refs / takes / out)
422
445
  ```
423
446
 
424
447
  > 地图地块的 `raw/` 会**保留原始生成结果**:改了单元格尺寸之类的规整参数后,