main
- Replace clunky text field with proper image input slots (image_1 through image_6) - Each slot can connect directly from Upload Image node - Supports up to 6 images per edit (can be extended if needed) - More user-friendly workflow in ComfyUI
ComfyUI Razv WaveSpeed Nodes
Custom ComfyUI nodes for integrating WaveSpeed AI API for image and video generation.
Features
- Multiple AI model integrations (Qwen, Google Nano Banana, etc.)
- Image generation, editing, and upscaling capabilities
- Video generation support
- Sync and async processing modes
- Automatic retry logic for network issues
Installation
Option 1: ComfyUI Manager (Recommended)
- Open ComfyUI Manager
- Search for "razv-wavespeed"
- Click Install
Option 2: Git Clone
cd ComfyUI/custom_nodes
git clone https://github.com/razvanmatei-sf/razv-wavespeed.git
cd razv-wavespeed/comfyui-razv-wavespeed-custom
pip install -r requirements.txt
Configuration
- Copy
config.ini.tmptoconfig.ini - Add your WaveSpeed API key to
config.ini:
[api]
key = your_wavespeed_api_key_here
Or provide the API key directly in the WaveSpeedAI Client node.
Available Nodes
Core Nodes
- WaveSpeedAI Client: Connection node for API authentication
- WaveSpeedAI Upload Image: Upload images and get URLs for processing
Generation Nodes
- Qwen Image Text to Image: Generate images from text prompts
- Qwen Image Edit: Edit existing images with prompts
- Google Nano Banana Edit: Advanced image editing
- Image Upscaler: Upscale images with AI
Workflow Pattern
Load Image → WaveSpeedAI Upload Image → WaveSpeedAI [Processing Node] → Preview Image
↓ ↑
WaveSpeedAI Client ←←←←←←←←←
Node Development
To add new WaveSpeed API models:
- Create a new
.pyfile incomfyui-razv-wavespeed-custom/py/ - Follow the template structure in existing nodes
- Register the node with
NODE_CLASS_MAPPINGSandNODE_DISPLAY_NAME_MAPPINGS
Requirements
- ComfyUI
- Python 3.8+
- See
requirements.txtfor Python dependencies
Troubleshooting
- SSL Errors: The client includes automatic retry logic with progressive backoff
- Missing Nodes: Restart ComfyUI after installation
- API Key Issues: Verify key in config.ini or node settings
License
MIT
Languages
Python
100%