dsh-tool-generate-image
Model-facing `generate_image` tool for text-only models: the model asks for a picture in natural language, Gemini draws it via the Antigravity CLI, the image is saved to a configurable output directory, and the tool returns the file paths for the model to use in its work.
给纯文本模型的 `generate_image` 工具:模型用自然语言要一张图,经 Antigravity CLI 让 Gemini 画出,保存到可配置输出目录并返回文件路径,供模型在任务中使用。
How to install
dsh plugin add dsh-tool-generate-image About
dsh-tool-generate-image English | 中文 给 DeepSeek Harness(DSH) 的纯文本模型一个 **generate_image** 工具:用自然语言描述想要的图片,模型调用工具,经 Antigravity CLI(agy) 让 Google Gemini 画出来,保存到输出目录并返回文件路径。 生成的图片**会直接内联显示在对话里**,同时**持久化保存到磁盘**——重启后文件仍在,不像纯内存方案那样重启就 404。 说明 这是**模型侧工具**——由模型在任务中按需调用("给第 3 节画个示意图,存好,我引用路径"),而不是聊天侧的自动生图 + 展示。 底层走本机 agy 的 generate_image 工具 + gemini-3.1-flash-image 图像模型(免费 Google 账号,无需 API key)。 生成结果从 ~/.gemini/antigravity-cli 递归收割(agy 落盘位置不固定:scratch/、brain/<会话>/、.tempmediaStorage/ 都有可能出现;也可能产出 SVG 矢量图),复制到可配置的输出目录后返回绝对路径。 **对话内联显示**:图片字节存进程内存,经宿主 web server 上一个回环-only 路由(默认 /generate-image)以 markdown…
Recommendation signals
Meta
- License
- Apache-2.0
- Language
- JavaScript
- GitHub stars
- 2
- mo. downloads
- 537
- Last push
- 2026-08-20
- Created
- 2026-08-18
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek-harness, dsh, dsh-plugin, gemini, image-generation
Related plugins
compound-engineering-plugin
EveryInc/compound-engineering-plugin
Official Compound Engineering plugin for Claude Code, Codex, Cursor, and more
gstack
garrytan/gstack
Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA
dsh-browser
omdsh-dev/dsh-browser
Chrome sidebar extension that lets DeepSeek Harness operate your browser directly, no vision capabilities required. 一款 Chrome 侧边栏扩展程序,可让 DeepSeek Harness 直接操控您的浏览器,无需视觉能力。
n8n-mcp
czlonkowski/n8n-mcp
A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you