Nodes/VNCCS - Visual Novel Character Creation Suite/VNCCS Additional Poses Generator
ComfyUI Node

VNCCS Additional Poses Generator

Add two poses without re-rendering forty sprites

By AHEKOT·Created about a year ago·Updated 2 days ago· 1,817
VNCCS Additional Poses Generator
  • poses
  • character
  • pipe
  • sheet
  • faces
  • pose_generation
  • upscaled
◄prompt►
◄background—►
◄widget_data{"common": {"target_size": 1024}, "upscaler": {"mode": "seedvr", "model": "seedvr2_3b_fp8_e4m3fn.safetensors", "vae": "ema_vae_fp16.safetensors", "device": "cuda:0", "offload_device": "cpu", "seed": 42, "inherit_pipe_seed": true, "resolution": 2048, "max_resolution": 3840, "batch_size": 1, "uniform_batch_size": false, "color_correction": "lab", "temporal_overlap": 0, "prepend_frames": 0, "input_noise_scale": 0, "latent_noise_scale": 0, "blocks_to_swap": 0, "swap_io_components": false, "cache_dit": true, "attention_mode": "sageattn_2", "attention_mode_manual": false, "encode_tiled": true, "encode_tile_size": 1024, "encode_tile_overlap": 128, "decode_tiled": true, "decode_tile_size": 1024, "decode_tile_overlap": 128, "tile_debug": "false", "cache_vae": false, "enable_debug": false}, "bg_remove": {"preset": "balanced", "use_sam3_details_recovery": false, "use_preset_values": true, "tolerance": 0.15, "softness": 0.12, "despill_strength": 0.65, "edge_width": 3, "matte_cleanup": 0.1, "foreground_recover": 0.35, "edge_decontaminate": 0.75, "edge_choke": 0.08, "matte_method": "screen_matte", "screen_mode": "from_background", "output_mode": "straight_rgba", "sam3_model": "", "sam3_segmentor": "image", "sam3_device": "auto", "sam3_precision": "bf16", "sam3_prompt": "face, clothes, accessories, hat, boots, eyes", "sam3_threshold": 0.4, "sam3_add_background": "none", "sam3_detection_limit": -1, "sam3_erode_radius": 4, "sam3_min_foreground_overlap": 0.55}, "pose_generation": {"target_size": 1024, "override_resolution": false, "resolution": 1024, "upscale_method": "lanczos", "crop_method": "disabled", "image1_name": "image 1", "image2_name": "image 2", "image3_name": "image 3", "weight1": 1.0, "weight2": 1.0, "weight3": 1.0, "vl_size": 384, "background_color": "from_generator", "latent_image_index": 1, "instruction": "Describe the character and their key features (body shape, physical characteristics, clothing, items, accessories). Then explain how the user's text instruction should alter or modify the character. Generate a new image that meets the user's requirements while maintaining consistency with the original character where appropriate."}, "pose_sampler": {"inherit_pipe": true, "seed": 0, "steps": 20, "cfg": 1.0, "sampler_name": "euler", "scheduler": "simple", "denoise": 1.0}, "vae_decode": {"tile_size": 512, "overlap": 64, "temporal_size": 64, "temporal_overlap": 8}, "emotion_generation": {"task_batch_size": 0, "target_size": 2048, "face_denoise": 0.55, "use_sam": false, "bbox_model": "bbox/face_yolov8m.pt", "segm_model": "bbox/face_yolov8m.pt", "sam_model": "sam_vit_b_01ec64.pth", "sam_device_mode": "AUTO", "guide_size": 1536, "guide_size_for": true, "max_size": 1536, "inherit_pipe_sampler": true, "sampler_name": "euler", "scheduler": "simple", "feather": 50, "noise_mask": true, "force_inpaint": true, "bbox_threshold": 0.5, "bbox_dilation": 50, "qi2_prompt_template": "Upscale face image.\nMake character's face emotion {emotion}\nChange only face. Keep original neck colour, clothes and hairs\nkeep character's clothes", "bbox_crop_factor": 3.0, "sam_detection_hint": "center-1", "sam_dilation": 0, "sam_threshold": 0.93, "sam_bbox_expansion": 0, "sam_mask_hint_threshold": 0.7, "sam_mask_hint_use_negative": "False", "drop_size": 10, "cycle": 1, "inpaint_model": false, "noise_mask_feather": 20, "tiled_encode": true, "tiled_decode": true, "matte_expand_radius": 8, "matte_feather_radius": 4, "chroma_context": 16}, "remove_clothes": {"prompt": "Dress character: White underwear", "target_size": 1024, "upscale_method": "lanczos", "crop_method": "disabled", "image1_name": "image 1", "image2_name": "image 2", "image3_name": "image 3", "weight1": 1.0, "weight2": 1.0, "weight3": 1.0, "vl_size": 384, "background_color": "White", "latent_image_index": 1, "instruction": "Describe the character and their key features (body shape, physical characteristics, clothing, items, accessories). Then explain how the user's text instruction should alter or modify the character. Generate a new image that meets the user's requirements while maintaining consistency with the original character where appropriate."}, "remove_clothes_sampler": {"inherit_pipe": true, "seed": 0, "steps": 20, "cfg": 1.0, "sampler_name": "euler", "scheduler": "simple", "denoise": 1.0}}►
◄sheets_path►

