Support for 20+ AI generation categories including:
- Text to Image - Generate images from text prompts
- Image to Image - Transform and edit existing images
- Text to Video - Create videos from text descriptions
- Video to Video - Transform and enhance videos
- Text to Audio - Generate audio from text
- Image to 3D - Convert images to 3D models
- And more...
- Single Predictor Node - Access 1,000+ hosted AI models through one node; a new node starts on a default image model so you can queue right away
- Dynamic Parameters - Model-specific parameters auto-configure
- Fuzzy Search - Quickly find models by name or category
- Category Tabs - Browse models by type
- Smart Caching - Fast model loading after first use (first load: 5-10 seconds)
- Status While Waiting - The node shows the elapsed time while a task runs, and ComfyUI's Cancel stops the wait
- Price and Balance on the Node - The selected model's base price and your account balance are shown in the node header
- Native Outputs - IMAGE, VIDEO and AUDIO come straight out of the Predictor, next to the result URL
- Templates - Four ready workflows in ComfyUI's Templates panel (text to image, text to video, image edit, image to video)
- Workflow Support - Save and restore complete workflows
- Connection Flexibility - Connect any compatible input/output
- ComfyUI installed
- A WaveSpeedAI API key: create one at wavespeed.ai/accesskey
Open Manager → Custom Nodes Manager, search for WaveSpeed and install WaveSpeed AI - Universal Generation. Restart ComfyUI.
comfy node install wavespeed-comfyuiBoth ways install the Python requirements into ComfyUI's own environment.
cd ComfyUI/custom_nodes
git clone https://github.com/WaveSpeedAI/wavespeed-comfyui.gitThen install requirements.txt with the Python that runs ComfyUI (ComfyUI prints it at start as ** Python executable: ...), for example:
/path/to/ComfyUI/.venv/bin/python -m pip install -r wavespeed-comfyui/requirements.txtA plain pip install may target a different Python and leave the nodes missing. Restart ComfyUI afterwards.
- Create an API key at wavespeed.ai/accesskey
- In ComfyUI:
Settings→WaveSpeed→ paste it into WaveSpeed API Key. Predictor nodes already on the canvas load their models as soon as the key is saved. - Or create
config.jsonin the plugin directory:
{
"api_key": "your_api_key_here"
}⏱️ First load: with a key configured, the first load makes one model-catalog request and usually takes 5-10 seconds. After that the list is cached.
Open Templates in ComfyUI and pick one of the WaveSpeed workflows, or add a WaveSpeedAI Predictor node: it starts on a default image model, so type a prompt and queue. Connect WaveSpeedAI Preview to see the result and pass it on as IMAGE, VIDEO or AUDIO.
Prefer no node graph? The same models run from a prompt box in the image and video generators, and WaveSpeed Desktop chains them into visual workflows without a GPU.
📸 High-Quality Image Generation
Use Case: Generate professional-quality images from text descriptions
Models: Seedream, Nano Banana, GPT Image, FLUX, Qwen Image, etc.
Key Features:
- Multiple aspect ratios (1:1, 16:9, 9:16, etc.)
- Resolution control (512px - 2048px)
- Seed control for reproducibility
- Negative prompts support
Result:
🎬 Create Videos from Text
Use Case: Generate short videos from text prompts
Models: Kling v1.6, Minimax Video, Wan2.1, etc.
Key Features:
- Duration control (2-10 seconds)
- Resolution options (480p, 720p, 1080p)
- Camera movement control
- Audio generation option
Note: Video generation may take several minutes. The plugin has no overall wait limit: it keeps waiting until the task completes, fails or is cancelled.
Result:
case2.mp4
🎨 Transform and Edit Images
Use Case: Transform existing images with AI
Models: Flux Redux, Instant Character, Step1X Edit, etc.
Key Features:
- Style transfer
- Image editing with prompts
- Reference image support
- Strength control
Result:
🎬 Animate Static Images
Use Case: Bring static images to life with motion
Models: Stable Video Diffusion, I2VGen-XL, etc.
Key Features:
- Motion generation from single image
- Camera movement control
- Duration control
- Smooth animation
Result:
📹 Download Video | 📥 Download Workflow JSON
🎞️ Enhance and Transform Videos
Use Case: Upscale, stylize, or transform videos
Models: Seedance v1.5, Real-ESRGAN, etc.
Key Features:
- Video upscaling (2x, 4x)
- Style transformation
- Motion preservation
- Frame interpolation
Result:
📹 Download Video | 📥 Download Workflow JSON
🎵 Generate Audio from Text
Use Case: Generate music, sound effects, or voice from text
Models: Dia TTS, MMAudio V2, etc.
Key Features:
- Voice synthesis
- Music generation
- Sound effect creation
- Multiple voice options
Result:
🎲 Convert Images to 3D
Use Case: Generate 3D models from 2D images
Models: Hunyuan 3D V2, etc.
Key Features:
- Multi-view generation
- GLB format export
- Texture mapping
- Mesh optimization
Result:
📦 Download 3D Model (.glb) | 📥 Download Workflow JSON
🔗 Advanced ComfyUI Integration
Use Case: Demonstrate seamless integration with ComfyUI native nodes and complex multi-stage pipelines
Workflow Highlights:
- Multiple WaveSpeed Nodes - Chain multiple AI generation steps (T2I → I2I → I2V)
- Native Node Integration - Mix with ComfyUI's Load Image, Save Image, Preview Image nodes
- Flexible Data Flow - Pass IMAGE/VIDEO tensors between nodes seamlessly
- Real-world Pipeline - Text→Image → Image Enhancement → Image→Video
Pipeline Stages:
-
Stage 1: Text-to-Image (WaveSpeed Predictor #1)
- Generate base image from text prompt
- Model: Text-to-Image model (e.g., FLUX)
- Output: the result URL
- Connect WaveSpeedAI Preview to turn it into a ComfyUI IMAGE for native nodes
-
Stage 2: Image-to-Image Enhancement (WaveSpeed Predictor #2)
- Enhance and refine the generated image
- Model: Image-to-Image model (e.g., Flux Redux)
- Input: IMAGE tensor from Stage 1 (via native ComfyUI connection)
- Output: Enhanced IMAGE tensor
- Native Integration: Seamlessly receives IMAGE from previous WaveSpeed node
-
Stage 3: Image-to-Video Animation (WaveSpeed Predictor #3)
- Animate the enhanced image into video
- Model: Image-to-Video model (e.g., Stable Video Diffusion)
- Input: Enhanced IMAGE tensor from Stage 2
- Output: VIDEO URL
- Native Integration: Works with ComfyUI's video preview nodes
-
Stage 4: Preview & Save (Native ComfyUI Nodes)
- Use ComfyUI's Preview Image nodes to view intermediate results
- Use Save Image nodes to export final outputs
- All connections work exactly like native ComfyUI nodes
Key Integration Features:
✅ Tensor Compatibility
- WaveSpeed nodes accept ComfyUI IMAGE/VIDEO/AUDIO tensors directly
- No manual conversion needed - just connect and run
- Works with any image/video processing node in ComfyUI ecosystem
✅ Output Flexibility
- Outputs can connect to any compatible node
- Support for Preview Image, Save Image, Video Preview, etc.
- Chain multiple WaveSpeed nodes together seamlessly
✅ Workflow Persistence
- All connections saved in workflow JSON
- Model selections preserved across sessions
- Parameter values restored on load
- Full workflow portability
✅ Native ComfyUI Features
- Works with node groups and reroute nodes
- Compatible with workflow templates
- Supports ComfyUI's execution queue
- Full undo/redo support
- Drag-and-drop connections
Results:
Stage 1 & 2 Outputs (Text-to-Image → Image-to-Image):
![]() Stage 1: Generated Image |
![]() Stage 2: Enhanced Image |
Stage 3 Output (Image-to-Video):
case8.mp4
Input:
- Dynamic parameters - Auto-generated based on selected model
- Common parameters:
prompt,negative_prompt,seed,resolution, etc. - Media inputs:
image,video,audio(accepts ComfyUI IMAGE/VIDEO/AUDIO tensors or URLs) - All parameters can be set via UI widgets or connected from other nodes
- Common parameters:
Outputs:
output_url(ANY) - URL string or list of URLs:- Single output → URL string (e.g.,
"https://cdn.wavespeed.ai/image.png") - Multiple outputs → List of URLs (e.g.,
["url1", "url2"]) - 3D model tasks → List containing preview images + 3D model URL
- Single output → URL string (e.g.,
image(IMAGE),video(VIDEO),audio(AUDIO) - the same result as native ComfyUI data, so it connects straight to Preview Image, Save Video, Save Audio or any other node. Each is downloaded only when something is connected to it; a kind the result does not contain stays empty.
While a task runs, the node shows the elapsed time and the task id. ComfyUI's Cancel stops the wait; the task itself keeps running, and the WaveSpeedAI Result node brings its result back.
The header shows the selected model's base price and your account balance.
Input:
task_id(STRING) - the id shown on the Predictor node while it runs (also in the console and in your history on wavespeed.ai)
Outputs: the same four as the Predictor (output_url, image, video, audio).
Use it after cancelling a wait or closing ComfyUI: it waits for the task if it is still running and returns the result, without running (or paying for) the model again.
Input:
input_url(ANY) - Accepts URL string, list of URLs, or text content from WaveSpeed Predictor
Output:
image(IMAGE) - ComfyUI IMAGE tensor (if input is image URL)video(VIDEO) - ComfyUI VIDEO (if input is video URL)audio(AUDIO) - ComfyUI AUDIO (if input is audio URL)
Note: Automatically detects input type and converts URLs to tensors. For 3D model tasks, only displays preview without tensor conversion.
The plugin automatically generates input fields based on each model's schema. Parameters can be:
- Set via UI widgets (text fields, dropdowns, sliders)
- Connected from other nodes (images, videos, audio, numbers, text)
- Mixed (UI defaults + node connections)
For models that accept multiple inputs (e.g., multiple reference images):
Example: Multiple Reference Images
image_0 → First reference
image_1 → Second reference
image_2 → Third reference
The plugin automatically:
- Expands array parameters to individual inputs
- Limits to API-defined maxItems (typically 5)
- Merges back to array format for API submission
The plugin intelligently handles size parameters:
Enum Size (Dropdown):
- Models like Seedance provide fixed size options
- Example: "auto", "10241024", "10241536"
- UI shows dropdown selector
Range Size (Width/Height):
- Models like Flux allow custom dimensions
- UI shows separate width/height inputs
- Ratio buttons for quick selection (1:1, 16:9, 9:16, etc.)
- Each component can be connected independently
When you connect image/video/audio nodes, the plugin automatically:
- Detects the data type (image/video/audio)
- Converts to appropriate format (PNG/MP4/WAV)
- Uploads to WaveSpeed CDN
- Passes the URL to the API
Supported input types:
- ComfyUI IMAGE tensors
- ComfyUI VIDEO tensors
- ComfyUI AUDIO dicts
- VHS_AUDIO callables
- VideoFromFile objects
The plugin intelligently detects output types and returns the appropriate format:
- Images: URL or tensor (for further processing)
- Videos: URL (for preview or download)
- Audio: URL (for playback)
- 3D Models: URL with .glb/.obj format (for 3D viewer)
- Text: Plain text output
The nodes work unmodified with the Krita AI Diffusion
plugin through its custom graph workspace. See docs/krita.md for setup, and
examples/krita/ for two ready-made workflows (image edit, text to image).
Automatic Workflow Persistence:
- All node states saved in workflow JSON
- Model selections preserved
- Parameter values restored
- Input connections maintained
Q: How do I get an API key?
Sign in to WaveSpeedAI and create a key at wavespeed.ai/accesskey. You can sign up without a credit card, and eligible new accounts get $1 in free credits. Models are paid per run from your balance; each model page shows its price.
Q: Why is the first load slow?
The first load fetches the complete model list from WaveSpeed API (5-10 seconds). Subsequent loads use cached data and are much faster.
Q: Why can't I find a specific model?
- Check if you're in the correct category tab
- Use the fuzzy search feature
- Model might be temporarily unavailable
- Check WaveSpeed AI dashboard for model status
Q: How do I handle "Task timed out" errors?
The plugin does not impose an overall wait limit; "Task timed out" means the server reported the task as timed out. Try:
- Check your network connection
- Try a different model
- Reduce output resolution/duration
- Contact support if issue persists
Q: Can I use local LoRA files?
No, but you can:
- Upload LoRA to Hugging Face
- Use the public URL in the plugin
- Or use WaveSpeed's built-in LoRA library
Issue: "No API key configured"
- Solution: Configure your API key using Settings → WaveSpeed
- Verify key at WaveSpeed Dashboard
Issue: "Model list not loading"
- Solution: Check your internet connection and API key validity
- First load may take 5-10 seconds
- Check ComfyUI console for error messages
Issue: "Task timeout"
- Solution: The plugin waits as long as the task runs; a timeout status comes from the server
- Check network connection
- Try reducing output resolution/duration
Issue: "Upload failed"
- Solution: Check file size limits and format compatibility
- Ensure your API key has sufficient credits
Issue: "VideoFromFile is not JSON serializable"
- Solution: Update to latest version (v2.0+)
- This issue has been fixed in the new architecture
Issue: "Cannot find WaveSpeed nodes"
- Restart ComfyUI completely
- Check
custom_nodes/wavespeed-comfyuiexists - Check console for error messages
We welcome contributions! Here's how you can help:
- Use GitHub Issues
- Include workflow JSON
- Provide error messages
- Describe expected vs actual behavior
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit PR with clear description
- Fix typos
- Add examples
- Translate to other languages
- Create video tutorials
This project is licensed under the MIT License - see the LICENSE file for details.
Need help? We're here for you:
- 🌐 Official Website: wavespeed.ai - Live chat support available
- 💬 Discord: Join our community
- 📖 Documentation: WaveSpeed Docs
- 🐛 Bug Reports: GitHub Issues
Our support team is ready to assist you with any questions or issues.
- No OpenCV dependency any more (it often clashed with other node packs): video uses ComfyUI's own video classes
- Video results keep their real frame rate and their audio track (they were forced to 30 fps without sound)
- Switching model keeps the prompt you already wrote
- Example workflows updated to models that are in the catalog
- A new Predictor node starts on a default image model; four workflows ship in ComfyUI's Templates panel
- Without an API key the node says where to get one and where to paste it, and it loads its models as soon as the key is saved
- A key set through
config.jsonis no longer removed when ComfyUI loads with an empty setting - The model field sits above the category tabs, which no longer grow over it or over the first parameter
- A Predictor alone on the canvas can be queued; Preview adds an AUDIO output
- While a task runs the node shows the elapsed time and the task id, and Cancel stops the wait
- The Predictor outputs IMAGE, VIDEO and AUDIO directly, next to the URL (downloaded only when connected)
- New node WaveSpeedAI Result: get a task's result by its id, for example after a cancelled wait
- The node shows your account balance, updated after every run
- The selected model's base price is shown on the node; insufficient-credit and rejected-key errors say where to fix it
- Both nodes have a description and search aliases (search "seedance" or "text to video")
- Complete architecture redesign with unified Predictor node
- Support for 20+ model categories and 600+ models
- Dynamic parameter generation from model schemas
- Fuzzy search and category filtering
- Smart output detection and format conversion
- Automatic tensor upload and conversion
- Real-time progress tracking
- Support for long-running tasks (no overall wait limit)
- VideoFromFile support for video-to-video models
- Size component widget for resolution parameters
- Workflow save/restore functionality
- Array parameter expansion (images, loras, etc.)
- Object array support (bbox_condition, etc.)
Made with ❤️ by the WaveSpeed Team
WaveSpeed AI — AI image & video generation platform. Try it in the browser: Image generator · Video generator











