sgen

侧栏试验场调用商汤与 Agnes 生成图片和视频,按供应商设置 Key 与默认模型,管理本机生成结果,并向对话提供 sgen_* 工具。每次请求都会运行安装包里自带的 sgen 命令行;按本地路径给出的参考图和参考音频会以 base64 上传到服务商;API Key 存在 ~/.sgen/config.json;侧栏生成的结果默认存到 ~/sgen(可改目录)。

插件介绍

侧栏试验场调用商汤与 Agnes 生成图片和视频,按供应商设置 Key 与默认模型,管理本机生成结果,并向对话提供 sgen_* 工具。每次请求都会运行安装包里自带的 sgen 命令行;按本地路径给出的参考图和参考音频会以 base64 上传到服务商;API Key 存在 ~/.sgen/config.json;侧栏生成的结果默认存到 ~/sgen(可改目录)。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:qjy0128/sgen

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。