Lijianan-123/dsh-agnes-image ↗★ 0
@dsh-external/dsh-agnes-image
生成图像并保存至会话工作区 适合需要文本生成图像、图生图及多图合成任务的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Lijianan-123/dsh-agnes-image說明文件
閱讀完整 README ↗Configuration
All keys are optional, applied over these defaults by the Loader:
{
"apiKey": "", // inline key; wins over every other source
"credentialRef": "AGONES_API_KEY",
"endpoint": "https://apihub.agnes-ai.com/v1/images/generations",
"model": "agnes-image-2.5-flash",
"defaultSize": "2K",
"defaultRatio": "1:1",
"outputDir": "", // empty → /agnes-images
"timeoutMs": 300000,
"attempts": 3 // total attempts on connect-level failures
}
API key resolution order (re-resolved on every call, never cached): plugin config → harness credential store → environment (AGONES_API_KEY / AGNES_API_KEY) → key file. Key rotation reaches the very next call with no restart.