DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

dsh-image-gen

d

dsh-image-gen

Manifest valid

Image generation plugin for DeepSeek Harness that calls gpt-image-2 through any OpenAI Images compatible endpoint, with in-conversation previews and a configurable settings card.

UI (client)hasBundlePatch

DSH Image Gen

Adds gpt-image-2 generation to DeepSeek Harness by calling any third-party OpenAI Images compatible endpoint. Fill in baseURL and API Key and use text-to-image and image-to-image tools directly in conversation.

中文

This plugin is a rewritten, fixed fork of dsh-image2-draw. It fixes a load-time bug that broke the original (see "Bug fix" below).

Features

  • A dedicated Image Gen card under Settings → Plugins → Plugin settings.
  • Only baseURL and API Key are required; the default model is gpt-image-2.
  • baseURL accepts shorthands like https://example.com/v1; the plugin appends /images/generations automatically.
  • The edit endpoint defaults to /images/edits derived from baseURL, or can be set explicitly via editURL.
  • image-generate (text-to-image) tool, generating 1–8 images sequentially.
  • image-edit (image-to-image) tool with 1–8 PNG / JPEG / WebP reference images.
  • Adaptive portrait / landscape / square sizes, plus validated custom sizes.
  • Results render inline in conversation with thumbnails, lightbox zoom, and save-as.
  • Images are also written to outputs/image-gen/ in the session working directory (auto-numbered, never overwriting existing files).
  • API Key is written only to DSH credentials (default ref IMAGE_GEN_API_KEY); it is never echoed or stored in the settings document.
  • Validates config writes, response sizes, timeouts, and reference files; 524/timeout is not auto-retried to avoid duplicate billing.

Install

Prerequisites

Via npx

npx --yes -p @deepseek-ai/dsh dsh plugin --profile web add github:Anyway-one/dsh-image-gen
npx --yes -p @deepseek-ai/dsh dsh web

Pin a release with github:Anyway-one/dsh-image-gen#v0.1.0.

Via pnpm + Harness source

cd <deepseek-harness>
pnpm dsh plugin --profile web add github:Anyway-one/dsh-image-gen
pnpm dsh web

Configuration

  1. Open Settings → Plugins → Plugin settings and expand the Image Gen card.
  2. Fill in Endpoint (baseURL), e.g. https://example.com/v1.
  3. Fill in API Key (stored in credentials, default ref IMAGE_GEN_API_KEY).
  4. Optionally adjust Model (default gpt-image-2), Edit endpoint, or Timeout.
  5. Save, then use image-generate / image-edit in conversation.

settings.png

Use Case

use-case.png

Development

pnpm test   # pure-function unit tests (no DSH boot required)

Layout:

  • lib/index.js — Host half: image-gen settings namespace, image-generate / image-edit tools, /image-gen/* HTTP routes.
  • lib/client.js — Browser half: settings.plugin.item config card (keyed), and tool.call.toolview result cards.
  • cordis.patch.yml — mounts both halves (entry id image-gen).

License

MIT

Comments

Loading…

From the same category

dsh-TUI

by ccch1mneyyy

DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol

Terminal & ClientsManifest valid

★ 4.3k

↓ 10.9k/wk

MIT

TypeScript

Oct 11, 2026

dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui

by strukto-ai

The World's First Virtual Terminal for AI Agents

Terminal & ClientsManifest valid

★ 3.7k

↓ 355/wk

Apache-2.0

TypeScript

Oct 11, 2026

dsh plugin --profile agent add @struktoai/mirage-dsh

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesTerminal & ClientsUI & ExperienceManifest valid

★ 2k

↓ 34.4k/wk

Apache-2.0

TypeScript

Oct 11, 2026

dsh plugin --profile web add dsh-context

by huiliyi37

官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。

Terminal & ClientsManifest valid

★ 287

↓ 462/wk

Apache-2.0

TypeScript

Sep 30, 2026

dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tui

by Hilbert-beinghappy

面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。

Terminal & ClientsManifest valid

★ 197

↓ 108/wk

MIT

TypeScript

Oct 1, 2026

dsh plugin --profile web add seektty

by T-Auto

deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准

Terminal & Clients

★ 83

MIT

JavaScript

Oct 10, 2026

Index only — not installable