MediaKit Environment Check
Run this first, or every MediaKit node fails silently
- status
- details_json
If you install the MediaKit Toolkit and don't run this node first, you're doing it backwards. Every other node in the pack uploads your video to Volcengine's cloud and fails after you've waited for an upload. This one checks the CLI, the auth, and the environment up front - and it does it for free, without sending a single frame anywhere. It's the pack's own "run doctor before you complain" button, wrapped in a node.
What it is
A pure diagnostics node that lives under MediaKit/Diagnostics rather than MediaKit/Video AI, because it processes nothing - it inspects the machine and reports. The README's first piece of advice is literally "run MediaKit Environment Check" before anything else, and for once the manual is right.
It takes exactly one input: run_doctor (BOOLEAN, default true). Leave it on. It decides whether the node also runs the CLI's doctor command, which validates the cloud connection and local dependencies, instead of just locating the binary.
What comes out
Two STRING outputs:
status-ready,warning, ornot_ready. One glance tells you whether to keep going or start fixing.details_json- a JSON blob withplatform,architecture,python,node,npm, whethermediakit-cliwas found and its version, and, whenrun_doctoris on, the redacteddoctoroutput and whether it exited cleanly. If anything throws, you get the redacted error and anot_readystatus instead of a crashed graph.
The README promises it never outputs your API key, and the source backs that up: the same redaction pass the cloud nodes use (which strips keys and signed-URL query params) runs over the doctor output before it's printed.
How to read the failure
The node tells you which of the three classic problems you have, which is the whole point:
mediakit_climissing ornullin the JSON → the CLI isn't on thePATHof the process running ComfyUI.- CLI found but
doctor_okisfalse→ auth or cloud-connect problem, usually a bad or uninitialized key. - Everything green but a cloud node still fails → it's not the environment, it's the task or the bill.
Install and the cloud setup it checks
The pack installs like any custom node - ComfyUI Manager, search "MediaKit Toolkit" or mediakit-toolkit, then fully restart - or:
cd ComfyUI/custom_nodes
git clone https://github.com/fudanll-sys/comfyui-mediakit-toolkit.git
There are no Python dependencies and no model downloads (the requirements file is empty; this pack wraps Volcengine's CLI, it doesn't load weights). What it does need, before the check turns ready, is a Volcengine account with an activated AI MediaKit service, an API key, and the CLI installed in the environment that launches ComfyUI:
npx @volcengine/mediakit-cli install -y
mediakit-cli init --mode cloud-first --api-key "YOUR_MEDIAKIT_API_KEY" --credential-store config --yes
or set MEDIAKIT_API_KEY for the ComfyUI process instead. Your key never lands in the workflow JSON.
Honest notes
The pack is 0.3.0 and essentially invisible in the community right now - there's no crowd of bug reports to learn from, so this node is your debugging basecamp. If the check passes, your problem is downstream; if it fails, the JSON names the culprit. One quirk: node and npm are reported as installed-or-not, because you need Node 18+ only to install the CLI, not to run these nodes afterward - so a missing Node entry is worth a look but isn't fatal once mediakit-cli already exists.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| run_doctor | BOOLEAN | true | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| status | STRING | — |
| details_json | STRING | — |