rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:yyxcnasd/minimax-image
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
MiniMax H3 image generation and editing for DeepSeek Harness, as an installable DSH bundle.
Composer chip — an Image: Off / Image: On chip beside the permission and mode chips in the composer tool row; the visible words follow the client locale. The default is Off, and the Host remembers each conversation's choice.
Two model tools while it is on — switching the chip to On adds both:
generate_image — text to image (POST /v1/images/generations);edit_image — edit or combine 1–16 reference images with an instruction (POST /v1/images/edits).The model chooses aspect_ratio and area per call; the plugin does not force defaults from settings.
Bundled prompt skill — minimax-image-prompting, a detailed playbook that interviews the user for the missing style decisions, locks one art direction across a series, and turns weak results into an actionable next edit.
Settings page — configures the endpoint, the model (MiniMax-H3-Image by default, or MiniMax-H3-Image-Highspeed), and the API key.
Requires a DSH profile that composes the Web surface bundle (@deepseek-ai/dsh-web-app), because the chip and the settings page are browser surfaces and the Host route lives on the web server.
dsh plugin --profile desktop add github:yyxcnasd/minimax-image
The package ships plain ESM with no build script, so pnpm runs nothing at install time and no allowBuilds entry is needed. Pin a commit if you want immutability:
dsh plugin --profile desktop add github:yyxcnasd/minimax-image#<commit-sha>
A git install shells out to git ls-remote against github.com:443, so on a network that blocks that host use the npm package or a packed tarball instead (dsh plugin --profile desktop add ./minimax-image-0.4.0.tgz).
dsh plugin --profile desktop add minimax-image
dsh plugin --profile desktop add ./minimax-image
dsh plugin --profile <name> add ... forwards to pnpm inside $DSH_HOME/profiles/<name>, then appends the bundle to dsh.profile.bundles. Use web instead of desktop for a web profile — the same bundle serves both.
Installing applies immediately when the profile can recompose; if the Loader reports restart-required, restart DeepSeek Harness once. A browser page refresh loads the client half either way.
Uninstall with:
dsh plugin --profile desktop remove minimax-image
skills/minimax-image-prompting.md is registered as a model-invocable skill at activation. It is written for the model, not for the user, and it covers:
1K / 2K / 4K guidance with the reporting habit.The skill reaches the model through the skill registry (@deepseek-ai/dsh-skill) and the skill tool (@deepseek-ai/dsh-tool-skill); a profile without them still gets the tools and simply skips the registration. If you prefer a filesystem skill, copy the markdown straight into a skills directory — its frontmatter is kept for that purpose, and the registry path strips it.
https://api.minimaxi.com), the model, and paste your MiniMax API key (sk-api-…). Save.Endpoint and model are stored in $DSH_HOME/minimax-image/settings.json and apply to the next request. The API key is stored in the profile credential store under the reference MINIMAX_IMAGE_API_KEY — never in plugin configuration, never in the settings file. The row in the profile patch only supplies the initial endpoint, model, and credential reference:
- insert:
- id: minimax-image
name: minimax-image
config:
baseUrl: https://api.minimaxi.com
model: MiniMax-H3-Image
apiKeyEnv: MINIMAX_IMAGE_API_KEY
generate_image posts model, prompt, n, response_format: "url", area, and aspect_ratio (omitted when the ratio is auto). edit_image adds images: [{ image_url }]; local files are inlined as data URIs, capped at 20 MB each and 45 MB per request, so pass an http(s) URL for anything larger.data[].size; the tool result records that exact size beside each saved file.<session workspace>/generated-images/ as minimax-<timestamp>-<n>.<ext> (generated) or minimax-edit-<timestamp>-<n>.<ext> (edited).read_image tool to display the picture inline.document.body), styled from the shipped menu tokens: ArrowUp/ArrowDown move focus, Enter/Space picks, Escape closes, a pointer press outside closes, and the chevron rotates while it is open.$DSH_HOME/minimax-image/sessions.json.$DSH_HOME/minimax-image/settings.json.$DSH_HOME/.credentials.yaml, owner-only permissions).generated-images/.stream: true) is not used; both tools wait for the complete response.The registry name is exactly minimax-image — that is what dsh plugin add minimax-image resolves. There is no build step: index.js and client.js are the shipped files, and files already lists every runtime asset.
npm publish
gh release create v0.4.0 --generate-notes # optional
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。