DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

ShiXiangYu2 /

dsh-imagegen-plugin

Verified

DeepSeek Harness plugin: generate_image tool (Qwen-Image / DeepSeek Janus-Pro-7B via SiliconFlow).

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@da9402d2

dsh-imagegen-plugin

A DeepSeek Harness plugin that registers a generate_image tool callable by the model.

  • Plugin ID: imagegen
  • Tool: generate_image(prompt, model?, image_size?, ...) → returns an image URL (valid up to 24 h)
  • Default model: Qwen/Qwen-Image (also supports deepseek-ai/Janus-Pro-7B, Kwai-Kolors/Kolors, Tongyi-MAI/Z-Image-Turbo)
  • Backend: SiliconFlow Images API

Prerequisite: API key

Set the SILICONFLOW_API_KEY environment variable (register a free key at https://cloud.siliconflow.cn):

export SILICONFLOW_API_KEY=sk-xxxxxxxx

Install

Bundle form, local checkout:

dsh plugin --profile demo add ./imagegen-plugin

From git (no build step required — ships plain ESM):

dsh plugin --profile demo add github:you/dsh-imagegen-plugin

From npm (prebuilt):

dsh plugin --profile demo add dsh-imagegen-plugin

Verify the layer without starting:

dsh --profile demo --dump-config   # shows a "# == dsh-imagegen-plugin" layer

Then start with the key and ask the model:

SILICONFLOW_API_KEY=sk-xxx dsh --profile demo
Generate an image of a red panda eating bamboo.

Structure

imagegen-plugin/
├── package.json       # declares dsh.bundle
├── cordis.patch.yml   # the layer applied when a profile lists this bundle
└── index.js           # plugin module: registers the generate_image tool

License

MIT

—/ 5

No ratings yet

Verified DSH bundle

Commit da9402d2db59

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout