dsh-tts

DSH PLUGIN视觉与多模态

仓库 xuan25/dsh-tts

视觉与多模态 L4 · 沙盒安装通过 安全审查:低风险 可信度:银 可安装插件
安装这个插件

dsh-tts 是 xuan25 维护的 视觉与多模态 类 DSH 可安装插件, 仓库为 xuan25/dsh-tts,许可证 MIT。 下面按「装什么、怎么装、验没验过、跑起来要注意什么」逐项列出。

一句话选型结论

按资料字段整理

dsh-tts 是视觉与多模态类的 DSH 可安装插件,验证等级 L4 · 沙盒安装通过,安全审查为低风险,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类视觉与多模态 收录类型可安装插件 验证等级L4 · 沙盒安装通过 安全审查低风险
验证等级 L4 L4 · 沙盒安装通过
GitHub 星标 0 复刻 0 · 未关闭 issue 0
最近更新 2026-10-17 创建于 2026-10-03
README 7.9 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:xuan25/dsh-tts
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

视觉与多模态
字段来自项目仓库与公开索引,中文说明由本站标注

适用场景

文件读写内容创作

上游标签

dsh-plugin

验证等级与安全审查

L4 · 沙盒安装通过
自动化流程结论,不是人工审核
验证等级L4 · 沙盒安装通过安装命令在隔离沙盒内真实执行成功,无依赖错误
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度银综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L4:在沙盒里真实装过,依赖能装上,不是纸面声明。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在视觉与多模态场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-tts当前 L4 · 沙盒安装通过 低风险 0 未标注 有
open-design L4 · 沙盒安装通过 低风险 10.0 万 未标注 有
awesome-gpt-image-2 L3 · 安装规范通过 低风险 3.4 万 未标注 无
PicGo L3 · 安装规范通过 低风险 2.7 万 未标注 无
iPolloWork L4 · 沙盒安装通过 低风险 6,775 未标注 有
modlens L5 · 运行验证通过 低风险 4,207 0.2.0-rc.2 等 13 个 有

仓库档案

视觉与多模态
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方xuan25仓库 dsh-tts · 默认分支 master
分类视觉与多模态media
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言未标注仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 0 / 0收录时的数值,非实时
创建 / 更新2026-10-03 · 2026-10-17最后推送 2026-10-17
本站收录2026-10-30首次进入本站目录的时间

README 全文

7.9 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-tts

Text-to-speech plugin for dsh: one tts tool that turns text into an audio
file (wav / mp3 / flac / aac / opus / pcm) through any OpenAI-compatible TTS
backend, so agents can voice their output without per-backend glue. The same
tool lists voices and models, probes the routes, and calls the backend's dev
phonemize endpoint.

Tool verbs

verb network what it does
synth yes Synthesizes the requested speech. The tool writes the audio file to disk and runs container checks on the returned bytes.
voices yes Lists the backend voices, optionally filtered. When the backend returns 404 to GET {baseURL}/audio/voices, the tool serves the static OpenAI table and marks source: static.
providers no Lists the configured routes with their fields, the originating layer of each field, and the credential state. The verb reads the local configuration and makes no network request.
models maybe Reports the model list of each route. A route with declared models reports the declared list from the config layer, and a route without declared models reports the live GET {baseURL}/models probe.
status yes Probes each route: the GET {baseURL}/models listing plus the optional server-root GET /health liveness probe.
phonemize yes Calls the backend's POST /dev/phonemize endpoint at the server root. A 404 or 405 response reports the endpoint as unsupported.

Key synth behaviors:

  • The voice argument is required, and there is no default: the voice set is
    provider-specific. The available ids are listed by the voices verb.
  • When the call omits model, the tool uses the route's single declared
    model. When a route declares no models, the tool resolves the model by a
    live /models probe. When the declared or probed model list contains
    several models, the call fails and lists the candidates.
  • The response_format argument defaults to wav, and the tool sends the
    value verbatim.
  • The backend owns container correctness, and the tool validates the returned
    bytes: a RIFF walk for wav, and magic checks for the other formats
    (pcm carries no container check). When the payload is not the claimed
    container, the call fails and the tool keeps the file on disk. When the
    container carries a known defect, for example the placeholder RIFF chunk
    sizes (0xFFFFFFFF or 0x7FFFFFFF) some backends emit, the successful
    document reports it in warnings.
  • When the call sets out, the output path is that argument (a file path, or
    a directory marked by a trailing separator or by existing on disk). When the
    call omits out, the tool writes the file to
    /tts/_.. The file extension comes from
    the response_format value.
  • The speed and language arguments are sent verbatim, and only when the
    call sets them.
  • The synth timeout is 180 s, and the probe and phonemize timeouts are 15 s
    and 30 s.

The plugin ships a dsh-tts skill. The skill is the full tool reference for
agent contexts: it carries the parameter table, the env contract, and the
error shapes.

Installation

dsh-tts is an out-of-tree plugin for a dsh profile. Install it with the dsh
plugin command:

dsh plugin --profile  add dsh-tts

Configuration is layered: built-in defaults, the TTS_* env contract, a
cordis patch file, a dsh-tts settings section (see below); the plugin
creates no config or state files.

Configuration

