netori/dsh-imagegen-zhenzhen ↗★ 0
dsh-imagegen-zhenzhen
DSH image-generation plugin with native support for the zhenzhen-image async task gateway (POST /image/generations -> top-level task_id -> poll GET /image/generations/<id>): text-to-image and multi-reference image-to-image, no bridge process or external image host required. Forked from @dickpy/dsh-imagegen.
安装
$
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 / 智谱)处理。