插件目录 / Developer / dsh-minimax-image
dsh-minimax-image
已验证 · 实测可装 Jack-sun-learner
功能简介
DeepSeek Harness 文生图插件:基于 MiniMax image-01 生成图片,注册 image-gen 工具
可用 — 实测通过,早期项目
DeepSeek Harness 文生图插件:基于 MiniMax image-01 生成图片,注册 image-gen 工具 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-minimax-image
English | 中文
A text-to-image plugin for DeepSeek Harness (DSH): turns a one-sentence visual description into a real image via the MiniMax image_generation API, saves it to your workspace, and exposes it to the model as an image-gen tool.
Features
- 🎨 Text-to-image: powered by the MiniMax
image-01model, with 8 aspect ratios (16:9/9:16/1:1/4:3/3:4/3:2/2:3/21:9) - 🧩 DSH tool integration: registers the
image-gentool so the model can generate images directly from the conversation - 🔑 Credential reuse: reads
MINIMAX_API_KEYautomatically (from the environment or the DSH credential store~/.dsh/.credentials.yaml) — no extra setup - 💾 Saved to disk: generated PNGs land in the workspace
generated/directory (customizable via theoutput_dirargument)
Installation
Local install:
dsh plugin --profile web add /path/to/dsh-minimax-image
dsh plugin --profile headless add /path/to/dsh-minimax-image
Usage
After restarting dsh web, just describe the picture in the conversation, for example:
Generate a cyberpunk city night scene with neon lights and rain
The model calls the image-gen tool and returns the saved file path:
Generated 1 image (16:9):
- D:\AI_video\generated\minimax-2026-08-18T12-16-11-1.png
Configuration
Config precedence (highest wins):
- profile patch / plugin row config
~/.config/dsh-minimax-image/config.jsonMINIMAX_IMAGE_*environment variables- built-in defaults
Common options
| Field | Description | Default |
|---|---|---|
apiKeyEnv |
Environment variable holding the API key | MINIMAX_API_KEY |
baseUrl |
MiniMax image generation endpoint | https://api.minimaxi.com/v1/image_generation |
model |
Model ID | image-01 |
aspectRatio |
Default aspect ratio | 16:9 |
outputDir |
Default output directory (relative to the workspace) | generated |
timeoutMs |
Request timeout (milliseconds) | 120000 |
Example ~/.config/dsh-minimax-image/config.json:
{
"model": "image-01",
"aspectRatio": "9:16",
"outputDir": "generated",
"apiKeyEnv": "MINIMAX_API_KEY"
}
Environment variables
| Variable | Meaning |
|---|---|
MINIMAX_API_KEY |
MiniMax API key (the DSH credential store is also supported) |
MINIMAX_IMAGE_MODEL |
Model ID |
MINIMAX_IMAGE_BASE_URL |
API endpoint |
MINIMAX_IMAGE_OUTPUT_DIR |
Output directory |
MINIMAX_IMAGE_TIMEOUT_MS |
Request timeout |
License
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-minimax-image」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:Jack-sun-learner/dsh-minimax-image Headless(CLI)profile:
dsh plugin --profile headless add github:Jack-sun-learner/dsh-minimax-image 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。