Providers are configured in any of four layers, lowest to highest priority;
the providers verb reports the originating layer of every field, so a
shadowed value is never silent:

  1. the built-in default (api: openai-compatible),
  2. the TTS_* env contract (static per process boot),
  3. the cordis config layer (a patch entry with id dsh-tts and a config
    object, or profile-level patches),
  4. the dsh-tts: section in the user settings document
    ($DSH_HOME/settings.yaml), which the plugin re-reads on every call, so
    settings edits apply without a restart.
dsh-tts:
defaultProvider: local
providers:
local:
baseURL: http://:/v1
hosted:
baseURL: https://api.example.com/v1
apiKeyEnv: TTS_HOSTED_KEY
models: [kokoro-v2]
displayName: Hosted Speech

The env contract mirrors the config fields 1:1: TTS_DEFAULT_PROVIDER,
and per route the variables `TTS_PROVIDER__BASEURL`, `TTS_PROVIDER__API`, `TTS_PROVIDER__APIKEYENV`, `TTS_PROVIDER__HEADERS`, `TTS_PROVIDER__MODELS`, `TTS_PROVIDER__DISPLAYNAME`. The segment is the route name
uppercased with - written as _. The headers value is a JSON object
string, and the models value is a comma-separated list of model ids. The
baseURL value is the OpenAI-compatible base URL including the /v1 prefix
(the same shape as an LLM provider base URL); the plugin appends
/audio/speech, /audio/voices, and /models to it verbatim, and it
addresses /health and /dev/phonemize at the server root, which it derives
by stripping a trailing /v1 from the base URL. The apiKeyEnv value is a
reference to an environment variable name, never a secret in config; per
request the value resolves from the process environment, then from
$DSH_HOME/.credentials.yaml.

Examples

// Synthesize with the default route and its single declared model.
{ "verb": "synth", "input": "hello world", "voice": "zf_xiaoxiao" }
// Pick a route, format, speed, and output location explicitly.
{ "verb": "synth", "provider": "hosted", "input": "the quick brown fox",
"voice": "zf_xiaoxiao", "response_format": "mp3", "speed": 1.1, "out": "/tmp/hi.mp3" }
// Find the voices by an id prefix filter.
{ "verb": "voices", "filter": "zf_" }
// Or by a case-insensitive substring over the id and name.
{ "verb": "voices", "query": "zf" }
// List what is configured, and where each field comes from.
{ "verb": "providers" }
// Probe the backend health (the live /models probe).
{ "verb": "status" }
// Ask the backend dev phonemize endpoint (a 404/405 response reports it as unsupported).
{ "verb": "phonemize", "text": "hello world", "language": "zh" }

Troubleshooting

A failing call returns a JSON document with an error message field, and the
message text identifies the failure.

  • When the error message is "TTS_NOT_CONFIGURED", no route survived
    configuration. Check the base URLs; the tool reports each route that
    configuration drops as a warning in the log.
  • When the error message carries the text "credential missing: environment
    variable "X" is not set", the credential reference does not resolve. Set
    X in the environment or add it to $DSH_HOME/.credentials.yaml.
  • When the error message carries the text "unknown provider "x"", the route
    name matches no configured route. Route names match case-insensitively and
    treat _ and - as the same separator; the error lists the configured
    names.
  • When the error message carries the text "multiple providers configured
    (...) and no default is set", pass the provider argument explicitly, or
    set TTS_DEFAULT_PROVIDER, or set the settings defaultProvider.
  • When status reports reachable: false, the error field carries the
    cause; the probe uses a 15 s budget against GET {baseURL}/models.
  • When voices reports source: static, the backend answered 404 to
    GET {baseURL}/audio/voices, and the tool returned the static OpenAI
    table. The listed voice ids may not exist on that backend.
  • When the synth document carries a container check error, the tool could not
    verify the returned bytes as the claimed container. Inspect the kept file
    at out; the backend may return an unsupported container for the requested
    response_format.

Build

pnpm install
pnpm run build     # tsc -> lib/
pnpm run lint      # eslint src/ test/
pnpm run selftest  # in-process: HTTP stub + config matrix + container checks

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-tts 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:xuan25/dsh-tts` 即可。

dsh-tts 的验证等级是什么意思?

L4 · 沙盒安装通过。安装命令在隔离沙盒内真实执行成功,无依赖错误

dsh-tts 安全吗?

低风险。

dsh-tts 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-tts 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

5 条
不同作者的仓库分开列,请确认你要装的是哪一个
视觉与多模态
按星标排序,可作替代方案

open-design

open-design

L4 · 沙盒安装通过 10.0 万 星

awesome-gpt-image-2

awesome-gpt-image-2

GPT Image 2 / 2.5 提示词与案例库,530+ 个案例、20+ 套工业级模板与可复用 Skills,新增 2.5 同提示词对比

L3 · 安装规范通过 3.4 万 星

PicGo

PicGo

L3 · 安装规范通过 2.7 万 星

iPolloWork

iPolloWork

L4 · 沙盒安装通过 6,775 星

modlens

modlens

ModLens 是 DeepSeek Harness 的视觉插件,为纯文本模型外挂视觉能力,粘贴图片即得结构化 JSON 证据(OCR、版面

L5 · 运行验证通过 4,207 星

OpenBiliClaw

OpenBiliClaw

本地私有、开源的自进化跨平台 AI 内容发现 Agent:先理解你,再主动从 B站、小红书、抖音、YouTube、X、知乎、Reddit、微

L4 · 沙盒安装通过 3,398 星

xuan25 的其它插件

6 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。