SamurAIGPT/dsh-plugin-muapi
DeepSeek Harness plugin exposing MuApi's 100+ image/video/audio generation models as an agent tool
已收录
1
Tools
Bundle 已验证
预览
功能介绍
MuApi 媒体生成工具:muapi_generate 工具通过一个 x-api-key 提交并轮询 MuApi 100 多个图片、视频、音频与 3D 模型的生成任务。
适合
- 需要通过单个 DSH 智能体工具生成图片、视频、音频或 3D 内容的创作工作流。
- 希望使用一个 API 凭证访问多个 MuApi 托管媒体模型的用户。
- 适合提交异步生成任务并使用返回结果 URL 的智能体任务。
不适合
- 没有 MuApi x-api-key,或不希望将生成请求发送到 MuApi 服务的用户。
- 要求完全本地或离线完成媒体生成的工作流。
- 无法在配置的轮询超时内完成的任务;默认超时为 600000 毫秒。
README
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-imageorkling-v2-1-image-to-video. Browse the full catalog at muapi.ai/playground; each model’s exact parameters are documented athttps://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
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:SamurAIGPT/dsh-plugin-muapi。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。