wangyemen/agnes-ai-for-dsh ↗★ 0

agnes-ai-for-dsh

接入多模态大模型服务并提供设置面板 适合需要使用 Agnes AI 进行文生图、图生图、视频生成等异步多模态任务的用户。

包名
agnes-ai-for-dsh
兼容性
待验证
Cordis 依赖范围
^4.0.2
版本
0.2.0
最近更新
2026年10月11日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wangyemen/agnes-ai-for-dsh

Usage

Once enabled, the two media tools are available to the model:

  • agnes_image_generation — text-to-image, image-to-image and multi-image editing. Parameters: model, prompt, size (1K–4K), optional ratio, optional image (input URLs), optional return_base64.
  • agnes_video_generation — asynchronous video generation with polling. Parameters: model, prompt, optional seconds, mode, size, aspect_ratio, and the mode-specific media fields.

Video generation is asynchronous: the tool creates a task and then polls GET /agnesapi?video_id=…&model_name=… until it settles. agnes-video-2.5-flash accepts only 720P; agnes-video-2.5 accepts 720P, 1080P, 1K and 2K.