by shanliuling
Generate images directly in DeepSeek Harness chats
# Add to your Claude Code skills
git clone https://github.com/shanliuling/dsh-image-genGuides for using ai agents skills like dsh-image-gen.
dsh-image-gen is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by shanliuling. Generate images directly in DeepSeek Harness chats. It has 51 GitHub stars.
dsh-image-gen's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/shanliuling/dsh-image-gen" and add it to your Claude Code skills directory (see the Installation section above).
dsh-image-gen is primarily written in TypeScript. It is open-source under shanliuling on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh dsh-image-gen against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
让 DeepSeek Harness 像 ChatGPT 一样,在对话里直接生成图片。
支持 Google Gemini、OpenAI Images、OpenAI Compatible API、字节 Seedream / 火山方舟。
English | 简体中文
帮我安装生图插件,执行命令:pnpm dsh plugin --profile web add dsh-image-gen
帮我画一张雨夜霓虹街头的赛博朋克猫咪。
dsh-image-gen 是专为 DeepSeek Harness (DSH) 打造的开源图像生成插件。
DeepSeek Harness 已经可以让 Agent 调用不同工具完成任务,本项目为它补上了原生的多模态生图能力:
graph LR
A[用户 Prompt] --> B[DeepSeek Harness Agent]
B --> C[generate_image 工具]
C --> D[Gemini / OpenAI / Seedream]
D --> E[图片数据]
E --> F[当前 Conversation 对话流]
在你的 DeepSeek Harness 项目根目录下运行:
# 推荐方式:通过 pnpm 一键安装并注册插件
pnpm dsh plugin --profile web add dsh-image-gen
# 若已将 dsh 安装为系统全局命令:
dsh plugin --profile web add dsh-image-gen
# 方式 B:从 GitHub 仓库直接安装最新代码
pnpm dsh plugin --profile web add git+https://github.com/shanliuling/dsh-image-gen.git
# 方式 C:本地克隆源码开发安装
git clone https://github.com/shanliuling/dsh-image-gen.git
pnpm dsh plugin --profile web add ./dsh-image-gen
打开 DSH Web 页面(默认 http://localhost:3080):
现在直接在聊天框输入:
生成一张极简主义的现代建筑客厅插画。
当前 Agent 就会自动调用 generate_image 工具并在对话流中返回图片。
credentials 服务管理,采用写保护隔离,不需要写进项目源码或配置文件,前端不存明文。| Provider | 默认模型 | 默认 Endpoint / Base URL |
|---|---|---|
| Google Gemini | gemini-3.1-flash-image |
https://generativelanguage.googleapis.com/v1beta/interactions |
| OpenAI Images | gpt-image-2 |
https://api.openai.com/v1 |
| OpenAI Compatible | 自定义 | 自定义 Base URL |
| ByteDance Seedream / 火山方舟 | doubao-seedream-5-0-260128 |
https://ark.cn-beijing.volces.com/api/v3 |
# 克隆仓库
git clone https://github.com/shanliuling/dsh-image-gen.git
cd dsh-image-gen
# 安装依赖与构建
pnpm install
pnpm run typecheck
pnpm run test
pnpm run build
# 检查 npm 打包内容
pnpm run pack:check
本项目基于 MIT License 开源。
如果这个插件对你有用,欢迎点一个 ⭐️ Star 支持!