A collection of custom nodes for using the Stability AI API in ComfyUI.
ComfyUI Stability AI API is a collection of custom nodes that integrate the Stability AI API with ComfyUI. These nodes enable you to perform a variety of creative tasks—from image generation and editing to upscaling, video generation, and even 3D asset creation and preview.
Image Generation
Image Editing
Image Upscaling
3D Asset Creation & Preview
Video Generation
You can install this custom nodes via ComfyUI Manager, or clone the repository and install the dependencies:
git clone https://github.com/yhayano-ponotech/comfyui-stability-ai-api.git
cd comfyui-stability-ai-api
pip install -r requirements.txt
There are two methods for providing your Stability AI API key:
Via config.ini
On the first run, a config.ini
file is automatically generated in the project directory. You can open this file and set your API key under the appropriate section. The nodes will use this API key by default.
Directly via Node Input
Each node has an optional api_key
input. You can directly provide your API key in this field when building your workflow. This method overrides any API key set in config.ini
for that node.
After installation, load the nodes into ComfyUI to start building your workflows. For example:
Example workflow JSON files are provided in the examples/
directory. Import these files into ComfyUI to see sample setups.
To update or publish a new version:
pyproject.toml
.main
or master
branch..github/workflows/publish.yml
will automatically publish the new version to the Comfy Registry.This project is licensed under the terms specified in the LICENSE file.
For questions, issues, or further support, please open an issue in the GitHub repository.
Happy creating with ComfyUI and Stability AI!