DeepSeek Harness plugin

dsh-minimax-image

MiniMax 文生图插件:把一句话画面描述生成图片并保存到工作区,作为 `image-gen` 工具提供给模型调用。

Jump to install

Source facts

Repository
Jack-sun-learner/dsh-minimax-image
Latest update
Aug 19, 2026
Category
Models & Providers
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/Jack-sun-learner/dsh-minimax-image
Plugin: dsh-minimax-image
Author: Jack-sun-learner

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

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-01 model, 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-gen tool so the model can generate images directly from the conversation
  • 🔑 Credential reuse: reads MINIMAX_API_KEY automatically (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 the output_dir argument)

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):

1. profile patch / plugin row config 2. ~/.config/dsh-minimax-image/config.json 3. MINIMAX_IMAGE_* environment variables 4. built-in defaults

Common options

FieldDescriptionDefault
apiKeyEnvEnvironment variable holding the API keyMINIMAX_API_KEY
baseUrlMiniMax image generation endpointhttps://api.minimaxi.com/v1/image_generation
modelModel IDimage-01
aspectRatioDefault aspect ratio16:9
outputDirDefault output directory (relative to the workspace)generated
timeoutMsRequest timeout (milliseconds)120000

Example ~/.config/dsh-minimax-image/config.json:

{
  "model": "image-01",
  "aspectRatio": "9:16",
  "outputDir": "generated",
  "apiKeyEnv": "MINIMAX_API_KEY"
}

Environment variables

VariableMeaning
MINIMAX_API_KEYMiniMax API key (the DSH credential store is also supported)
MINIMAX_IMAGE_MODELModel ID
MINIMAX_IMAGE_BASE_URLAPI endpoint
MINIMAX_IMAGE_OUTPUT_DIROutput directory
MINIMAX_IMAGE_TIMEOUT_MSRequest timeout

License

[MIT](LICENSE)