VNCCS Background Creator
The location editor, not the generator
- image
- Prompt
What it is
A visual novel doesn't have characters floating in a void - they stand in a café, a rainy street, a classroom. VNCCS Background Creator is where a location gets born and stored: you name it, pick interior or exterior, pick a style, describe the scene (front, back, left, right, if you're being thorough), and generate a source image. Uploads are welcome too. Then you define variants - morning, evening, night are preloaded - so the same café can be the same café at three times of day.
It's a browser-driven node. The whole editor is a web widget; the node itself is a thin seed + background_data shell around it. That's a pattern you'll see a few times in this pack: the node is the execution hook, the widget is the app.
Worth knowing where the line is: this node makes the source background. The variants get generated by VNCCS Background Generator, which takes this node's output and does the SeedVR2 upscale-plus-variant-batch work. Two nodes, one job, split because the second half is the expensive bit.
How it works
background_data is a JSON document identifying a background: schema_version, background_id, selected_image_id, plus the editor state (style, scene type, resolution, aspect ratio, the variant cards with their time/weather/additional details). The node parses it, loads the background document from disk - ComfyUI/output/VNCCS/Backgrounds/ - and decides what RUN means:
- if the stored preview still matches the current editor settings (the cache key), it reuses it and skips inference entirely;
- if the settings have changed and made the preview stale, it generates a fresh one;
- if the selected image is an upload, it just passes it through untouched.
That IS_CHANGED logic is why the node feels instant sometimes and slow other times. It isn't being flaky. It's comparing a hash of your editor settings plus the model file signature and refusing to regenerate an image you already have.
Generation runs on the model you picked in VNCCS Control Center - Qwen Image 2.1 is what the README points you at, with Moss as the alternative that needs its files installed locally first (the widget names what's missing). The Background wizard reuses ComfyUI's text generation; on first run it may download a Qwen3.5 text-encoder file into ComfyUI's text encoders, so give it a minute.
Inputs and outputs
Two required inputs, and only one of them is interesting:
seed(INT, 0–2147483647, default 0) - the generation seed. The editor also has its own seed mode; when it's set to randomize, this is where the resolved value lands.background_data(STRING, multiline) - the editor state. Set by the widget. The default{"schema_version":2,"background_id":"","selected_image_id":""}is an empty selection and will error with "Select or create a background before RUN" - which is exactly what you'll see if you queue the workflow before touching the widget. The author's note says the quiet part: settings remain in the selected background's JSON, not in this field.
Outputs:
image(IMAGE) - the selected background image, single image. This goes intoVNCCS Background Generator'sbackgroundinput.Prompt(STRING, list) - one JSON entry per variant card, each carrying the variant'stime,weather,additional_details, the owningbackground_idandsource_image_id, and a composed prompt string of the shape "Change time of the day to evening, weather to rain. … Preserve the scene, viewpoint, framing, composition, architecture and objects."
That Prompt list is the whole point of the node's output contract: it's a per-variant instruction set, already phrased to preserve the location while changing the light. Feed it straight into the generator and you get consistency between the morning café and the night café, which is the difference between a usable background set and three unrelated pictures.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/AHEKOT/ComfyUI_VNCCS.git vnccs
cd vnccs
python -m pip install -r requirements.txt
Restart, then open VNCCS_3.4_Step4_BackgroundCreator.json from workflows/. Model files: let Control Center pull Qwen Image 2.1 for you; if you want Moss instead, install its files manually - the widget shows what's missing. VNCCS-Utils is needed elsewhere in the suite (Pose Manager, CG Creator) and worth installing at the same time so you only restart once.
Where people get burned
RUN does nothing but also burns time - stale-preview logic, see above. If you can't tell what happened, watch the job's stage message rather than the node output; a reused preview is a successful run.
Read-only backgrounds. If the pack had to recover a background's metadata from a backup, or you archived it, the document is marked and refuses to generate - "The selected background is read-only; its data is preserved" or "Background is archived". That's deliberate: the files on disk didn't match the JSON and it would rather stop than overwrite. Don't rename or tidy files inside output/VNCCS/Backgrounds/ mid-project; the JSON and the images reference each other by ID.
Concurrent jobs are blocked, correctly. If you press RUN twice, the second one waits or errors with "This background is busy" - the pack serialises background jobs so two halves can't write the same document. Let the first finish.
Variants that don't match. The generator validates that every prompt entry belongs to the same background and source image. If you mix entries - hand-edited JSON, or an old cached workflow - it fails with "Every variant must belong to the same background and source image", which is the system protecting you from a mismatched set rather than a bug to work around.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| seed | INT | 00–2147483647 | — |
| background_data | STRING | {"schema_version":2,"background_id":"","selected_image_id":""} | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| Prompt | STRING | — |