elangan1997-cmyk/canvas-workbench

开自己的 API 生图,不交订阅费——在 DSH 里完成「生成 → 编辑 → 交付」整条链路:聊天生图自动上画布、画布排版、修图擦除、可编辑 PSD/AI 交付,文件全程在你自己的磁盘上。可视为零订阅的本地 AI 设计工作台:核心链路对齐,成本是你自己的 API 用量;再叠加两个云端产品给不了的溢价点——PS/AI 图层级双向联动与可编辑文件交付。

catalog descriptioncatalog 简介 / catalog description:本地生图工作台 canvas-workbench:开自己的 API 生图,画布排版+修图/擦除/去背景/OCR/转矢量,可编辑 PSD/AI 交付,PS/AI 图层级双向桥接 · DSH 插件,与 npm 包同名

Project Overview项目介绍

Canvas Workbench is a DSH-native plugin for DeepSeek Harness Desktop, installed via the dsh plugin add canvas-workbench command, the in-app marketplace, or source trees through ./sync-local-plugins.sh on macOS and install-windows.cmd on Windows, with npmmirror auto-fallback for mainland China. It fuses chat-driven image generation, an infinite canvas, on-canvas editing, smart erase, and editable PSD/AI delivery into DSH: chat-triggered renders drop onto the canvas as placeholder cards with the same animation as smart erase and are swapped in place when finished, while every output is archived into DSH聊天生成图片/<session>/<date>/<slot>/ so files never vanish. The canvas is built on Excalidraw with 13 aspect-ratio chips (1:1, 3:2/2:3, 4:3/3:4, 16:9/9:16, 21:9/9:21, 2:1/1:2, 5:4/4:5 plus Auto) and ×1/×2/×4/×8 batch counts that both engines honor.

A typical session runs in five stages: pick a ratio and count in the chat input, describe the brief, then watch batch placeholders get replaced one by one on the canvas; arrange multiple versions on the infinite canvas, tag assets with macOS-style seven-color labels, and let the material library auto-refresh from new files dropped into the project folder; click an image to edit, smart-erase, remove the background with the cached BiRefNet-lite model, run OCR via a vision model returning structured JSON, or vectorize to SVG; rebuild detected text as editable PSD/AI/SVG using free commercial fonts such as Alibaba PuHuiTi 3.0, Source Han Sans SC, and Inter; and finally push the work into Photoshop or Illustrator through a layer-aware round-trip bridge that returns at pixel-accurate coordinates. The bridge uses local folder handshakes without ports or network, supports CS6 through 2025 plus AI 2026, and uses COM automation on Windows with registry-discovered installs.

Dependencies include DSH kernel 0.1.7-rc or 0.2.0 official desktop, while the bundled dsh-codex route dynamically installs the version compatible with the running core and honors its proxy settings; background removal, OCR, vectorization, PSD export, and Windows previews require a local Python 3.11, and the canvas remains usable without it though those tools are disabled. Adobe round-trip needs Photoshop or Illustrator installed locally, and PSD/AI output needs Poppler on macOS for PDF/AI previews. All data stays under the project folder and ~/.dsh, nothing syncs to the cloud, and release artifacts contain no developer accounts, OAuth tokens, or API keys — credentials are read only from the user's own machine. The license is MIT, the operation log under 「更多」 holds the diagnostic context for bug reports, and the first launch after install requires fully quitting DSH including its tray icon before reopening.

Canvas Workbench 是面向 DeepSeek Harness(DSH)桌面的本地化 AI 图像工作台插件,通过 dsh plugin add canvas-workbench 命令或 DSH 插件市场安装,中国大陆网络自动回退 npmmirror 镜像。核心能力是把聊天生图、画布排版、修图擦除、可编辑 PSD/AI 文件交付整合到 DSH 内:聊天中触发的图像生成自动以占位卡形式落到右侧无限画布,完成后原位替换,生成图按项目路径自动归档。画布基于 Excalidraw,支持 13 档比例与 ×1~×8 批量生成,所有文件存于本地项目目录与 ~/.dsh,不上传不同步。

典型工作流分五步:在聊天输入区选择比例与数量后描述方向,画布出现占位逐张替换;无限画布上拖拽排列多版本,素材库以七色标签分类管理,文件夹内新素材实时刷新上画布;选中图像直接进行编辑、智能擦除、去背景或 OCR,未选区域自动作为约束保持原样;文字识别后由阿里巴巴普惠体、思源黑体等免费商用字体重建为可编辑的 PSD/AI/SVG;最后通过「→Ps」「→Ai」双向桥接送入 Photoshop 或 Illustrator 精修,改完按图层像素级归位。协议通过本地文件夹握手,无端口无网络,适配 PS CS6~2025 与 AI 2026,Windows 走 COM 自动化。该工具面向希望用自有 API 替代订阅、避免云端泄露的设计师与运营人员。

