Powerful n8n nodes for WaveSpeed AI platform - Build multimodal AI workflows including text-to-image, image-to-video, text-to-audio, digital humans, and more.
- Features
- Installation
- Configuration
- Example Workflows
- Node Configuration
- Additional Resources
- Version History
- License
- Support
- Contributing
Universal AI task execution node with dynamic model selection and intelligent parameter rendering.
Key Features:
- Multiple AI model categories with extensive model library
- Dynamic parameter loading based on selected model
- Fuzzy search support for easy model filtering
- Resource mapper for intuitive parameter configuration
- Automatic task completion with configurable polling
- Built-in retry mechanism for network errors
π‘ Tip: Model list loading speed depends on your network. If experiencing slow loading, try switching to a different network or proxy.
Supported Categories:
- Text to Image, Text to Video, Text to Audio
- Image to Image, Image to Video, Image to 3D, Image to Text
- Video to Video, Audio to Video
- Video Effects, Image Effects, Image Tools
- And more...
Upload local media files to WaveSpeed platform for use in AI workflows.
Key Features:
- Support for images, videos, and audio files
- Auto-detection of media type
- Binary data input from n8n workflows
- URL-based file download and upload
- Configurable file size and duration limits
Supported Formats:
- Images: JPG, PNG, WebP, GIF, BMP, TIFF
- Videos: MP4, AVI, MOV, WMV, FLV, WebM, MKV
- Audio: MP3, WAV, OGG, AAC, FLAC, M4A
Configure LoRA (Low-Rank Adaptation) models to apply custom styles to image generation.
Key Features:
- Multiple LoRA models in a single node
- Adjustable scale/strength for each LoRA (0.0 - 2.0)
- Support for URL and HuggingFace model paths
- Easy integration with WaveSpeed Predictor
Step 1: Access n8n Settings
- Open your n8n instance in a web browser
- Click on your profile icon in the bottom left corner
- Select "Settings" from the menu
Step 2: Navigate to Community Nodes
- In the Settings sidebar, click on "Community nodes"
- You'll see a list of installed community nodes (if any)
Step 3: Install WaveSpeed Nodes
- Click the "Install" button in the top right
- In the popup dialog, enter the package name:
n8n-nodes-wavespeed - Click "Install" to confirm
- Wait for the installation to complete (this may take 1-2 minutes)
- You'll see a success message when installation is done
Step 4: Verify Installation
- Close the settings panel
- Click the "+" button to add a new node to your workflow
- In the search box, type "wavespeed"
- You should see three nodes:
- WaveSpeed Predictor
- WaveSpeed Upload
- WaveSpeed Loras
Troubleshooting:
- If nodes don't appear, try refreshing your browser (F5 or Ctrl+R)
- If installation fails, check your n8n version (requires n8n v1.0.0 or higher)
- Ensure your n8n instance has internet access to download packages
Prerequisites:
- Node.js installed (v18 or higher)
- npm or yarn package manager
- Access to your n8n installation directory
Installation Steps:
-
Navigate to your n8n directory:
cd ~/.n8n
-
Install the package:
npm install n8n-nodes-wavespeed
-
Restart n8n:
# If running as a service sudo systemctl restart n8n # If running manually # Stop n8n (Ctrl+C) and start again n8n start
-
Verify installation:
- Open n8n in your browser
- Search for "wavespeed" in the node panel
- Confirm all three nodes appear
If you're running n8n in Docker, add the package to your docker-compose.yml or Dockerfile:
docker-compose.yml:
version: '3.8'
services:
n8n:
image: n8nio/n8n
environment:
- N8N_COMMUNITY_PACKAGES=n8n-nodes-wavespeed
ports:
- "5678:5678"
volumes:
- ~/.n8n:/home/node/.n8nThen restart your container:
docker-compose down
docker-compose up -dCreate an Account:
- Visit WaveSpeed AI Dashboard
- Click "Sign Up" if you don't have an account
- Complete the registration process
- Verify your email address
Generate API Key:
- Log in to your WaveSpeed dashboard
- Navigate to "API Keys" section in the sidebar
- Click "Create New API Key" button
- Give your key a descriptive name (e.g., "n8n Integration")
- Click "Generate"
- Important: Copy the API key immediately - it won't be shown again
- Store it securely (you'll need it in the next step)
Add WaveSpeed Credential:
- In n8n, click on "Credentials" in the left sidebar
- Click the "Add Credential" button (top right)
- In the search box, type "WaveSpeed"
- Click on "WaveSpeed API" from the results
Enter Your API Key:
- In the credential form, you'll see an "API Key" field
- Paste the API key you copied from WaveSpeed dashboard
- Optionally, give this credential a custom name (e.g., "My WaveSpeed Account")
- Click "Save" button
Test Your Credential:
- Create a new workflow
- Add a "WaveSpeed Predictor" node
- Click on the "Credential to connect with" dropdown
- Select your newly created WaveSpeed credential
- If configured correctly, you should be able to select model categories
Troubleshooting:
- If you see "Invalid API Key" error, double-check you copied the entire key
- Ensure there are no extra spaces before or after the key
- Verify your API key hasn't been revoked in the WaveSpeed dashboard
- Check your WaveSpeed account has sufficient credits
We provide three ready-to-use example workflows in the example/ folder. Import them into n8n to get started quickly.
Files:
example/1-local-file-upload/1.1 - Read From Disk.jsonexample/1-local-file-upload/1.2 - Form Upload.json
Two workflows demonstrating different methods to upload local media files to WaveSpeed platform.
1.1 - Read From Disk Workflow:
Start β Read/Write Files from Disk β WaveSpeed Upload β Output
What it does:
- Read the binary file from your local disk
- Upload to WaveSpeed platform with auto-detection
- Return media URL and metadata for use in other workflows
1.2 - Form Upload Workflow:
n8n Form Trigger β WaveSpeed Upload β Output
What it does:
- Create a web form for file uploads
- Users upload files through the browser
- Automatically upload to WaveSpeed platform
- Return media URL and metadata
How to use (1.1 - Read From Disk):
β οΈ Important: n8n File Access RestrictionsBy default, n8n only allows reading files from specific directories for security reasons. To upload local files:
Create the allowed directory:
- Windows:
C:\Users\YourName\.n8n-files\- Mac/Linux:
~/.n8n-files/Place your files in this directory:
- Example:
C:\Users\YourName\.n8n-files\sample.jpgUse the correct path in the Config node:
- Windows:
C:\Users\YourName\.n8n-files\sample.jpg- Mac/Linux:
~/.n8n-files/sample.jpgFiles outside this directory will result in "not allowed" errors.
Steps:
- Import
1.1 - Read From Disk.jsoninto n8n - Create the
.n8n-filesdirectory in your user folder - Copy your media file (image/video/audio) into
.n8n-files - Open the "Read/Write Files from Disk" node
- Update the file path with the full path to your file
- Click "Execute Workflow"
- Check the Output node for the uploaded media URL
How to use (1.2 - Form Upload):
- Import
1.2 - Form Upload.jsoninto n8n - Activate the workflow
- Click on the form URL in the "n8n Form Trigger" node
- Upload your file through the web form
- Submit the form
- Check the workflow execution for the uploaded media URL
File: example/2-scene-character-composition/2 - Scene Character Composition.json
An advanced workflow that generates two separate images (scene and character) and composites them together.
Workflow Steps:
Start β Config β [Generate Scene + Generate Character] β Merge β Compose Image β Output
What it does:
- Define prompts for scene (jungle pond) and character (young boy) in Config node
- Generate both images in parallel using text-to-image models
- Wait for both generations to complete using Merge node
- Composite character into scene using image-to-image model
- Output final composed image with all intermediate results
How to use:
- Import
2 - Scene Character Composition.jsoninto n8n - Open the "Config" node
- Customize
scene_promptandcharacter_promptif desired - Click "Execute Workflow"
- Wait for completion (may take 1-2 minutes)
- Check Output node for the final composed image
Result: A young boy standing in a serene jungle pond with natural lighting and realistic integration.
Use case: Create complex composite images by generating and merging multiple elements in parallel.
File: example/3-lora-style-generation/3 - LoRA Style Generation.json
Demonstrates how to apply custom artistic styles using LoRA models.
Workflow Steps:
Start β Config β WaveSpeed Loras β Generate with LoRA β Output
What it does:
- Configure generation prompt and LoRA model paths in Config node
- Set up multiple LoRA models with custom scales in WaveSpeed Loras node
- Generate styled image with LoRA effects applied
- Output generated image with metadata and timing information
How to use:
- Import
3 - LoRA Style Generation.jsoninto n8n - Open the "Config" node
- Update
promptwith your desired image description - Update
lora_path_1andlora_path_2with valid LoRA model URLs - Adjust
lora_scale_1andlora_scale_2(0.0 - 2.0) for effect strength - Click "Execute Workflow"
- Check Output node for the styled image
LoRA Configuration Example:
- LoRA 1: Anime style (scale: 0.8)
- LoRA 2: Watercolor effect (scale: 0.6)
Use case: Apply custom artistic styles to your AI-generated images using pre-trained LoRA models.
- Download the example JSON file from the
example/folder - In n8n, click "Workflows" in the left sidebar
- Click "Import from File" button
- Select the downloaded JSON file
- The workflow will open in the editor
- Configure your WaveSpeed API credential
- Update any necessary parameters
- Click "Execute Workflow" to test
Required Parameters:
- Model Category - Select from available AI model categories
- Model - Choose specific model (supports fuzzy search)
- Parameters - Model-specific parameters (auto-loaded)
Optional Parameters:
- Max Wait Time - Maximum time to wait for completion (default: 5 minutes)
- Poll Interval - How often to check status (default: 5 seconds)
- Max Retries - Retry attempts for network errors (default: 20)
Note: Required parameters are shown by default. Optional parameters can be added from dropdown and are validated based on model schema.
Input Type:
- File (default) - Use binary data from previous nodes
- URL - Download from URL and upload
Configuration:
- Binary Property - Default is
data, specify the property name containing binary data - Filename - Custom filename for uploaded file
- Tags - Comma-separated tags
- Max Duration - Maximum duration for audio/video (default: 600s)
- Max File Size - Maximum file size in MB (default: 500MB)
- Sample Rate - Target sample rate for audio (default: 44100Hz)
- Media Type - Auto-detect or specify: audio/image/video
Configuration:
- Path - URL to LoRA file or HuggingFace model identifier
- Scale - Strength of LoRA effect (0.0 - 2.0)
Note: Add multiple LoRA configurations, each with independent path and scale. They are applied in order during generation.
- WaveSpeed API Documentation - Complete API reference and guides
- n8n Documentation - Learn about n8n workflows and nodes
- n8n Community Forum - Get help from the community
All example workflows are available in the example/ folder:
- 1-local-file-upload/
- 1.1 - Read From Disk.json - Upload files from local disk
- 1.2 - Form Upload.json - Upload files via web form
- 2-scene-character-composition/
- 2 - Scene Character Composition.json - Advanced image composition
- 3-lora-style-generation/
- 3 - LoRA Style Generation.json - LoRA styling techniques
-
v1.1.0 (Current)
- Renamed nodes for clarity: Upload, Predictor, Loras
- Simplified architecture and improved performance
- Enhanced parameter handling and validation
- Better error messages and troubleshooting
- Updated example workflows
- Comprehensive documentation
-
v1.0.3
- Removed caching mechanism
- Always wait for task completion
- Improved error handling
-
v1.0.1
- Enhanced polling mechanism
- Signal handling improvements
-
v1.0.0
- Initial release
- Core functionality
MIT License - see the LICENSE file for details.
Need help? We're here for you:
- Email: support@wavespeed.ai
- Documentation: wavespeed.ai/docs
- GitHub Issues: github.com/WaveSpeedAI/wavespeed-n8n
- n8n Community: community.n8n.io
We welcome contributions! Please feel free to submit issues and pull requests.
Made with β€οΈ by WaveSpeed AI