dsh-image2-draw: Integrating gpt-image-2 Image Generation in DSH Dialogues

dsh-image2-draw is a DeepSeek Harness image generation plugin maintained by JuneLearn, which calls gpt-image-2 through a third-party OpenAI Images-compatible interface. It requires only the configuration of a baseURL and API Key. The plugin offers image2-generate for text-to-image generation and image2-edit for image editing, supporting continuous generation of 1–8 images, various sizes, and PNG/JPEG/WebP reference images. Results are previewed within the session and saved to the outputs/image2/ directory. API Keys are stored only in DSH credentials, with timeouts and 524 errors not automatically retried to prevent duplicate billing. It is suitable for on-the-spot image generation within DSH Web agent workflows. Before installation, please review the source code and MIT license, and evaluate the relay service independently.

Read More