This custom node for ComfyUI integrates Cloudflare Workers AI image generation capabilities into your ComfyUI workflows. It allows you to leverage the power of Workers AI models directly within ComfyUI, expanding your creative possibilities.
- Seamless integration with ComfyUI
- Support for multiple Workers AI image generation models
- Easy-to-use node interface
- Customizable image generation parameters
-
Ensure you have ComfyUI installed and set up.
-
Clone this repository into your ComfyUI
custom_nodes
directory:cd /path/to/ComfyUI/custom_nodes git clone https://github.com/ashishdatta/ComfyUI-WorkersAI-ImageGen.git
-
Install the required dependencies:
pip install -r requirements.txt
-
Restart ComfyUI to load the new custom node.
- In ComfyUI, look for the "CloudflareWorkersAI" node in the node list.
- Drag the node into your workflow.
- Configure the node parameters:
- Set your Cloudflare Account ID
- Set your Cloudflare API token
- Select the desired Workers AI model
- Adjust other generation parameters as needed
- Connect the node inputs and outputs to other nodes in your workflow.
- Run your workflow to generate images using Workers AI.
To use this node, you need to have a Cloudflare account and API token with access to Workers AI. Set your API token in the node interface or use an environment variable for added security.
- @cf/stabilityai/stable-diffusion-xl-base-1.0
- @cf/black-forest-labs/flux-1-schnell
- @cf/bytedance/stable-diffusion-xl-lightning