N8N Integration

N8N Integration

n8n community node for WaveSpeedAI. Generate images and videos, or run any model on the WaveSpeed catalog, from an n8n workflow without writing HTTP requests.

Installation

  1. In n8n, open Settings -> Community Nodes
  2. Click Install and enter @wavespeed/n8n-nodes-wavespeed
  3. Search for “WaveSpeed” in the node picker

Requires n8n 1.x and Node.js 20 or newer.

Setup

  1. Get your API key
  2. In n8n, add credentials of type WaveSpeed API
  3. Paste your API key and save

The credential test calls GET /api/v3/balance, so a green check also confirms the key has API access.

Operations

The WaveSpeed node submits a prediction and waits for the result. Each item’s output contains urls, outputs, id, model and timings.

OperationPurpose
Generate ImageImage from a text prompt. Default model bytedance/seedream-v5.0-pro; optional resolution, aspect ratio and extra inputs as JSON
Generate VideoVideo from a text prompt. Optional duration and extra inputs as JSON
Run ModelRun any model on wavespeed.ai/models with its model ID and the full request body as JSON — image-to-image, image-to-video, LoRA, upscaling, lipsync and more

Shared options:

  • Download Output — attach the generated files as n8n binary data (data, data_1, …) for the next node
  • Poll Interval (Seconds) — how often to check progress
  • Timeout (Seconds) — 0 waits until the task finishes; a positive value fails the node after that long while the prediction keeps running server-side

Transient poll failures (network errors, HTTP 429 and 5xx) are retried automatically.

Warning: Leave n8n’s Settings -> Retry On Fail switched off for generation operations. n8n retries by re-running the whole node, which submits a new, separately billed prediction. Use Continue On Fail if you need the task ID of a failed item.

Example Workflows

Prompt to image:

Manual Trigger -> WaveSpeed (Generate Image) -> Use Result

Run any model with your own inputs:

Set (build JSON body) -> WaveSpeed (Run Model) -> Use Result

Troubleshooting

ProblemSolution
Invalid API keyRecreate the key and update credentials
Parameter errorsCheck the model’s input schema on its model page and pass the fields in Additional Inputs or the Run Model body
Node times outSet Timeout to 0 or a longer value; the prediction keeps running and the error names the task ID
Charged twice for one itemTurn off Retry On Fail (see above)
© 2026 WaveSpeedAI. All rights reserved.