ef069095422d4e8c65fc749980b743e04165b960
ComfyUI-KieAPI
Custom ComfyUI node plugin for Kie AI integrations.
Included in v1
Kie Nano Banana 2node- text-to-image
- optional reference image
- API key via node input,
KIE_API_KEY, or localconfig.json
Install
Place this folder under:
ComfyUI/custom_nodes/ComfyUI-KieAPI
Then restart ComfyUI.
Configure API key
The node resolves the Kie API key in this order:
api_keynode inputKIE_API_KEYenvironment variableconfig.jsonin this plugin folder
To use a local config file, copy config.example.json to config.json and fill in your key:
{
"api_key": "your-kie-api-key"
}
config.json is ignored by git.
Node inputs
promptapi_keyreference_image(optional)aspect_ratioresolutionoutput_formatgoogle_searchpoll_timeout_seconds
Notes
- If you put
api_keydirectly into the node, it may be stored in the workflow JSON. - Reference images are uploaded through Kie's base64 upload API before the generation task is created.
- The node polls Kie's common task detail endpoint until the task succeeds, fails, or times out.
Languages
Python
100%