依赖与限制方面,需要 DSH 0.1.7-rc 系或 0.2.0 正式桌面内核,dsh-codex 引擎按内核自动匹配兼容版本并透传代理设置;去背景、OCR、转矢量、PSD 导出、Windows 预览依赖本机 Python 3.11(缺失时画布仍可用,仅对应本地处理停用);Adobe 桥接需本机安装 Photoshop 或 Illustrator。API 凭据仅从用户本机读取,发布包不含账号、Token 或 Key,操作日志不含敏感信息。插件以 MIT 协议开源,首次安装后须完全退出 DSH(含托盘)再启动,操作日志可在「更多」中查看用于排障。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
  • No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add canvas-workbench

把 elangan1997-cmyk/canvas-workbench 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

Canvas Workbench · DSH 画布工作台

简体中文 | English

A local-first AI image workstation inside DeepSeek Harness — zero subscription, bring your own API: generate, edit, and deliver from your own machine, with layer-level Photoshop/Illustrator round-trip as the premium edge.

开自己的 API 生图,不交订阅费——在 DSH 里完成「生成 → 编辑 → 交付」整条链路:聊天生图自动上画布、画布排版、修图擦除、可编辑 PSD/AI 交付,文件全程在你自己的磁盘上。可视为零订阅的本地 AI 设计工作台:核心链路对齐,成本是你自己的 API 用量;再叠加两个云端产品给不了的溢价点——PS/AI 图层级双向联动与可编辑文件交付。

最新版本 v1.9.51(文档版,中英 README 重写)。近期功能看点:

  • 安装通道全面修复(1.9.42):插件市场 / npm 安装即全功能可用(依赖自动装齐,不再出现"装好了入口却消失");画布内「检查更新」一键自升级,当天发布的新版也能立即装;
  • 「加入画布」全入口(1.9.43~1.9.47):新版 DSH 桌面的原生缩略图带、文件卡片「打开方式」菜单里都能一键上画布;任何渠道产出的图——包括 agent 换工具、换通道重试成功的——都会自动上画布;失败占位卡在新图上画布后自动清除、且不再复活;判重升级到字节级(md5),重新生成的图不再被误拦;
  • 复制即原图(1.9.48~1.9.49):画布上复制图片得到的是原图字节(宿主进程直写系统剪贴板,macOS / Windows 均可用),不是带白边的渲染图;
  • 更早底座:聊天生图全自动上画布(生成中占位 → 原位替换)、比例 13 档 + 数量 ×1~×8、智能擦除蒙版精确送达模型、dsh-codex 按内核动态配对(0.2.0 正式桌面直接可用)、Windows 分支全量并入。

你可能在找它(Looking for one of these?)

  • 「本地生图工具 / 零订阅 AI 设计 / 不想交订阅费的 AI 设计」→ 开自己的 API(任意 OpenAI 兼容接口,国内大模型/企业网关直连),本地零订阅
  • 「批量生图 / 抽卡 / 一次生成多张挑图」→ 数量 ×2/×4/×8,画布占位逐张替换,同规格排列
  • 「AI 生图比例控制 / 9:16 竖版 / 16:9 / 21:9 电影感」→ 输入区 13 档比例卡片,生成后精确裁切
  • 「DSH / DeepSeek Harness 画布插件、无限画布、白板、设计模式」→ 对话旁的无限设计画布
  • 「DSH 里怎么修图 / 改图 / P 图 / 去背景 / 抠图 / 擦除 / 消除」→ 画布内图片工具,选中即用
  • 「AI 生成的图片保存到哪、怎么管理、自动上画布」→ 自动归档 + 全局找回 + 自动/一键上画布
  • 「DSH 图片转 PSD / 导出分层 / 文字识别 / 文字重建 / 转矢量 / OCR」→ 本地图片处理工具链
  • 「DSH 和 Photoshop / Illustrator 联动 / 图层互传 / PS 桥接」→ Adobe 双向桥接
  • 「DSH 素材库 / 素材管理 / 设计素材」→ 带颜色标签的本机素材库
  • 「不想开 ChatGPT 订阅,用自己的图片 API / 国内大模型 API / 企业网关做设计」→ 任意 OpenAI 兼容接口直连
  • DSH canvas plugin · local AI design workstation · infinite canvas · auto image placement · batch generation · image editing · smart erase · background removal · PSD export · Photoshop bridge · designer workbench

30 秒看懂

  1. DSH 聊天框上方点开设计模式,右侧出现无限画布;
  2. 输入区选好比例(比如 9:16)和数量(比如 ×4),直接在聊天里说"生成一张……";
  3. 画布上先出现 ×4 个生成中占位(和智能擦除同款动画),每张生成完原位替换成图;
  4. 原图同步归档到项目 DSH聊天生成图片/会话/日期/,永不丢;
  5. 选中图直接改图/擦除/去背景/重建文字,复制拿到的就是原图;需要精修就一键送进 PS/AI,改完像素级归位。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-web-search-searxng 下一个 Next dsh-live-token-stats →