zlforward/dsh-agnes-media ↗★ 1
dsh-agnes-media
DSH Agnes 媒体生成插件:通过 Agnes 兼容网关提供 agnes_image 和 agnes_video 工具,支持图像与视频生成。
AI 分析
核心用途是为 DSH 扩展多媒体生成能力。适合需要在对话中直接调用 AI 生成图片或视频的多媒体创作任务。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zlforward/dsh-agnes-media说明文档
阅读完整 README ↗Configuration
Override by id from the profile patch layer:
- id: agnes-media
config:
baseURL: https://apihub.agnes-ai.com/v1
apiKeyEnv: AGNES_API_KEY
imageModel: agnes-image-2.5-flash
videoModel: agnes-video-2.5-flash
outputDir: agnes-media
requestTimeoutMs: 300000
imageTimeoutMs: 360000
videoTimeoutMs: 1800000
videoPollIntervalMs: 3000
| Field | Default | Meaning |
|---|---|---|
baseURL | https://apihub.agnes-ai.com/v1 | International service. China is https://api.agnes-ai.cn/v1; the international alternate is https://apihub.agnes-ai.cn/v1 |
apiKeyEnv | AGNES_API_KEY | Credential reference resolved per call |
imageModel | agnes-image-2.5-flash | Used when a call names no model |
videoModel | agnes-video-2.5-flash | Defaults to the free tier so an unconfigured call cannot silently spend money |
outputDir | agnes-media | Relative to the calling workspace; an absolute outputPath bypasses it |