leemancheung/dsh-image-gen

GPT Image 2 image_gen: Reuse Codex subscription OAuth by default, API Key can also be used explicitly; development cards, up to 3 API real-time partial images, persistent attachment playback/lightbox/download, plain text model output and restricted credential security requests

Adds an image_gen tool to DSH that reuses your Codex subscription OAuth by default. With authMode: auto it first asks the installed dsh-codex-connect package for its DSH-owned, refreshable ChatGPT credential and sends it only to the fixed first-party endpoint; alternatively set authMode: api-key and provide a key through a DSH credential or the OPENAI_API_KEY environment variable. The bundle inserts an image-gen row with safe defaults that can be overridden in the profile's cordis.patch.yml, and uninstalling is a plain plugin remove.

Coding & Development ★ 2 updated 2026-09-12 — untested
View on GitHub ↗

Install

dsh plugin --profile web add github:LeemanCheung/dsh-image-gen#v0.3.1

README-documented install (pinned release tag). For the default keyless subscription path, install Codex Connect first and sign in: dsh plugin --profile web add dsh-codex-connect, dsh openai-codex login, then add this plugin. The repository commits lib/index.js and lib/client.js, so a pinned git install needs no dependency build script. Restart the DSH Host after installing and refresh the web page. Uninstall: dsh plugin --profile web remove dsh-image-gen.

Compatibility

DeepSeek Harness 0.1.2-rc.1 (README QA: Web profile load, plugin enablement, host image_gen registration, client tool-view load, historical generated-card replay). README states version 0.3.2 targets 0.1.2-rc.1 and no longer claims compatibility with alpha builds.

Details

FAQ

How do I install dsh-image-gen?
For the default subscription path install Codex Connect and sign in once (dsh plugin --profile web add dsh-codex-connect; dsh openai-codex login), then run: dsh plugin --profile web add github:LeemanCheung/dsh-image-gen#v0.3.1. Restart the DSH Host afterwards.
Does it need an OpenAI API key?
No. authMode: auto (the default) reuses the ChatGPT OAuth credential owned by dsh-codex-connect. You can switch to authMode: api-key and supply a key via a DSH credential or the OPENAI_API_KEY environment variable.
Which DSH version is it verified against?
Version 0.3.2 targets DSH 0.1.2-rc.1 for Web profile load, tool registration, client tool-view load and generated-card replay. Alpha-build compatibility is no longer claimed.

Alternatives

nexu-io/open-design · titanwings/colleague-skill · dsh-market/dsh-market

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins