DeepSeek Harness Plugin

SamurAIGPT/dsh-plugin-muapi

Stars ★ 3 Category Tools & Capabilities Added 2026-08-17

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.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

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

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

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

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.