Nodes/ComfyUI-Kling-Direct/Kling Effect Templates
ComfyUI Node

Kling Effect Templates

See Every Video Effect Kling Actually Offers, Right Now

By IxMxAMAR·Created 5 months ago·Updated 2 months ago· 4
Kling Effect Templates
  • auth
  • templates_json

Kling Effect Templates is the node that answers "so what effects can Kling actually do?" by asking Kling itself. It calls the API's effect-templates endpoint and returns the live list of available video effects as JSON. No guessing, no stale docs - if Kling added a new effect last week, this node shows it.

Why does that matter? The pack has a Video Effects node that applies effects like hug, kiss, heart to one or two images - but the available set is defined by Kling's server, not by the node's dropdown. Templates change over time. Rather than ship a hardcoded list that rots, the pack ships a node that fetches the truth. This is the "give me the menu" companion to the "order the food" effects node.

How it works

One input: auth (the KLING_AUTH object from the Auth node). It makes a single request to /v1/videos/effect-templates, and returns one output: templates_json - a STRING of the formatted JSON (pretty-printed, indented, with unicode preserved). The node prints a preview to the console as well.

That's the whole node. It's a pure introspection call: cheap, no polling, no downloads. Run it and read the JSON output to see the current effect catalog, then use the effect names you find in the Video Effects node.

It's also secretly useful as a connectivity test. The pack's Kling API Health Check node uses this exact endpoint as its cheap "are auth and the network actually working?" probe - because it's a free call that returns useful data, it's the perfect canary. If you don't have the health check handy, running Effect Templates and seeing pretty JSON is a perfectly good manual smoke test that your keys work.

Where it fits

  • Discovering effects - run it once, note the effect IDs, and you know what you can ask for in Video Effects. This is the primary use.
  • Workflow design - before building an effects pipeline, run this to confirm the effect you want exists now (and hasn't been renamed).
  • Debugging - as the pack's own health-check does, it validates auth + connectivity in one call.

Common issues

  • JSON output you can't parse by eye - that's expected; it's meant to be read by you via the node's preview or by other nodes. If you want it machine-consumed, wire templates_json into a node that can parse a JSON string (or just read the console printout).
  • Error calling the endpoint - same failure modes as everything else in the pack: bad keys, no KYC activation, wrong region. The effect-templates endpoint is generally available across regions, so if this fails while your browser's Kling console works, it's your keys or your account status.

Install

It ships with ComfyUI-Kling-Direct:

cd ComfyUI/custom_nodes
git clone https://github.com/IxMxAMAR/ComfyUI-Kling-Direct

or ComfyUI Manager → search "Kling Direct" → install → restart. No models, no GPU, no extra dependencies. Small node, clear job, and it quietly doubles as the pack's least-expensive way to confirm you're connected.

CategoryKling AI/Effects

Inputs (1)

NameTypeDefaultDescription
authKLING_AUTH

Outputs (1)

NameTypeDescription
templates_jsonSTRING