ComfyUI-Kie-API-Serverless
Serverless-compatible fork of ComfyUI custom nodes connecting to Kie.ai API for image and video generation with API key passed as node input for serverless environments.
Nodes (15)
Flux 2 Pro I2I without the 24GB VRAM tab
A Gemini 3 Pro brain that can actually see your images
Know how much runway your KIE key has left
Slice a KIE grid image like a pro
First frame, last frame, and Kling 2.5 fills in the middle
The default one-shot animation node
Steal a video's motion with Kling 2.6 Motion-Control
No image required, audio included if you want it
Google's Nano Banana Pro inside ComfyUI, at reseller prices
Turn an LLM's prompt JSON into nine wires
One node that does both I2V and T2V
The budget I2V workhorse
Describe the change, not the whole image
ByteDance's flagship image model, one node away
Alibaba's edit model on a per-call basis
ComfyUI KIE API Nodes (Serverless Edition)
Project overview
A serverless-compatible fork of ComfyUI custom nodes that connect to the Kie.ai API for image and video generation workflows. Thanks to "https://github.com/gateway/ComfyUI-Kie-API" for the original.
Key difference from original: API key is passed as a node input field instead of loaded from a config file, making it work in serverless environments like Modal, ComfyDeploy, and RunPod.
Why this fork exists
The original KIE API nodes load the API key from a config file (config/kie_key.txt), which doesn't work in serverless/ephemeral environments. This fork exposes the API key as a mandatory input field on each node, allowing you to:
- Save the key directly in your workflow JSON
- Use it in ComfyDeploy, Modal, RunPod serverless, etc.
- Run alongside the original KIE nodes (different node IDs with
[SL]suffix)