Skip to main content
Glama

场记 / Continuity

A DeepSeek Harness plugin that gives an agent local image / speech / music / SFX generation and remembers what it made — the same character stays the same character across every call, and a failed generation is never allowed to pass as a success.

Runs locally. Models are lazy-loaded per request and released when idle, so when you are not using it the GPU is untouched — 0.21 GiB resident, measured. You can play a game on the same card.

场记 is the continuity supervisor on a film set. Their entire job is two things: make sure the costume, hair and props match between takes, and catch the mistake on set before it is cut into the film. That is exactly this plugin's job.

Install

uvx --from continuity-mcp continuity-setup      # preflight → build engines → fetch weights → start
dsh plugin --profile <your-profile> add dsh-plugin-continuity

continuity-setup checks the machine before it downloads anything, and sizes the install to what it finds. Run continuity-setup --check first to see what it would do — that reads hardware and changes nothing:

体检结果:
  GPU     AMD Radeon RX 7800 XT (RADV NAVI32)  (16.0 GiB, 此刻可用 15.8 GiB, DISCRETE_GPU, vulkan device 1)
          未选 AMD Radeon RX 7900 XTX (RADV NAVI31) (24.0 GiB, 此刻可用 1.4 GiB)
          跳过 llvmpipe —— 软件渲染, 不是真显卡
  内存    30.9 GiB
  磁盘    3118.4 GiB 可用 / 需要 30 GiB
  生图    启用
  抠图默认档  best
  参考音上限  30s (每秒约 0.19 GiB 显存)

Two details in there that exist because the naive version is wrong:

  • It skips llvmpipe. The software rasterizer advertises 30.9 GiB of "VRAM" (it is your system RAM) and would win any "pick the biggest card" contest. Everything would then run on the CPU — working, looking completely normal, and unusably slow.

  • It picks by free VRAM, gates by total VRAM. On the machine above the 24 GiB card has 1.4 GiB actually free because another process holds it; picking by size would select it and then OOM. But "is this card good enough" is a hardware question, so that one uses the total — otherwise a 16 GiB card would be rejected for having a game open.

Related MCP server: Voice-AGI MCP Server

Minimum requirements

Minimum

Notes

GPU

8 GiB VRAM

Peak is 6.80 GiB (measured). Requests are serialized, so peak is one model, not the sum.

GPU API

Vulkan 1.2+

No CUDA, no ROCm. Kernels are SPIR-V compiled at runtime.

Disk

30 GiB during install, 19.5 GiB after

17.4 weights + 2.1 runtime image + 8.5 build layers (reclaimable).

Host RAM

16 GiB (8 GiB workable — see below)

Driven by transient peaks, not idle.

CPU

any x86-64

Background removal runs on CPU.

Audio-only installs (see below) need 20 GiB during install, 9.5 GiB after.

All VRAM/RAM figures on this page are GiB (2³⁰ bytes), which is what rocm-smi and vulkaninfo report. An earlier version of this README labelled them GB; that was wrong and made the headroom look tighter than it is.

