AI Agent Hub
Back to plugins
🧰

dsh-plugin-use-images

Web Tools Updated 2026.09.11

Run the following command in DeepSeek Harness:

dsh plugin install chuling-lingling/dsh-plugin-use-images

Paste the following prompt into your AI chat to install this plugin:

Install in DeepSeek Harness by running dsh plugin install chuling-lingling/dsh-plugin-use-images; the full source is available at https://github.com/chuling-lingling/dsh-plugin-use-images

About this plugin

The DeepSeek Harness runtime is built around a unified text-stream event model, whereas most image-generation APIs in the wild return a one-shot JSON payload or a raw binary stream. dsh-plugin-use-images bridges that protocol gap: pick an image model from the chat model selector, type a prompt, and the plugin forwards the request to your backend generation endpoint, converts the result into a native DSH image block, and persists it in the session attachment store so you can reference it in subsequent turns without ever leaving the conversation window.

Response handling is deliberately broad. The plugin recognises JSON URL arrays (data[].url, output.images[]), base64 fields (data[].b64_json, output.images[].b64_json), data: URIs, plain-text links, and direct binary responses carrying image/png, image/jpeg, image/webp, or image/gif. On the request side, the JSON body is a configurable template with {{prompt}}, {{model}}, {{n}}, and {{apiKey}} placeholders, and every header and extraction path is adjustable from the Web settings page. Changes hot-update the model list in place—no YAML editing, no restart.

This is the plugin to reach for when you run DSH as your daily AI chat interface and also have one or more image-generation backends (Stable Diffusion, Flux, DALL-E, or a custom pipeline) that you want tucked into the same conversation flow. It ships under the MIT licence, is implemented as a standalone LlmAdapter with zero modifications to DSH's text pipeline, and becomes active as soon as you restart dsh web after installing.

Use Cases

  • Call Stable Diffusion, Flux, or any other image-generation service directly from the DSH chat window without switching tools
  • Configure multiple custom image APIs from a single settings page with hot-updating request templates and extraction paths
  • Use DSH as a unified AI entry point, combining text conversation and image generation in the same session
  • Connect to any image endpoint that returns a JSON URL, base64 payload, or raw binary — the plugin auto-detects and persists the result

Best For

  • Developers who have deployed DSH and need to plug in image-generation backends
  • AI application teams maintaining both text-dialog and image-generation workflows side by side
  • Individual users who want a single chat window for multimodal tasks