Introduction¶
When building agents or doing daily development in DeepSeek Harness (DSH), images often get scattered across conversation messages, temporary download directories, and various SaaS consoles: each generation requires switching windows, historical results are hard to compare, and finding a file again to do image-to-video on a selected image becomes a hassle. Common workarounds include opening fal.ai in a separate browser, running a local ComfyUI instance, or using scripts to write outputs to a folder—they work, but are disconnected from the Harness sidebar, project directories, and credentials management.
The community plugin dsh-image-studio (maintained by naletko) adds a dedicated Images workspace to the DSH sidebar: generate images with fal.ai or local ComfyUI, persist results in a local indexed library for browsing and filtering, hand off selected images to Kling for image-to-video in a lightbox, and assemble them into an h264 video in Montage using ffmpeg. The current plugin version is 0.4.1 (MIT), categorized as workflow; see SkillHub for the directory page and GitHub for the source code.
What Is This¶
dsh-image-studio is an Images workspace plugin for DeepSeek Harness: a single page for prompting, model and aspect ratio selection, batch variant generation, gallery browsing, and (optionally) the conversational tool image_generate writing images into the same library. It is not a single image attachment in chat, but a complete page with a gallery, templates, and a montage timeline; the right sidebar also registers Project media for viewing the same library side by side with the terminal.
Core Features¶
Dedicated Images Page¶
After installation, Images appears in the sidebar. The top of the page has a description box, model and aspect ratio selectors, variant count (1–8), and Generate; the bottom has Gallery | Templates | Montage, with filtering by all / images / videos / favorites, plus Import by link and Search prompts.
Generation Backends: fal.ai and Local ComfyUI¶
- fal.ai: Built-in support for three text-to-image categories (fields aligned with fal OpenAPI):
fal-ai/flux-2/klein/9b(FLUX.2 Klein 9B),openai/gpt-image-2(GPT Image 2),fal-ai/nano-banana-2(Nano Banana 2). + Own model lets you write any fal endpoint slug (owner/name) into the plugin settings, and it will appear in the model list. - Local ComfyUI: Provider can be switched to an already-running ComfyUI instance (default
http://127.0.0.1:8188); the plugin does not download models, workflows, or custom nodes.
A fal account and API key are used for the fal path and Animate in Kling; browsing, importing by link, montage, and the pure ComfyUI path do not require a key.
Persistent Gallery and Project Media¶
Generated results are written to the studio directory on disk and indexed, persisting across restarts, and remain browsable even when the provider is unavailable. The default root directory is <DSH_HOME>/image-studio; the page header Media source can be changed to a project-internal <project>/dsh-media, keeping screenshots and clips alongside your code, with switching requiring no Harness restart.
Lightbox and Kling¶
Click a thumbnail to enter the lightbox: view full size, download the original, copy the prompt, mark as favorite, or use Animate in Kling to hand off that still frame to Kling for image-to-video generation.
Montage (ffmpeg)¶
In the Montage tab, add clips and stills to the timeline, select 9:16 / 4:5 / 1:1 / 16:9, and the host uses ffmpeg to unify dimensions, frame rate, and pixel format before concatenating into h264; still frames loop into clips based on the configured hold time. The system needs ffmpeg available in PATH, or ffmpegPath configured in the row config; when ffmpeg is missing, the tab shows a prompt and hides related operations without affecting generation, gallery, or Kling.
Other¶
- Templates: 8 sets of bilingual (Chinese/English) starter prompts (e.g., product hero, UGC selfie, etc.), which only fill the prompt box and only consume resources when Generate is pressed.
- Import by link: Paste a direct
http(s)link to an image or video to download it into the same gallery. - Conversational tool (optional): When the Harness has the tools service enabled and
@deepseek-ai/dsh-toolsavailable, the model can callimage_generate, with output going into the same library as the page. - Credentials: The fal key is written through the Harness credentials interface; only a reference name (default
FAL_API_KEY) is stored in the config, and the page never reads back the plaintext secret. - Interface: Russian / English switches with the interface language.
Environment and Dependencies¶
| Requirement | Purpose |
|---|---|
DSH core 0.2.0-rc.2 (also verified on 0.2.0-rc.1) |
Host and page |
Node.js ^22.19.0 \|\| >=24.0.0 |
Plugin execution |
ffmpeg or ffmpegPath |
Montage only |
| fal.ai account and API key | fal generation and Kling |
| Optional: Local ComfyUI | Local ComfyUI |
Optional: @deepseek-ai/dsh-tools and tools service |
image_generate |
| Windows or macOS | Supported; no native compilation steps, the only external process is ffmpeg invoked by Montage |
Installation and Activation¶
The DSH ecosystem follows the “everything is a plugin” approach; SkillHub is a community directory with no official affiliation with DeepSeek / 幻方 (High-Flyer). Before installing, it is recommended to review the repository source code and MIT license yourself; the plugin runs with the current DSH process permissions.
From the Plugins Page (Recommended)¶
- Open Plugins → Add plugin.
- Paste the repository spec and install:
github:naletko/dsh-image-studio
An absolute path to a locally cloned directory, or the bare name dsh-image-studio available on the npm registry used by the profile, can also be installed.
3. If the page does not prompt for it, no restart is needed; Images should appear in the sidebar.
From the Terminal¶
dsh plugin --profile web add github:naletko/dsh-image-studio # web profile
dsh plugin --profile desktop add github:naletko/dsh-image-studio # must fully quit DSH Desktop
dsh --profile web --dump-config # compose the config tree without launching
The Desktop application refuses terminal-side plugin management while running; use Plugins → Add plugin within the application instead. To uninstall: Plugins → Remove, or dsh plugin --profile web remove dsh-image-studio; gallery directories, credentials, and other plugins will not be deleted.
Typical Usage¶
Following the README Quick start, the order is as follows:
- Install the plugin and open Images in the sidebar.
- In Settings → Plugins → Images (fal.ai), paste your fal API key (from fal.ai → Keys, format: the full
key_id:key_secretstring), then click Save. - Enter your image description, select model, aspect ratio, and variant count, then click Generate.
- Click a result: download, copy the prompt, favorite, or use Animate in Kling in the lightbox.
For media that should be co-located with your code repository, set Media source to the project’s dsh-media; for short videos, switch to Montage to select assets and aspect ratio, then export.
Use Cases and Notes¶
This is suitable for developers who are already building agents in DSH or collaborating daily with Harness, and also need fal / ComfyUI for image generation with a searchable history, occasionally doing Kling animations or ffmpeg montages. If you only need single-chat image attachments and don’t care about a gallery, this plugin is workflow-heavy and may not be necessary.
Notes: ComfyUI requires you to maintain the service and models yourself; Kling and fal generation will incur third-party usage and costs; Montage depends on local ffmpeg. The GitHub repository has 0 stars (as of data capture), which does not indicate functional completeness—refer to the README and compatibility.json.
Links¶
- Community directory: https://www.skillhub.cn/plugins/naletko/dsh-image-studio
- Source code and documentation: https://github.com/naletko/dsh-image-studio