Nodes/ComfyUI Razv WaveSpeed Nodes/WaveSpeedAI Bytedance Seedream V4 Edit Sequential
ComfyUI Node

WaveSpeedAI Bytedance Seedream V4 Edit Sequential

One prompt, up to fifteen edited images — Seedream V4's batch mode

By razvanmatei-sf·Created 12 months ago·Updated 9 months ago· 0
WaveSpeedAI Bytedance Seedream V4 Edit Sequential
  • client
  • output_images
prompt
max_images2
size_preset2048x2048 (1:1)
seed0
enable_sync_modefalse
image_1
image_2
image_3
image_4
image_5
image_6
image_7
image_8
image_9
image_10

Storyboards, product variations, character sheets, "same scene, four moods" - that's what this node exists for. It's the edit-flavored sibling of the Seedream V4 Sequential node: instead of generating a series from nothing, it runs the Seedream V4 edit model to produce a batch of images from a description, optionally guided by reference images you supply. From the razvanmatei-sf/razv-wavespeed pack, and like everything in it, it's a paid call to the WaveSpeed AI API.

The honest pitch: if you've ever wanted a set of consistent variations in one shot, this beats generating one at a time - both in effort and in the model keeping the style locked across the batch. The fine print: it's per-image billing, so a 15-image batch is 15 billable generations.

How it works

You describe the whole series in a single prompt, set max_images, and the node POSTs to the Seedream V4 edit-sequential endpoint. The output comes back as output_images - a batched IMAGE tensor, so all of them land in one tensor and you can preview or save the batch with normal batch-aware nodes.

The prompt is doing real work here, and the tooltip is unusually specific about it: you have to specify the number of images in the prompt and use series language - phrases like "a series of" or "group of images" - and the max_images count must align with what you describe. If you say "a series of 4" but set max_images to 8, you're asking the model to reconcile a mismatch. Don't.

Reference images are optional and go up to ten of them (image_1 through image_10) - handy when you want the batch to follow a particular subject or composition rather than a purely text-defined one.

The inputs that matter

  • prompt - must name the count and the series ("a series of 6 product shots..."). This is the one that determines whether you get 6 good variations or 6 confused ones.
  • max_images - 1–15, default 2. Match it to the prompt.
  • size_preset - the same nine Seedream presets as the single-image node, up to 4096×4096.
  • seed - and yes, same quirk as its sibling: 0 means random for Seedream. Set a nonzero value to reproduce.

image_1image_10 are all optional references; enable_sync_mode defaults off.

Install

Shared pack:

cd ComfyUI/custom_nodes
git clone https://github.com/razvanmatei-sf/razv-wavespeed
# restart ComfyUI

Or ComfyUI Manager → search "razv-wavespeed" → Install. Add a WaveSpeed AI key via the WaveSpeedAI Client node, config.ini (copy from config.ini.tmp, [API] section), or a WAVESPEED_API_KEY env var.

Common issues

  • Count mismatch. The #1 failure mode: prompt says one number, max_images says another. The tooltip is warning you, not kidding.
  • Cost surprises. A big batch at a big preset is a real chunk of change. Watch the size_preset - 4096×4096 × 15 images adds up fast.
  • References are URLs, not tensors. There's no "Upload Image" node registered in the current build despite the tooltips, so paste publicly reachable URLs into image_1 etc.
  • Consistency isn't guaranteed across a large batch. Seedream holds a series together well, but past ~10 images expect drift; the references exist to keep you honest.
CategoryWaveSpeedAI

Inputs (16)

NameTypeDefaultDescription
clientWAVESPEED_AI_API_CLIENT
promptSTRINGDescription of the image editing/generation task. Specify the number of images to generate and use phrases like 'a series of' or 'group of images' for consistency.
max_imagesINT21–15Number of images to generate. Must align with prompt description.
size_presetCOMBO2048x2048 (1:1)Resolution preset for the generated images
seedINT00–18446744073709550000Random seed for reproducible results
enable_sync_modeBOOLEANfalseWait for generation to complete before returning
image_1optSTRINGFirst input image URL (connect from Upload Image node)
image_2optSTRINGSecond input image URL (connect from Upload Image node)
image_3optSTRINGThird input image URL (connect from Upload Image node)
image_4optSTRINGFourth input image URL (connect from Upload Image node)
image_5optSTRINGFifth input image URL (connect from Upload Image node)
image_6optSTRINGSixth input image URL (connect from Upload Image node)
image_7optSTRINGSeventh input image URL (connect from Upload Image node)
image_8optSTRINGEighth input image URL (connect from Upload Image node)
image_9optSTRINGNinth input image URL (connect from Upload Image node)
image_10optSTRINGTenth input image URL (connect from Upload Image node)

Outputs (1)

NameTypeDescription
output_imagesIMAGE