Vulkan instead of CUDA is not a preference — it is why this runs at all. ROCm miscomputes VAE decode on this GPU class (ROCm#6633): five decodes of identical input returned five mutually uncorrelated results. Vulkan/RADV compiles SPIR-V at runtime instead of looking up a per-arch kernel table, and is correct and faster here. The side effect is portability across all three vendors.

GPU vendors

How the container gets the GPU

Status

AMD

/dev/dri + mesa RADV inside the image

Tested (RX 7800 XT, RX 7900 XTX)

Intel

/dev/dri + mesa ANV inside the image — same mechanism

Untested

NVIDIA

nvidia-container-toolkit injects the host driver (docker-compose.nvidia.yml)

Untested

I only have AMD cards, so I will not claim more than that. Nothing in the code is AMD-specific — no CUDA, no ROCm, no HIP, no /dev/kfd, no gfx targets — and ggml's Vulkan backend is widely run on NVIDIA. But "widely run" is not "I verified it".

The NVIDIA path is a genuinely different wiring, not just a different card: NVIDIA's Vulkan ICD lives in the host driver and must be injected by nvidia-container-toolkit, with NVIDIA_DRIVER_CAPABILITIES including graphics — the default compute,utility gives you working CUDA and an empty device list in Vulkan. continuity-setup detects NVIDIA, uses the right compose overlay, and tells you the path is unverified. Reports either way are welcome.

Host RAM in detail

Idle is negligible; the peaks are what sizes the machine.

operation

peak RSS

idle

0.52 GiB

music

0.50 GiB

speech

1.63 GiB

image (1024²)

4.94 GiB

remove_bg quality="best"

7.74 GiB

remove_bg quality="fast"

1.33 GiB

Background removal is the ceiling, and its cost is independent of input size — 256 / 512 / 1024 px all peak at ~6.8 GiB, because BiRefNet runs at a fixed internal resolution.

On 16 GiB everything works. Below 12 GiB, continuity-setup sets the default to quality="fast" (u2netp): peak drops to 1.33 GiB and it runs in 0.6 s instead of 7.2 s. On a typical game sprite the two are hard to tell apart by eye — checked side by side over a magenta backdrop with the edges zoomed. best remains the default where there is room, because the models do differ in principle on fine edges (hair, semi-transparent fringes), but treat fast as a legitimate choice rather than a degraded fallback.

What adapts to your VRAM, and what cannot

Three things scale with the card. All three thresholds are measured, not guessed:

Small card

Large card

Why

Which half installs

audio only (<8 GiB)

image + audio

Image generation peaks at 6.80 GiB and there is no way to shrink it — see below

Audio unloaded before image

yes (<12 GiB)

no

Audio models stay resident; image on top of them peaks at 7.84 GiB instead of 6.80

Reference-audio limit

15 s (<12 GiB)

30 s

Reference audio costs ~0.19 GiB per second

The audio-only tier is a real product, not a consolation prize: casting voices, dialogue, music, SFX and cutout all work, and it fits comfortably in 4 GiB.

What does not adapt: the image model. Quantizing it does not move VRAM at all — Q4_0 (2.29 GiB of weights) peaks at 6.60 GiB, Q8_0 (4.01 GiB) at 6.59 GiB, identical. Lowering resolution does not help either (512 / 768 / 1024 all peak the same; only time changes). The bottleneck is the 8 GiB unquantized 4B text encoder, not the diffusion model. So there is no "medium" image tier to offer, only installed or not. (Q4_0 ships anyway — same VRAM, 1.7 GiB less disk.)

Going below 8 GiB for images means changing the text encoder or the model family. That is possible, but it moves identity pinning from native ref_images to IP-Adapter, which is not verified here — and identity pinning is the whole point.

Zero residency

Measured on an RX 7800 XT with nothing else on the card:

GPU

idle

0.21 GiB

during image generation

6.80 GiB

2 s after it finishes

0.21 GiB

during TTS

2.39 GiB

120 s after TTS

0.21 GiB

Images are free: the engine streams weights per request and never keeps them resident. Audio is released by an idle timer (AUDIO_IDLE_UNLOAD_S, default 120 s) — not immediately, because someone voicing ten lines in a row should not pay a reload each time. Reload costs nothing measurable: the same TTS request took 3.0 s both cold and warm, because weights are mmap'd and sit in page cache.

Requests are serialized, so peak = the single largest model. Closing the agent releases the VRAM too — the MCP server unloads on exit rather than leaving the engines holding it.

Two things it actually does

1. Identity survives across calls. Generation backends are stateless: ask for the same character twice and you get two people who merely resemble each other. Measured on Qwen3-TTS, four lines from one voice description:

pitch spread across 4 lines

straight to the model (default sampling)

125 Hz

straight to the model, greedy decoding

242 Hz — worse

through Continuity (pinned reference)

5 Hz

Under greedy decoding the seed is provably inert — seeds 5 / 99 / 777 produced one identical sha256 — so randomness was fully eliminated, and it still drifted 242 Hz. Identity is a function of the input text, not of the random draw. temperature=0 and top_k=1 cannot fix it. Only pinning to a reference artifact can.

create_actor(name, voice)          -> audition clip; listen before you commit
actor_tts(actor, text)             -> same timbre every line

create_character / create_animal / create_object (name, appearance)
subject_image(subject, scene)      -> same look, new scene / angle / outfit

Identity and wardrobe are separate: pin the face and build, then change clothes in the scene prompt. A reference in an indigo robe, asked for wearing heavy red armor, comes back in armor with the same face.

Already cast your character somewhere else? import_actor and import_subject pin an artifact you supply — a real voice recording, an ElevenLabs clip, a character sheet from another tool — and everything downstream behaves identically. Audio is normalized to 24 kHz mono for you (44.1 kHz stereo in, verified: reference f0 identical, and an imported actor tracks a natively-cast one to 11 Hz).

2. Degenerate output is refused. A backend that miscomputes returns a perfectly well-formed all-zero WAV, or a flat grey PNG, with HTTP 200. Every artifact is checked (image standard deviation, audio RMS, non-finite samples) and the call fails loudly rather than reporting success over garbage. Cutouts additionally get a quality report — mostly transparent, nothing removed, subject shattered into fragments, holes eaten through the subject — each with a specific warning instead of a silent pass.

Plus remove_bg: diffusion models draw "transparent background" as an opaque checkerboard; this turns it into a real RGBA cutout, which sprites require. And gen_sfx, which synthesizes sfxr-style game SFX procedurally — bit-identical for a given seed, milliseconds, no GPU — because a diffusion model is the wrong instrument for a 40 ms coin pickup.

Tools

19 tools. Everything returns absolute local file paths, not URLs — the agent and the engines are on the same machine, so a path can go straight into your game project without a download step, and there is no file server to run or misconfigure.

voice

create_actor import_actor actor_tts list_actors delete_actor generate_speech

look

create_character create_animal create_object import_subject subject_image list_subjects delete_subject generate_image

audio

generate_music gen_sfx

post

remove_bg slice_sheet

meta

continuity_status

generate_image と generate_speech は単発利用のために存在し、それぞれの説明にもその旨が明記されています。それらが生成したものは次の呼び出しでは戻ってこないことをエージェントに明示的に伝え、繰り返し使うものについてはピニングツールを指し示します。

制限値と、それぞれの存在理由

ここにある数値はすべて、ポリシーではなく実測された障害境界です。

制限

値

それを超えた場合

行の長さ

200 文字

600 文字で GPU がハングしました: amdgpu GPU reset(6)、デバイスロスト、もう一方のカード上の無関係なプロセスが強制終了。200 は既知の安全最大値の半分です。

参照音声

15 s / 30 s

~0.19 GiB VRAM/秒: 15 s → 6.59 GiB、30 s → 9.04 GiB。これを超えると、画像ではなく音声が上限になります。

キャスティングスクリプト

45 文字

参照音声を生成し、その後の各行で再読み込みされます。文字数は指標として不正確です(60 文字の実測は 19.1 s で、比率から予測される 13.7 s ではありません)。そのため、実際の再生時間はキャスティング後にチェックされ報告されます。

画像サイズ

1024 px

1280 では VRAM が 14.5/16.4 GiB に達し、2048 ではドライバが restore_userptr_worker のスラッシングに陥り、プロセスが割り込み不能な D 状態で停止しました。単純な OOM よりも悪い状態です。

音楽の長さ

120 s

安全上の制限ではありません。エンジンは 120 s で静かに切り詰めて成功と報告します。この制限により、それが明示的な clamped フィールドになります。

24 kHz 未満のインポート音声は受け付けられますが、フラグが付けられます。アップサンプリングでは失われたオクターブを復元できないため、クローンは元のファイルよりもくすんだ仕上がりになります。これは黙って通すのではなく警告に値します。このプラグインが捉えようとしている他のすべての障害と同じ形だからです。

過大な入力は、意図的に種類ごとに異なる方法で処理されます。 大きすぎる画像はリサイズされ、その結果が報告されます(原图 2400x1600 → 存为 1024x682)。縮小された画像も同じ内容を表しているからです。長すぎる参照音声は切り詰めではなく拒否されます。音声の末尾を切り取ると、トランスクリプトが音声にもはや含まれていない内容を指すことになり、クローニングが依存するのはまさにその対応関係だからです。黙って切り詰めれば、インポートは成功しても、別人のように聞こえるアクターを渡すことになります。

独自バックエンドの利用(任意)

ローカルエンジンがデフォルトですが、すべてのバックエンドは URL です(SD_SERVER、AUDIO_SERVER)。これらを自分のサーバーに向けると、ローカルモデルは一切読み込まれません。その場合の制約が 1 つあります。音声エンジンは参照音声のパスを自身で解決するため、同じ actors ディレクトリ(同じマシン、または共有マウント)を参照できる必要があります。

画像バックエンドは参照画像を受け付ける必要があります(FLUX.2 スタイルのネイティブ ref_images、IP-Adapter、または顔向けの PuLID など)。これがないと、アイデンティティのピニングは機能しません。プラグインは黙って劣化する代わりに、その旨を明示します。

先行事例

現在の MCP エコシステムの調査 — MiniMax-MCP、openrouter-mcp-multimodal、AtlasCloud、dsh の vision/draw プラグイン、および 4 つのゲームアセットサーバー — では、音声クローニングは複数の実装で見つかりましたが、視覚的な被写体のピニングはどこにもなく、出力検証もどこにもありませんでした。

レイアウト

bundle/   dsh bundle (npm) — one plugin row; dsh spawns and supervises the MCP server
src/      the MCP server: pinning, guardrails, verification, cutout, VRAM lifecycle
src/continuity_mcp/deploy/   compose + engine Dockerfile + weight manifest

ライセンス

MIT

Available Tools

21 tools
actor_ttsA

让某个已铸声的角色说一句台词, 音色与他之前每一句都一致。

做游戏 NPC 对白用这个, 不要用 generate_speech —— 后者每句音色会漂。 角色不存在会告诉你先去 create_actor。

参数: actor: 角色名(create_actor 时定的) text: 台词, 上限 200 字(约 45 秒), 超出截断 speaking_rate: 语速倍率(可选) seed: 随机种子(可选)

返回: 24 kHz 单声道 WAV 的本机路径

Inputs: text (required), actor (required), seed, speaking_rate. Returns: ok, path, actor, error, +6 more

continuity_statusA

本插件当前的状态: 两个引擎在不在、哪些能力开着、资产存在哪。

某个工具"不存在"时先看这里 —— 显存不够的机器上生图那半是被安装脚本关掉的, 不是坏了。

Inputs: no named parameters. Returns: ok, audio, error, image, +10 more

create_actorA

给一个角色铸声(定妆), 之后用 actor_tts 让他说任意台词都保持同一个音色。

为什么要有这一步: 直接用文字描述合成语音, 那段描述只圈定一个大致的音色区间, 区间内每句台词各漂各的 —— 实测同 voice 同 seed 四句台词基频极差 125 Hz, 关掉采样走贪心反而涨到 242 Hz(音色是文本的函数, 不是采样随机性, 锁 seed 或 temperature 都锁不住)。本工具先用 voice 描述生成一段参考音, 之后所有台词 改由克隆模型照着这段参考音说, 音色与台词内容无关。实测极差降到 5 Hz。

重要: 铸完请先听那段试音, 确认是不是你要的那个人。铸砸了会把整个角色锁死在 错的音色上, 而且它之后每一句都错得很一致。不满意就 force=true 重铸。

参数: name: 角色名(字母/数字/下划线/连字符/中文, 1~40 字), 之后 actor_tts 用它指代 voice: 声音的自然语言描述, 英文效果最佳。写年龄/性别/音色/语速/情绪, 例如 "An elderly Chinese man, gravelly chest voice, commanding" sample_text: 铸声用的台词(可选)。默认用一段覆盖面较广的中文 seed: 随机种子(可选) force: 覆盖已有角色。会让该角色之前所有台词的音色对不上, 慎用

返回: 试音片段的本机路径 —— 先听再用

Inputs: name (required), voice (required), seed, force, +1 more. Returns: 铸声 (create_actor / import_actor) 的结果。

create_animalA

给一只动物/坐骑/灵兽定妆, 之后每张图它都是同一只。

appearance 里必须写死这几样:

  • 物种 + 体型比例(腿长/身长/头身比)

  • 毛色/羽色 + 花纹的分布位置(不是只说"有斑点", 要说斑点在哪)

  • 耳朵、尾巴、翅膀的形状

  • 显著特征(独角/断尾/眼色) 鞍具、缰绳这类可穿卸的东西和人物的服装同理: 写进 appearance 只是默认值, scene 里可以换掉。不要写场景和动作。

定完先看定妆图, 不满意 force=true 重定。

Inputs: name (required), appearance (required), seed, force, +4 more. Returns: 定妆 (create_character / create_animal / create_object / import_subject) 的结果。

create_characterA

给一个人物定妆(生成并存下参考图), 之后 subject_image 出的每张图长相都一致。

为什么要有这一步: generate_image 每次给的是"长得不一样的人"。同一个角色的头像 / 战斗立绘 / 地图小人, 直接用文字描述生成出来是三个人。

appearance 分两部分, 分清楚很重要:

(1) 身份 —— 必须写死, 漏掉的每一项模型都会自己编, 而且每张编得不一样:

  • 年龄段 + 体型(高瘦/魁梧/矮壮)

  • 脸: 脸型、显著特征(疤/须/眉眼)

  • 发型 + 发色 + 束发方式

  • 辨识物: 跟着这个人走、换装也不摘的东西(独眼罩/佩剑/护腕/胎记)

(2) 默认服装 —— 只是个基线, 不是身份的一部分。照样写进 appearance, 但 subject_image 的 scene 里写新衣服就能换掉(实测: 定妆穿布袍, scene 写 "wearing heavy red armor" 能换成甲胄而脸不变)。所以一个角色不需要按套装 定妆很多次。

不要写场景、动作、表情 —— 那些留给 subject_image 的 scene。

定完先看返回的定妆图确认是不是你要的人; 定砸了会把整个角色锁死在错的长相上, 不满意就 force=true 重定。

Inputs: name (required), appearance (required), seed, force, +4 more. Returns: 定妆 (create_character / create_animal / create_object / import_subject) 的结果。

create_objectC

给一件道具/物件定妆, 之后每张图它都长一个样, 换角度也不变。

物件最容易漂的是几何, 不是材质配色 —— 实测一个宝箱, 材质配色五金件都对得上, 盖子却一会儿是平的方的、一会儿是拱的圆的, 因为原始描述里压根没写盖子什么形状。

appearance 里必须写死这几样:

  • 整体轮廓 + 比例(长方/立方/圆桶, 宽高比)

  • 关键几何: 盖子平的还是拱的、边角方的还是圆的、侧面直的还是弧的、有没有底座

  • 材质 + 主次配色

  • 五金件/纹饰及其位置(锁扣、包角、铆钉在哪) 不要写场景和角度 —— 角度留给 subject_image 的 scene。

定完先看定妆图, 不满意 force=true 重定。

Inputs: name (required), appearance (required), seed, force, +4 more. Returns: 定妆 (create_character / create_animal / create_object / import_subject) 的结果。

delete_actorB

删掉一个已铸声的角色。不可逆: 参考音不可复现, 重铸出来是另一个人。

Inputs: name (required). Returns: ok, kind, name, error, +3 more

delete_subjectA

删掉一个已定妆的角色或物件。不可逆: 定妆图不可复现, 重定出来是另一个。

Inputs: name (required). Returns: ok, kind, name, error, +3 more

generate_imageA

生成一张一次性图片 —— 不保证与任何其它图一致。

会重复出现的角色/物件请先 create_character / create_object 定妆, 再用 subject_image 出图。这个工具适合背景板、UI 底图这类只出现一次的东西。

参数: prompt: 图片描述(英文效果最佳) width/height: 上限 1024 seed: 随机种子(可选) reference_image_path: 参考图的本机路径(可选), 传了就是图生图 num_inference_steps: 采样步数(可选, 不传用引擎默认)。多了更精细也更慢 guidance_scale: 提示词贴合度(可选, 不传用引擎默认)。高了更贴提示词但更容易糊

返回: 本机路径

Inputs: prompt (required), seed, width, height, +3 more. Returns: ok, path, seed, error, +7 more

generate_musicA

生成一段背景音乐(Stable Audio), 返回 WAV 的本机路径。

参数: prompt: 音乐描述(风格/乐器/情绪, 英文效果最佳) seed: 随机种子(可选) duration: 秒数, 上限 120 num_inference_steps: 推理步数(默认 100, 越多越慢)

注意: 出来的是一段有头有尾的音乐, 没有做无缝循环点。要循环播放的 BGM 请自己在编辑器里找循环点, 或把它当作一次性过场音乐。

Inputs: prompt (required), seed, duration, num_inference_steps. Returns: ok, path, error, clamped, +5 more

generate_speechA

一次性旁白 —— 不保证跨句音色一致, 会重复出现的角色请用 create_actor + actor_tts。

适合系统提示音、一次性播报这类"说完就没了"的语音。任何会说第二句的角色都不该 用这个: 同一段 voice 描述的两句台词不是同一个人。

参数: text: 要念的台词, 上限 200 字 voice: 声音的自然语言描述(英文效果最佳), 不传则用中性旁白嗓 seed / speaking_rate: 可选

返回: 24 kHz 单声道 WAV 的本机路径

Inputs: text (required), seed, voice, speaking_rate. Returns: ok, path, actor, error, +6 more

gen_sfxA

合成一枚 sfxr/jsfxr 风格的游戏音效(纯程序化, 不用模型), 返回 WAV 路径。

不要用 generate_music 做音效: 那是扩散模型, 出来的是几十秒的宽带糊音。游戏音效 是 10~200ms 的瞬态, 要精确、即时、可复现 —— 本工具毫秒级出结果, 同 seed 逐字节可复现, 而且完全不占显存。

参数: preset: jump / coin / hit / explosion / powerup / laser / select / hurt seed: 随机种子。给了就在 preset 周围抖动参数(不是抖采样点), 同 seed 结果完全相同; 不给则严格使用 preset 的原始参数。 base_freq: 覆盖基频 Hz (noise 波形下是采样保持的刷新率) wave: 覆盖波形 square / saw / sine / triangle / noise overrides: 覆盖任意合成参数的字典, 例如 {"freq_slide": -3.0, "release": 0.4, "lpf": 0.5, "duty": 0.25} 可覆盖的完整字段名和默认值: 调 sfx_presets()

返回: 44.1kHz 16bit 单声道 WAV 的本机路径。结构化返回里的 params 是这一枚音效 用到的全部合成参数 —— 拿它加一点改动再调一次, 就能做出一整组同族音效。

Inputs: seed, wave, preset, base_freq, +1 more. Returns: ok, path, seed, wave, +7 more

import_actorA

用一段现成的录音铸声 —— 声音是别处做的(真人录音 / 其它 TTS)也照样能保持一致。

和 create_actor 得到的东西完全一样, 只是参考音由你提供而不是我们生成。之后 actor_tts 让他说任意台词, 音色都来自这段录音。

参数: name: 角色名, 之后 actor_tts 用它指代 audio_path: 录音的本机路径。16-bit PCM WAV, 2~30 秒, 单人清唱式的干净人声 最好(没有背景音乐和混响)。采样率/声道数会自动转成 24 kHz 单声道。 其它格式先转: ffmpeg -i 原文件 -acodec pcm_s16le -ac 1 -ar 24000 ref.wav transcript: 那段录音里念的是什么。不给就自动听写一遍填上, 但那是机器听的, 会在返回里标出来让你核 —— 克隆模型拿它对齐音频和文字, 错一个词 音色就会明显不对。手上有准确的文字就直接给, 别让它猜。 force: 覆盖已有角色

注意: 你有权使用这段声音才导入它。克隆一个真人的嗓子在很多地方是需要本人同意的。

Inputs: name (required), audio_path (required), force, transcript. Returns: 铸声 (create_actor / import_actor) 的结果。

import_subjectA

用一张现成的图定妆 —— 角色/物件是别处画的也照样能保持一致。

和 create_character / create_object 得到的东西完全一样, 只是定妆图由你提供。 之后 subject_image 让它出任意场景图, 外观都来自这张图。

参数: name: 名字, 之后 subject_image 用它指代 image_path: 参考图的本机路径。要求和我们自己生成的定妆图一样: 单个主体、 正面或四分之三视角、背景干净、看得全。一张有场景有动作的插画 当参考图, 场景会跟着一起被复制过去。 appearance: 这是什么的文字描述 —— 必填, 它会被拼进之后每一张场景图的提示词。 只给参考图而不给描述, 模型对"这是什么"没有着落, 外观照样会漂。 写法同 create_character / create_animal / create_object 的要求。 kind: character / animal / object force: 覆盖已有的

大图会缩到 1024 以内; 带透明通道的图会转成 RGB(透明区交给引擎会变成黑块)。

Inputs: name (required), appearance (required), image_path (required), kind, +1 more. Returns: 定妆 (create_character / create_animal / create_object / import_subject) 的结果。

list_actorsB

列出已铸声的角色(名字 + 当初的声音描述 + 铸声时间)。

Inputs: no named parameters. Returns: ok, count, error, actors, +2 more

list_subjectsA

列出已定妆的角色、动物和物件。

Inputs: no named parameters. Returns: ok, count, error, subjects, +2 more

remove_bgA

抠掉图片背景, 输出真正带 alpha 通道的 RGBA PNG。

生图模型画不出 alpha: 你让它画"透明背景", 它是把 PS 那种灰白棋盘格当成不透明 像素画出来的。做游戏精灵图必须用本工具把它转成真的 RGBA。

参数: image_path: 图片的本机路径(其它工具返回的路径可直接用) image_base64: 或者直接给 base64 mode: auto (默认, 按结构证据判断是不是棋盘格: 恰好两级灰度 + 周期方格; 不是就走 通用抠图) / checker (强制只抠棋盘格) / rembg (强制通用显著物体抠图, CPU) quality: best (birefnet-general-lite, ~7s, 峰值内存 ~6.8 GB) / fast (u2netp, ~0.6s, 峰值 ~1.3 GB)。只影响 rembg 分支。 不传则用安装时按本机内存定下的默认值。

返回: RGBA PNG 的本机路径, 附带实际走的分支与透明像素占比。抠出来明显不对 (几乎全透明 / 几乎没抠掉 / 碎成一堆小块 / 主体被啃出洞) 时会附一行 ⚠️ 警告 —— 那种结果别直接用。

Inputs: mode, quality, image_path, image_base64. Returns: ok, path, error, model, +6 more

sfx_presetsA

列出 gen_sfx 能用的 preset, 以及 overrides 里可以覆盖的全部字段和它们的默认值。

先看这里再去 overrides: 字段名写错了 gen_sfx 会直接失败, 而"有哪些字段"是猜不出来的 (占空比扫描叫 duty_sweep 还是 duty_slide, 低通叫 lpf 还是 cutoff)。

返回: preset 名单 + 参数默认值表 + 采样率。

Inputs: no named parameters. Returns: gen_sfx 能用的 preset 名单 + 全部可覆盖字段的默认值。

slice_sheetA

把排成网格的 sprite sheet 切成单帧 PNG。

让生图模型画"4 帧动画"时它会摆成 2x2 网格而不是 4 张图, 用本工具切开。

参数: image_path / image_base64: 同其它图片工具 rows, cols: 网格行列数(二者都给) frame_width, frame_height: 单帧像素尺寸(与 rows+cols 二选一) trim: 是否把每帧裁到非透明/非背景的外接框(默认 True)

返回: 各帧 PNG 的本机路径

Inputs: cols, rows, trim, image_path, +3 more. Returns: ok, error, paths, frames, +2 more

subject_imageA

让某个已定妆的角色或物件出一张新图, 外观与它之前每一张都一致。

做游戏素材用这个, 不要用 generate_image —— 后者每张长相会变。 subject 不存在会告诉你先去 create_character / create_animal / create_object。

参数: subject: 名字(定妆时定的) scene: 这张图里它在干什么 / 在哪 / 什么角度 —— 只写场景动作视角, 身份由定妆图决定。例如 "opened, seen from behind, on a stone floor"。 人物/动物还可以在这里换装: "wearing heavy red armor" 会换掉定妆图 里那身衣服而保住脸。 width/height: 上限 1024 seed: 随机种子(可选) num_inference_steps: 采样步数(可选, 不传用引擎默认)。多了更精细也更慢 guidance_scale: 提示词贴合度(可选, 不传用引擎默认)。高了更贴提示词但更容易糊

返回: 本机路径

Inputs: scene (required), subject (required), seed, width, +3 more. Returns: ok, path, seed, error, +7 more

transcribeA

听一段录音, 返回里面说的文字。

两个用处, 都是"核对"而不是"生产字幕":

  • 导入参考音时不知道那段录音念的是什么 —— import_actor 不给 transcript 就是 自动调它, 也可以先单独调一次看看听出来的对不对。

  • 验稿: 配完一句台词, 听回来和台词原文比一比。克隆模型偶尔会吞掉尾巴, 而那种"少了半句"的产物听起来完全正常, 只有把它听成文字才看得见。

参数: audio_path: 录音的本机路径, 只收 WAV language: 语种提示 (可选, 如 zh / en)。不给就让模型自己判 —— 它本来就带语种识别, 只有在把方言听成另一种语言时才需要指定。

Inputs: audio_path (required), language. Returns: 听写 (transcribe) 的结果。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 21 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose, and the descriptions explicitly draw the boundaries between the easily-confused pairs: create_actor+actor_tts (consistent voice) vs generate_speech (one-off), and create_character/subject_image (consistent appearance) vs generate_image (one-off). The casting tools split cleanly by subject kind (character/animal/object) and by source (generate vs import), leaving no meaningful overlap.

    Naming Consistency4/5

    Most names follow a clean verb_noun pattern (create_actor, import_actor, list_actors, delete_actor, create_character, generate_image, remove_bg, slice_sheet). A minority deviate with noun_verb or bare-noun forms (actor_tts, subject_image, sfx_presets, continuity_status) and one abbreviation (gen_sfx vs generate_speech/generate_music/generate_image), but the scheme remains readable and predictable overall.

    Tool Count4/5

    21 tools is on the heavier side, but the server spans several genuinely separate sub-domains (voice casting, image casting, image post-processing, music, procedural SFX, status), so the count is justified rather than padded. Each tool maps to a real capability with no obvious filler.

    Completeness4/5

    Coverage is strong: full lifecycle for actors and subjects (create/import/list/delete), plus generation, transcription, background removal, sprite slicing, music, SFX, and a diagnostic status tool. The only minor gap is no in-place update/edit for an actor or subject (you must delete and re-cast), which agents can work around.

    Maintenance

    ActivityStale
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      A sophisticated MCP server providing advanced memory capabilities with RAG, hallucination detection, and enterprise-grade AI infrastructure for intelligent agent ecosystems.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      An advanced MCP server that provides stateful voice-controlled AGI capabilities with local STT, TTS, and intent detection. It enables users to execute tools, manage memory, and conduct research through natural multi-turn dialogue with low-latency performance tracking.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that runs Stability AI's Stable Audio Open 1.0 locally on NVIDIA GPUs, enabling AI agents to generate broadcast-quality 44.1 kHz stereo WAV sound effects from text prompts fully offline with no API costs.
      Apache 2.0