dsh-plugin-muapi
其他 活跃维护

dsh-plugin-muapi

SamurAIGPT/dsh-plugin-muapi

该插件将MuApi平台的百余款图像、视频、音频生成模型封装为Agent可直接调用的工具,支持模型自动发现、统一参数适配,无需额外开发即可快速把多模态生成能力集成到各类智能体工作流中。

2
Stars 标星
0
Forks 分支
2
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
11 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:SamurAIGPT/dsh-plugin-muapi
git clone https://github.com/SamurAIGPT/dsh-plugin-muapi.git
git clone git@github.com:SamurAIGPT/dsh-plugin-muapi.git
README.md main

dsh-plugin-muapi

A DeepSeek Harness plugin that gives the agent a muapi_generate tool for MuApi — a unified API for 100+ image, video, audio, and 3D generation models (Flux, Veo 3, Kling, Seedance, Suno, and more) behind a single x-api-key.

Install

dsh plugin add @dsh-plugin/dsh-plugin-muapi

Then, in Settings → muapi, set your API key credential (create one at muapi.ai/access-keys).

What it does

Registers one tool, muapi_generate:

  • model — a MuApi model slug, e.g. flux-schnell-image or kling-v2-1-image-to-video. Browse the full catalog at muapi.ai/playground; each model's exact parameters are documented at https://muapi.ai/playground/{model}/llms.txt.
  • input — that model's parameter object, e.g. { "prompt": "a serene mountain lake at dawn" }.

The tool submits the job (POST https://api.muapi.ai/api/v1/{model}), polls GET https://api.muapi.ai/api/v1/predictions/{request_id}/result until it completes or fails, and returns the output URLs.

Configuration

Setting Default Description
tool.enabled true Expose the tool to the agent.
tool.apiKeyEnv — Credential reference for your MuApi API key.
tool.baseUrl https://api.muapi.ai/api/v1 API base URL.
tool.pollIntervalMs 3000 Delay between result polls.
tool.timeoutMs 600000 Max time to wait for a job to complete.

License

MIT