dsh-plugin-muapi

by SamurAIGPT

工具与能力github 检测到 manifest package.json#dsh 社区精选 收录于 08-17

MuApi 媒体生成工具:muapi_generate 经单一 x-api-key 提交并轮询 MuApi 100+ 图像、视频、音频与 3D 模型任务

MuApi media-generation tool: a muapi_generate tool that submits and polls jobs against any of MuApi's 100+ image, video, audio, and 3D models through one x-api-key.

安装

dsh plugin --profile web add github:SamurAIGPT/dsh-plugin-muapi

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

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

原始 README: https://github.com/SamurAIGPT/dsh-plugin-muapi/blob/main/README.md ↗