netori/dsh-imagegen-zhenzhen ↗★ 0
dsh-imagegen-zhenzhen
DSH 图像生成插件,原生支持 zhenzhen-image 异步任务网关:支持文本生成图像和多参考图生成图像,无需桥接进程或外部图床。
AI 分析
核心用途是接入 zhenzhen-image 网关实现 AI 绘图。适合需要直接在 DSH 中进行文生图、图生图且使用该特定网关的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:netori/dsh-imagegen-zhenzhen说明文档
阅读完整 README ↗配置
在「设置 → 插件 → AI 生图」里添加渠道,或直接写 ~/.dsh/settings.yaml:
dsh-imagegen:
enabled: true
allowAgentImageGeneration: true
defaultChannelId: my-gateway
channels:
- id: my-gateway
name: 我的网关
apiUrl: https://api.example.com/v1
models:
- { alias: zhenzhen-image-g-v2.5-flare, id: zhenzhen-image-g-v2.5-flare }
channelSecrets:
my-gateway: ""
apiUrl填基地址(含/v1),插件会自动追加/image/generations与/files/upload。- 模型 id 需匹配
/^zhenzhen-image/i才会走本 fork 的原生协议分支; 其它模型仍按上游的各族协议(Seedream / Qwen / MiniMax / Grok / Nano Banana / 智谱)处理。