Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > comfyui_nai_api > NovelAI Apply Vibe

ComfyUI Node: NovelAI Apply Vibe

Class Name

NovelAI_VIBE

Category
NovelAI
Author
creeper-mz (Account age: 1877days)
Extension
comfyui_nai_api
Latest Updated
2024-10-02
Github Stars
0.0K

How to Install comfyui_nai_api

Install this extension via the ComfyUI Manager by searching for comfyui_nai_api
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui_nai_api in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

NovelAI Apply Vibe Description

Collects NovelAI reference images and per-image settings into an extendable VIBE_PIPE.

NovelAI Apply Vibe:

NovelAI_VIBE prepares image references for a NovelAI workflow by collecting them into a single VIBE_PIPE. It converts each supplied image to PNG data and keeps that image alongside its information-extraction and strength settings. You can build the collection in one node or extend a collection prepared by an earlier node. This node organizes reference data; the provided code does not generate an image or show how a later node interprets the settings.

NovelAI Apply Vibe Input Parameters:

input_image

The required first reference image, supplied as an IMAGE. The node converts it to PNG data and places it in the VIBE_PIPE with the first image’s settings. It must be connected for the node interface to be satisfied. No default, minimum, or maximum image dimensions are specified in the source.

information_extracted

A FLOAT stored alongside input_image as its information-extraction setting. Its default is 1.0, minimum is 0, and maximum is 1.0. Changing it changes the value passed along for that reference; this node does not itself analyze the image or show how a downstream node uses the value.

strength

A FLOAT stored alongside input_image as its strength setting. Its default is 0.7, minimum is 0, and maximum is 1.0. Adjust it to pass a different strength value for the first reference. The provided implementation stores the value but does not apply it to an image-generation result.

image2_information_extracted

A FLOAT paired with input_image_2 when that optional image is connected. Its default is 1.0, minimum is 0, and maximum is 1.0. If you leave the second image disconnected, this value is not added to the VIBE_PIPE; connecting the image causes the value to be stored beside it.

image2_strength

A FLOAT paired with input_image_2 when that optional image is connected. Its default is 0.7, minimum is 0, and maximum is 1.0. It lets you pass a strength setting specifically for the second reference. Without the second image, the setting is not added to the output.

image3_information_extracted

A FLOAT paired with input_image_3 when that optional image is connected. Its default is 1.0, minimum is 0, and maximum is 1.0. The node stores it with the third reference, allowing that reference to carry its own setting; it has no effect on the output when the third image is absent.

image3_strength

A FLOAT paired with input_image_3 when that optional image is connected. Its default is 0.7, minimum is 0, and maximum is 1.0. This is the strength value passed along for the third reference, independently of the other images’ values. It is omitted from the output if the third image is not connected.

image4_information_extracted

A FLOAT paired with input_image_4 when that optional image is connected. Its default is 1.0, minimum is 0, and maximum is 1.0. Connecting the fourth image adds both the image and this setting to the VIBE_PIPE; leaving it disconnected means this setting is not included.

image4_strength

A FLOAT paired with input_image_4 when that optional image is connected. Its default is 0.7, minimum is 0, and maximum is 1.0. It provides a separate strength value for the fourth reference and is added to the output only when that image is present.

input_image_2

An optional second reference image of type IMAGE. When connected, the node converts it to PNG data and adds it after the first image, paired with the image2_information_extracted and image2_strength values. When disconnected, neither the image nor its settings are added. No default or image-size limits are specified.

input_image_3

An optional third reference image of type IMAGE. When connected, it is converted to PNG data and added with its third-image settings, after any supplied earlier references. When disconnected, it and its settings are omitted. No default or image-size limits are specified.

input_image_4

An optional fourth reference image of type IMAGE. When connected, it is converted to PNG data and added with its fourth-image settings, after any supplied earlier references. When disconnected, it and its settings are omitted. No default or image-size limits are specified.

pre_vibe_pipe

An optional VIBE_PIPE containing references prepared earlier. The node copies its existing image data, information-extraction values, and strength values into the new VIBE_PIPE before adding images connected to this node. Use it to extend a reference collection; leave it disconnected to start a new one. The supplied pipe must contain the three expected reference lists.

NovelAI Apply Vibe Output Parameters:

vibe_pipe

The single output, of type VIBE_PIPE, is a collection of reference data for another node to use. It contains three corresponding lists: reference_image_multiple holds PNG images encoded as Base64 text, reference_information_extracted_multiple holds their information-extraction values, and reference_strength_multiple holds their strength values. Entries from pre_vibe_pipe come first, followed by connected images from this node in slot order. Values at the same position in the three lists belong to the same reference. This output is not a generated image.

NovelAI Apply Vibe Usage Tips:

  • Connect input_image and leave the optional image slots empty when you need just one reference. The default settings pass along information-extraction value 1.0 and strength value 0.7. - Connect additional images only when you intend to include them. Changing a numbered image’s settings without connecting that image does not add those settings to the VIBE_PIPE.
  • Set each connected image’s values independently. For example, adjusting image2_strength changes the value stored for the second image without changing strength for the first.
  • Connect an existing pre_vibe_pipe to append this node’s images to an earlier collection. Check the receiving node’s requirements before relying on any particular interpretation of the stored values.
  • Supply images in the IMAGE format expected by the node. Its conversion code assumes it can turn the image data into a standard PNG image.

NovelAI Apply Vibe Common Errors and Solutions:

Missing required input: input_image

  • Explanation: The node interface requires a first IMAGE connection. The exact message shown may depend on the workflow host.
  • Solution: Connect an IMAGE output to input_image before running the workflow.

KeyError: 'reference_image_multiple'

  • Explanation: A connected pre_vibe_pipe does not contain the image-reference list that this node expects. Similar errors can name reference_strength_multiple or reference_information_extracted_multiple.
  • Solution: Supply a VIBE_PIPE produced by a compatible node, or disconnect pre_vibe_pipe to begin a new collection.

TypeError: 'NoneType' object is not subscriptable

  • Explanation: This can occur if a value treated as an existing VIBE_PIPE is missing or invalid when the node tries to read its reference lists. The precise error depends on the value received.
  • Solution: Check the connection to pre_vibe_pipe and use a valid VIBE_PIPE, or leave that optional input disconnected.

TypeError: can't convert cuda:0 device type tensor to numpy

  • Explanation: The image-conversion code calls .numpy() on the image data. A tensor held on a GPU may not support that conversion directly; the device name in the message may differ.
  • Solution: Provide an IMAGE that has been moved to CPU memory before it reaches this node.

TypeError: Cannot handle this data type

  • Explanation: The image data passed to the PNG conversion step has a shape or format that the image library cannot turn into a standard image. The full message may include details about its data type.
  • Solution: Check the upstream IMAGE output and convert it to a supported, standard image format before connecting it here. If the source supplies a batch, try a single image.

NovelAI Apply Vibe Related Nodes

Go back to the extension to check out more related nodes.
comfyui_nai_api
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

NovelAI Apply Vibe