注册 `image2_generate` 工具:调用你自己的 OpenAI 兼容图片中转站生成或编辑图片(文生图走 POST /images/generations,图生图走 POST /images/edits 并接受本地 PNG/JPEG/WebP 参考图,兼容 b64_json 与图片 URL 返回),图片保存在会话工作目录内,并借助其 `@wisdoverse/dsh-inline-media-viewer` 依赖在对话里内联渲染。
curl -fsSL https://www.dshhub.co/install.sh -o dshhub-install.sh && bash dshhub-install.shAlready have DSH? Skip the wizard and install the market directly:dsh plugin --profile web add dshhub-market
This plugin installs only from the plugin side.