DeepSeek Harness Plugin: Integrating JuMeng AI for Image and Video Generation

Introduction

DeepSeek Harness (DSH) extends its capabilities through a plugin mechanism. In agent development, enabling conversations to directly produce images or videos requires integration with dedicated image/video generation APIs. Manually handling API calls and saving results to disk can be cumbersome. The dsh-jumeng-image-video-tool plugin introduced in this article integrates Jumeng AI and standardizes this workflow.

What It Is

This is a DeepSeek Harness plugin maintained by user lkw2731938298. It is located under the “Model Inference” category. Its core value is directly invoking Jumeng AI during conversations to generate images or videos, automatically saving the results locally, and returning remote access links.

Core Features

The plugin provides the following tool interfaces:

  • list_models: lists available models (image / video).
  • upload_file: uploads local images / videos and obtains temporary reference URLs.
  • generate_image: text-to-image / image-to-image; saves to disk + URL.
  • generate_video: text-to-video / image-to-video; saves to disk + URL after polling completes.

Installation and Activation

Run the following command to install the plugin:

dsh plugin --profile web add https://github.com/lkw2731938298/jumeng-image-video-tool.git

After installation, refresh or restart in the Web UI to make the plugin take effect.

Configuration and Usage

Configure the API Key

  1. Open the Web UI.
  2. Go to Settings → Plugins → Plugin Configuration.
  3. Expand Jumeng Media.
  4. Paste the API key and save (credentials are written to the database, not to a plaintext file).

You can also set the environment variable JUMENG_API_KEY.

Basic Configuration Items

  • apiKey / apiKeyEnv: authentication method.
  • baseUrl: defaults to https://www.jumengai.com/v1 (international version: https://www.jumai.ai/v1).
  • imageModel / videoModel: default models.
  • outputDir: defaults to ./outputs.

Typical Usage

Directly enter instructions in the conversation:

  • “Use Jumeng to list image-generation models”
  • “Generate a cyber city nightscape”
  • “Use this image to generate a 5-second vertical video”

Notes

  • File limits: images (JPEG/PNG/GIF/WEBP) are up to 10MB, and videos (MP4/MOV/WebM) are up to 100MB.
  • Expiration: URLs obtained from uploads expire after approximately 1 hour; the same key: up to 50 files per hour.
  • Permissions and security: the plugin runs with the permissions of the current DSH process. It is recommended to review the source code and license before installation.
  • Asset reuse: if you need to reuse the same asset multiple times, it is recommended to explicitly call upload_file first to obtain a URL, then pass it to the generation interfaces.

Summary

This plugin simplifies integration with Jumeng AI in DeepSeek Harness. You can view the complete configuration and source code on GitHub.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye