ComfyUI Integration

ComfyUI Integration

Run WaveSpeedAI’s hosted models inside ComfyUI with the wavespeed-comfyui node pack: Seedance, Kling, Veo, Wan, Nano Banana, GPT Image, Seedream and the rest of the catalog, for image, video, audio and 3D. One node runs any model, and you pay per run from your WaveSpeedAI balance.

Prefer not to build a node graph? The same models run from a prompt box in the image and video generators, and WaveSpeed Desktop chains them into visual workflows.

Installation

  1. Open Manager → Custom Nodes Manager
  2. Search for WaveSpeed and install WaveSpeed AI - Universal Generation
  3. Restart ComfyUI

comfy-cli

comfy node install wavespeed-comfyui

Manual installation

cd ComfyUI/custom_nodes
git clone https://github.com/WaveSpeedAI/wavespeed-comfyui.git

Install requirements.txt with the Python that runs ComfyUI (ComfyUI prints it at start as ** Python executable: ...), then restart ComfyUI:

/path/to/ComfyUI/.venv/bin/python -m pip install -r wavespeed-comfyui/requirements.txt

Setup

  1. Create an API key
  2. In ComfyUI open Settings → WaveSpeed and paste it into WaveSpeed API Key

Predictor nodes already on the canvas load their models as soon as the key is saved. You can also set the key in the WAVESPEED_API_KEY environment variable, or in a config.json file in the node pack’s folder:

{
  "api_key": "your_api_key_here"
}

First run

Open Templates in ComfyUI and pick one of the WaveSpeed workflows (text to image, text to video, image edit, image to video), or add a WaveSpeedAI Predictor node: it starts on a default image model, so type a prompt and queue.

Nodes

NodeWhat it does
WaveSpeedAI PredictorRuns any hosted model. Pick a model and its inputs appear on the node; image, video and audio inputs accept ComfyUI data or URLs
WaveSpeedAI PreviewShows a result (image, video, audio, 3D or text) and outputs it as IMAGE, VIDEO or AUDIO
WaveSpeedAI Result (by task id)Gets the result of a task by its id, for example after a cancelled wait, without running the model again

Predictor outputs

  • output_url: the result URL, or a list of URLs when a model returns several files
  • image, video, 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

While a task runs

The node shows the elapsed time and the task id. ComfyUI’s Cancel stops the wait, but the task keeps running and is still billed. To get its result afterwards, add WaveSpeedAI Result (by task id) and enter the id.

The node header shows the selected model’s base price and your account balance. Options such as resolution and duration change the final price; each model page lists them.

Models

The node lists the live catalog, so new models appear without updating the node pack. Browse them by category on the node or search by name, for example seedance, kling or nano banana.

Troubleshooting

ProblemWhat to do
The node says to add an API keyCreate a key at wavespeed.ai/accesskey and paste it in Settings → WaveSpeed
”WaveSpeed rejected the API key”Check the key on the API Keys page and save it again
”Insufficient credits”Add credits at wavespeed.ai/top-up
The WaveSpeed nodes are missing after a manual installThe requirements went into a different Python. Install them with the Python that runs ComfyUI