What it's for

You built a character sprite set. Eight poses, neutral expression, chroma-keyed and sitting in output/VNCCS/Characters/<name>/Sprites/<costume>/Neutral/. Then the script you're writing needs a wave. And a character sitting on a chair. And, hell, a shrug.

Rerunning Step 1 regenerates everything and gives you eight subtly different characters - the classic identity-drift problem with whole-frame editing. VNCCS Additional Poses Generator does the obvious right thing instead: it takes the existing sprites as context and appends only the new poses to the set, numbered on from what's already there, leaving the existing files untouched.

That's the pitch, and it's the pack's answer to iteration.

How it works

Mechanically this node is the pack's main character generator with a different save strategy bolted on - it literally subclasses it. So the pipeline is the familiar one: the pose mannequin renders become generation guidance, your reference sprite (from the character input, i.e. VNCCS Additional Poses's output) keeps the identity anchored through an edit model, the result is upscaled (SeedVR2 by default, and you can set mode to off in the widget data to skip it), then chroma-keyed against the background colour with a screen-matte approach and optionally tightened up with SAM3 detail recovery for eyes and accessories that happen to share the backdrop's colour.

The difference is at the end. Where the main generator versions and archives your whole sprite set, this one scans the destination for the highest existing sprite_pose_NNNN index and writes forward from there, inside a staged folder so a failed write doesn't leave a half-saved set behind. The author switched off the "archive original sprites" behaviour for this node, which is the tell that it genuinely only adds.

The inputs that matter

Seven required inputs, and you'll only touch a couple of them by hand:

  • poses (IMAGE) - the rendered pose guides from VNCCS Pose Manager's images output. This is the list of new poses you want.
  • character (IMAGE) - the reference sprite. Come from VNCCS Additional Poses → character.
  • pipe (VNCCS_PIPE) - the model bundle from VNCCS Control Center. This is where the actual editing model (Qwen Image 2.1, Flux Klein9b or MiniMax H3, depending on what you downloaded) comes from.
  • prompt (STRING) - text guidance for the generation.
  • background (STRING, forceInput) - the chroma colour. Come from VNCCS Additional Poses → background. It rewrites the pose generation to key from that backdrop; if the string is alpha or transparent and you're on a Qwen Image 2.1 pipe, it switches the removal preset to native transparency instead of colour keying.
  • sheets_path (STRING) - the folder to append into. Come from VNCCS Additional Poses → sheets_path, and only from there.
  • widget_data - a fat JSON blob holding the upscaler, background-removal, pose-generation and sampler settings. Leave it alone unless you're chasing something specific.

Four outputs: sheet (the finished sprites), faces (face crops, handy for checking the expression landed), pose_generation (raw generation before upscale and key), and upscaled (post-SeedVR2). The node writes the sprites into your character folder itself, so wire sheet to a preview for inspection rather than to a save node.

Install

Same pack, same install:

cd ComfyUI/custom_nodes
git clone https://github.com/AHEKOT/ComfyUI_VNCCS.git vnccs
cd vnccs
python -m pip install -r requirements.txt

Then restart. Open the bundled VNCCS_3.4_AdditionalPoses.json rather than building the graph by hand - it wires all six inputs correctly, including the Pose Manager. You'll need VNCCS-Utils enabled for the pose node, and whatever checkpoint or edit model you'll use downloaded through Control Center. SeedVR2 weights come via Control Center too; if you skipped them, set the upscaler mode to off in widget_data and save yourself the headache.

Where people get burned

  • Queue Additional Poses Generator to add new poses. This is the node guarding itself. If the widget_data still carries a "regenerate index" or "regenerate from" instruction from the parent generator, it refuses - regenerating an existing sprite is a different job than appending new ones. Clear the regenerate setting in the widget.
  • No saved configuration / no sprites errors come from the upstream VNCCS Additional Poses selection and are covered on that node's page. Short version: the character must have been created properly, and the emotion set must already exist.
  • Everything comes out on a green fringe. Your background string and the character's stored background colour have drifted apart, or the chroma preset in widget_data is too aggressive. The balanced preset is a sane default; lighten it if it's eating dark hair, and turn on use_sam3_details_recovery if you're losing eye colour or white clothing instead.
  • Numbers jump. New sprites are numbered from the highest existing index, so if you deleted sprites 5–8 previously, the next batch starts at 9. Nothing's broken; the filenames just look gappy in the folder. Keep the numbering - the pack's index expects it.

The one thing to be realistic about: appending poses is still generation, so identity holds best when you feed it a sprite from the same costume and expression you're extending, and worst when you ask for a wildly different body angle. That's the same drift the whole VNCCS pipeline exists to manage, and additional poses inherits both the benefit and the limits.

CategoryVNCCS

Inputs (7)

