Introduction¶
When creating content or automating tasks in DSH, configuring images often requires opening a separate browser, managing API Keys, and switching back to the host environment. The community plugin Bluxe Sketch Studio · Image Generation Workbench (dsh-plugin-image-workbench) integrates the image generation process into the sidebar: select image types and styles, write prompts or let the workbench compose them, and generate images with one click; it comes with a built-in account pool by default, allowing local usage at http://127.0.0.1:8092/ immediately after installation, or connecting to your own OpenAI-compatible interface. The maintainer is guohwa, licensed under MIT, with the current npm version 1.1.55 (see repository package.json).
What is this¶
This plugin is a client-side plugin installed in the DSH Desktop Sidebar: the host host.js guards the FastAPI backend (default port 8092), and the built-in account pool listens on port 38651 by default, communicating with the upstream image service. It is suitable for scenarios requiring batch processing and manageable history and drafts, such as WeChat Official Account articles (image-text), photo captions, and posters. The backend can also run independently of DSH; data and images are retained locally in the side directory ~/.dsh/image-workbench/ (the server and vendor directories are synced there during npm installation).
Core Features¶
The capabilities listed in the README are as follows and can be verified in the repository documentation:
| Capability | Description |
|---|---|
| Dual-mode prompts | Two paths: Image-Text and Photography; built-in server/catalog.json, containing 368 styles, 170 layouts, and 36 color schemes |
| Reference image | Supports uploading or dragging; submitted via /v1/images/edits; can be disabled if not supported |
| Batch generation | Storyboard import queuing; automatic account switching and retry on single image failure, up to 3 rounds |
| Aspect ratios | 1:1, 3:4, 2:3, 9:16, 4:3, 3:2, 16:9, 2.35:1 (Official Account covers), etc. |
| Result management | History, drafts, single-item redo, ZIP download, completion alerts |
| Monitoring & Account Pool | Quota, queue, failure statistics; built-in pool supports importing accounts, configuring proxies, and starting/stopping processes |
| Custom Interface | Workbench name, save directory, Base URL, model name, etc. |
The built-in account pool is distributed with the plugin and does not depend on external account pool plugins; if you already have other account pools in DSH (e.g., 38650), you can fill in its /v1 address and Key in “Interface & Account Pool -> Generation Interface” without needing to enable this plugin’s 38651 pool.
Runtime Environment¶
| Project | Requirements |
|---|---|
| DSH | engines.dsh requires >=0.2.1-rc.3; verified in desktop profile |
| Node.js | 20 or higher (used in install.mjs, host.js) |
| Python | 3.13; the built-in uv can be used to prepare the environment on first start |
| System | Windows 10/11 verified; Linux/macOS requires you to provide your own uv or Python 3.13 |
| Network | Runtime and dependencies need to be downloaded on first initialization; accessing the upstream pool often requires a proxy |
Installation and Activation¶
In DSH, open “Plugins → Add Plugin” and choose one of the following filling methods (must match the original README):
| Method | Content |
|---|---|
| npm package name (Preferred) | dsh-plugin-image-workbench |
| Gitee | https://gitee.com/guohwa/dsh-plugin-image-workbench.git |
| GitHub | https://github.com/guohwa/dsh-plugin-image-workbench.git |
The Git address must end with .git, otherwise pnpm may report ERR_PNPM_FETCH_403. When cloning GitHub from a domestic network, the package contains approximately 31 MB of uv runtime and is prone to timeouts; prefer npm or Gitee.
For development or restricted networks, install from the Gitee source code:
git clone https://gitee.com/guohwa/dsh-plugin-image-workbench.git
cd dsh-plugin-image-workbench
node install.mjs
The installer registers the profile and syncs the backend; if the sidebar does not show “Bluxe Sketch Studio · Image Generation Workbench”, completely exit DSH and restart. Do not move the installation directory arbitrarily; before moving, execute node install.mjs --uninstall in that directory and then reinstall.
First Launch and Interface Configuration¶
On the first launch, the backend and account pool are usually automatically prepared within 1 minute. The background also pulls approximately 574 style/color preview sample images (about 33 MB) from a CDN; progress can be seen in ~/.dsh/image-workbench/samples.log; the interface may show a gradient placeholder before completion, so simply refresh.
Before generating, you must complete one of the two types of access:
Method A — Own or third-party OpenAI-compatible interface
- Open “Interface & Account Pool → Generation Interface”.
- Set the Base URL to the
/v1address of the pool or service (e.g.,http://127.0.0.1:38650/v1). - Enter the corresponding user API Key.
Method B — Built-in Account Pool
In “Interface & Account Pool → Local Account Pool”, import account files (.txt, .json, .csv) or paste text, and click “Import and Authorize into Pool”. The pool requires credentials like access_token; entries with only email and password but no token are not supported for automatic login in this version. On restricted networks, configure a proxy in “Pool Export Proxy” or specify it via the environment variable CHATGPT2API_PROXY_RUNTIME_PROXY_URL.
If you click “Generate” without configuring any generation interface, the interface will prompt “Image generation pool not yet configured” and guide you to the configuration page, rather than reporting a generic error.
Typical Usage¶
- Open the workbench in the sidebar, or visit
http://127.0.0.1:8092/in a browser. - Choose the Image-Text or Photography path, combining layout, style, color scheme, and aspect ratio.
- Input content description, or use prompt composition (
POST /api/compose); after confirmation, submit for generation (POST /api/generate). - Preview, redo single items, or download as a ZIP in History or Drafts.
For batch scenarios, you can import a storyboard list to queue; during task execution, you can use POST /api/generate/stop or the UI button to stop the queue and switch accounts for retry. When script integration is needed, the README lists routes such as /health, /api/catalog, /api/monitor, /api/pool/*, with full definitions in server/app.py.
When running outside DSH, you can install requirements.txt in the server directory using venv and then start it:
# Linux / macOS example (Windows paths see README)
.venv/bin/pip install -r requirements.txt
.venv/bin/python -m uvicorn app:app --host 127.0.0.1 --port 8092
Use Cases and Notes¶
Who is it for: DSH desktop users who need a locally controllable AI image generation pipeline, prefer a default built-in account pool, and can switch to their own OpenAI-compatible service at any time.
Security and Permissions: The plugin runs with background process permissions and holds the accounts you import and local API keys; ports 8092 and 38651 listen on 127.0.0.1 by default, and the README explicitly requires that you do not expose them directly to the public internet. Please read the source code and MIT license before installation to judge whether your account imports and proxy configuration comply with compliance requirements.
Ecosystem Explanation: The DSH community plugin directory (such as the entry on SkillHub) is community-curated and has no official affiliation with DeepSeek / Huansuan; GitHub star count fluctuates, with approximately 12 stars displayed on the public page at the time of writing.
Conclusion¶
Bluxe Sketch Studio stacks the style library, batch queue, account pool, and history management into the DSH sidebar, lowering the cost of “Configuring Keys + Switching Tools”; for extending automation, it can also connect to the same set of HTTP APIs. To learn more and install:
- Directory page: https://www.skillhub.cn/plugins/guohwa/dsh-plugin-image-workbench
- Source code and documentation: https://github.com/guohwa/dsh-plugin-image-workbench