dsh-gpt-image
Manifest validControl the logged-in web version of ChatGPT to generate images and download them locally — DSH bundle plugin.
ChatGPT 生图(dsh-gpt-image)
控制已登录的网页版 ChatGPT 生成图片并下载到本地的 DSH 插件:注册
gpt_generate_image 工具,复用 Edge 调试端口(9222)里的 ChatGPT 会话生成图片。
文件
index.js— Host 半部分:注册gpt_generate_image工具 + 生图行为系统提示词cordis.patch.yml— host 组合插件行(id:gpt-image)package.json— bundle 元数据
依赖的全局资源(不在本 bundle 内)
生图脚本 gpt-image.mjs(含 puppeteer-core 依赖)、ensure-edge-debug.sh、
start-edge-debug.sh 及 Edge 调试 profile,均位于脚本目录(默认
~/work/dph/)。生成图片下载到当前会话工作区的 figures/gpt_generated/。
配置与迁移(重要)
默认脚本目录为 ~/work/dph。若要迁移脚本与 Edge 资源目录,
不要改本 bundle 源码,改 web profile 的补丁配置:
~/Library/Application Support/dsh-desktop/harness/profiles/web/cordis.patch.yml
- id: gpt-image
config:
workspace: ~/work/dph
把 workspace 改成新目录后重启 DSH Desktop 即可。
安装与生效
bundle 注册在 web profile 的 package.json(dependencies + dsh.profile.bundles),
node_modules 内为副本。改代码要改本目录再重新拷贝进 node_modules,然后重启 DSH Desktop。
Comments
Loading…
Similar plugins
by dongshan1999
DSH bundle:图片生成面板(generate_image 工具 + 侧边栏图库/提示词库)与 Token 用量、成本、活跃度面板。
★ 0
MIT
JavaScript
Oct 23, 2026
dsh plugin --profile web add dsh-toolkitby whiteS18
Configure multiple image providers in Settings and call image_generate with the one selected model; images save under generate/image and show inline in the conversation.
★ 0
↓ 156/wk
MIT
JavaScript
Sep 13, 2026
dsh plugin --profile web add dsh-image-generationby hiocobueno653-pixel
Image-generation tool with automatic prompt enhancement, switchable API profiles, and a Turn-tail image card that survives chat folding. Requires a user-supplied image API endpoint and key; none are b
★ 0
MIT
JavaScript
Nov 1, 2026
dsh plugin --profile web add dsh-image-genby Niobium-41-nb
Renders chat Markdown image references as a gallery in the DSH web GUI
★ 0
↓ 80/wk
TypeScript
Aug 17, 2026
dsh plugin --profile web add dsh-chat-imageby yueyexiayu
DSH desktop plugin: generate images with logged-in Grok/GPT accounts, and videos with Grok
★ 0
MIT
JavaScript
Nov 4, 2026
dsh plugin --profile web add shengchengby fancyui
DSH plugin v2: a standalone image-generation workspace (sidebar entry + its own main view) for the OpenRouter Image API — chat-style prompt column, picture area with history, draggable parameters.
★ 0
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-openrouter-imagen-v2