NameTypeDefaultDescription
posesIMAGE—
characterIMAGE—
pipeVNCCS_PIPE—
promptSTRING—
backgroundSTRING—
widget_dataSTRING{"common": {"target_size": 1024}, "upscaler": {"mode": "seedvr", "model": "seedvr2_3b_fp8_e4m3fn.safetensors", "vae": "ema_vae_fp16.safetensors", "device": "cuda:0", "offload_device": "cpu", "seed": 42, "inherit_pipe_seed": true, "resolution": 2048, "max_resolution": 3840, "batch_size": 1, "uniform_batch_size": false, "color_correction": "lab", "temporal_overlap": 0, "prepend_frames": 0, "input_noise_scale": 0, "latent_noise_scale": 0, "blocks_to_swap": 0, "swap_io_components": false, "cache_dit": true, "attention_mode": "sageattn_2", "attention_mode_manual": false, "encode_tiled": true, "encode_tile_size": 1024, "encode_tile_overlap": 128, "decode_tiled": true, "decode_tile_size": 1024, "decode_tile_overlap": 128, "tile_debug": "false", "cache_vae": false, "enable_debug": false}, "bg_remove": {"preset": "balanced", "use_sam3_details_recovery": false, "use_preset_values": true, "tolerance": 0.15, "softness": 0.12, "despill_strength": 0.65, "edge_width": 3, "matte_cleanup": 0.1, "foreground_recover": 0.35, "edge_decontaminate": 0.75, "edge_choke": 0.08, "matte_method": "screen_matte", "screen_mode": "from_background", "output_mode": "straight_rgba", "sam3_model": "", "sam3_segmentor": "image", "sam3_device": "auto", "sam3_precision": "bf16", "sam3_prompt": "face, clothes, accessories, hat, boots, eyes", "sam3_threshold": 0.4, "sam3_add_background": "none", "sam3_detection_limit": -1, "sam3_erode_radius": 4, "sam3_min_foreground_overlap": 0.55}, "pose_generation": {"target_size": 1024, "override_resolution": false, "resolution": 1024, "upscale_method": "lanczos", "crop_method": "disabled", "image1_name": "image 1", "image2_name": "image 2", "image3_name": "image 3", "weight1": 1.0, "weight2": 1.0, "weight3": 1.0, "vl_size": 384, "background_color": "from_generator", "latent_image_index": 1, "instruction": "Describe the character and their key features (body shape, physical characteristics, clothing, items, accessories). Then explain how the user's text instruction should alter or modify the character. Generate a new image that meets the user's requirements while maintaining consistency with the original character where appropriate."}, "pose_sampler": {"inherit_pipe": true, "seed": 0, "steps": 20, "cfg": 1.0, "sampler_name": "euler", "scheduler": "simple", "denoise": 1.0}, "vae_decode": {"tile_size": 512, "overlap": 64, "temporal_size": 64, "temporal_overlap": 8}, "emotion_generation": {"task_batch_size": 0, "target_size": 2048, "face_denoise": 0.55, "use_sam": false, "bbox_model": "bbox/face_yolov8m.pt", "segm_model": "bbox/face_yolov8m.pt", "sam_model": "sam_vit_b_01ec64.pth", "sam_device_mode": "AUTO", "guide_size": 1536, "guide_size_for": true, "max_size": 1536, "inherit_pipe_sampler": true, "sampler_name": "euler", "scheduler": "simple", "feather": 50, "noise_mask": true, "force_inpaint": true, "bbox_threshold": 0.5, "bbox_dilation": 50, "qi2_prompt_template": "Upscale face image.\nMake character's face emotion {emotion}\nChange only face. Keep original neck colour, clothes and hairs\nkeep character's clothes", "bbox_crop_factor": 3.0, "sam_detection_hint": "center-1", "sam_dilation": 0, "sam_threshold": 0.93, "sam_bbox_expansion": 0, "sam_mask_hint_threshold": 0.7, "sam_mask_hint_use_negative": "False", "drop_size": 10, "cycle": 1, "inpaint_model": false, "noise_mask_feather": 20, "tiled_encode": true, "tiled_decode": true, "matte_expand_radius": 8, "matte_feather_radius": 4, "chroma_context": 16}, "remove_clothes": {"prompt": "Dress character: White underwear", "target_size": 1024, "upscale_method": "lanczos", "crop_method": "disabled", "image1_name": "image 1", "image2_name": "image 2", "image3_name": "image 3", "weight1": 1.0, "weight2": 1.0, "weight3": 1.0, "vl_size": 384, "background_color": "White", "latent_image_index": 1, "instruction": "Describe the character and their key features (body shape, physical characteristics, clothing, items, accessories). Then explain how the user's text instruction should alter or modify the character. Generate a new image that meets the user's requirements while maintaining consistency with the original character where appropriate."}, "remove_clothes_sampler": {"inherit_pipe": true, "seed": 0, "steps": 20, "cfg": 1.0, "sampler_name": "euler", "scheduler": "simple", "denoise": 1.0}}—
sheets_pathSTRING—

Outputs (4)

NameTypeDescription
sheetIMAGE—
facesIMAGE—
pose_generationIMAGE—
upscaledIMAGE—