DeepSeek Harness Plugin: A Free Multimodal Trio (Zero-Key Text-to-Image, Video Understanding, and Text-to-Video)

Introduction

DeepSeek Harness (DSH) extends its capabilities through plugins. In multimodal inference scenarios, API Keys and costs are often barriers. The dsh-free-media plugin provides a suite of free solutions: Text-to-Image, Video Understanding, and Text-to-Video/Image-to-Video.

This plugin is maintained by bdydgz114514, licensed under MIT, and includes three tools and one skill.

Core Features

The plugin provides three main tools:

  • free_image_generate: Text-to-Image. Uses the Pollinations free endpoint, no API Key required.
  • video_extract_frames: Video Understanding. Uses ffmpeg to extract frames from videos, no external API Key required.
  • free_video_generate: Text-to-Video / Image-to-Video. Supports Zhipu cogvideox-flash and Agnes agnes-video-v2.0; requires registration for a free Key.

Additionally, it comes with a free-media skill for scenarios requiring combination, custom parameters, or pipeline runs.

Installation and Activation

Execute the following command in the terminal to install:

dsh plugin --profile <your_profile> add dsh-free-media

After installation, you need to restart DSH and start a new session, as the toolset is snapshotted at the time of session creation.

Desktop application users need to operate via the GUI: Settings → Built-in Plugins → Add Plugin, because the command line will return an error indicating that the profile "desktop" is managed exclusively by the application.

Environment Requirements

  • Node.js: Version ≥ 18.
  • FFmpeg: ffmpeg / ffprobe must be in the PATH (only affects the video frame extraction tool). Can be overridden via environment variables FFMPEG_PATH / FFPROBE_PATH.
  • Keys: The video generation tool requires a free registered API Key.

Configuration and Usage

Key Configuration

Video generation requires a Key. Three configuration methods are supported, with priority from high to low:

  1. Tool argument key / script argument --key.
  2. Environment variable ZHIPU_API_KEY or AGNES_API_KEY.
  3. File ~/.dsh/free-media-keys.json, formatted as {"zhipu":"xxx","agnes":"yyy"}.

Prompt Processing

  • Text-to-Image: Chinese prompts are automatically and freely translated into English (via text.pollinations.ai) because the free image generation endpoint has poor support for Chinese.
  • Video Generation: Supports Text-to-Video and Image-to-Video.

Limitations and Notes

This plugin utilizes third-party free services and has the following limitations:

  • Image Generation Limitations:
    • Silent Downsampling: The free tier has a pixel limit (approx. 0.59 MP). For example, requesting 1024×1024 may yield 768×768. The size in the return value is the requested value, while actualSize is the true value.
    • Unreliable Counting: Cannot accurately count the number of people or objects in the image.
  • Video Understanding Limitations:
    • No Audio Track: Frame extraction does not include an audio track, so dialogue cannot be recognized via the visuals.
    • Temporal Loss: Frames are discrete snapshots; motion between frames and brief events will be lost.
  • Video Generation Limitations:
    • No SLA: Availability is not guaranteed for the free tier.
    • Rate Limiting: Image generation may encounter 402/429 errors; the script will automatically back off.
    • Timeout Handling: If video generation times out, a task ID will be provided. You need to query it later; do not retry blindly.
  • Technical Limitations:
    • No SLA: Free API strategies may change at any time.

Conclusion

dsh-free-media is suitable for scenarios where you need to try multimodal features at low cost. Please check the source code and license before use, and pay attention to data privacy (prompts will be sent to third-party providers).

  • Directory Page: https://www.skillhub.cn/plugins/bdydgz114514/dsh-free-media
  • GitHub: https://github.com/bdydgz114514/dsh-free-media
羽毛球分组比赛记分
小程序二维码

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

Xiaoye