KJNodes/experimentalgenerated

SV3D Batch Schedule(SV3D_BatchSchedule)

This node takes an initial image, extracts its visual features through the CLIP Vision encoder, and encodes it into the latent space using a VAE.

SV3 D Batch Schedule

clip_vision
init_image
vae
positive
negative
latent
width
INT
height
INT
batch_size
21
interpolation
COMBO
azimuth_points_string
0:(0.0), 9:(180.0), 20:(360.0)
elevation_points_string
0:(0.0), 9:(0.0), 20:(0.0)
KJNodes

The SV3D Batch Schedule node receives an initial image, extracts its visual features via a CLIP Vision encoder, and encodes it into the latent space using a VAE.

The SV3D Batch Schedule node is a conditional scheduling tool specifically designed for Stability AI's SV3D model. Its core function is to allow users to batch-generate a series of latent space representations with different camera viewpoint conditions (azimuth and elevation) for an input initial image, thereby laying the groundwork for subsequent generation of multi-view consistent 3D videos or image sequences.

Node Function

This node receives an initial image, extracts its visual features via a CLIP Vision encoder, and encodes it into the latent space using a VAE. Its core mechanism lies in allowing users to precisely define the camera azimuth and elevation values for each frame (or specific keyframes) within the generation batch through a specific string format. The node smoothly interpolates viewpoint parameters between these keyframes according to the specified interpolation method, ultimately outputting corresponding positive/negative conditioning prompts and a unified latent space representation for the entire batch.

Node Parameter Description - SV3D Batch Schedule

Connection Inputs (Inputs)

Parameter NameData TypeRequiredDefault ValueRange/OptionsDescription
clip_visionCLIP_VISIONYes--Input for the CLIP vision model used to encode the initial image, extracting its semantic features to generate conditioning.
init_imageIMAGEYes--The input initial reference image. The node will generate subsequent latent space representations from different viewpoints based on this image.
vaeVAEYes--Variational Autoencoder, used to encode the input initial image into the latent space, creating the starting point for the subsequent denoising process.

Control Parameters (Parameters)

Parameter NameData TypeRequiredDefault ValueRange/OptionsDescription
interpolationCOMBOYeslinear"linear", "ease_in", "ease_out", "ease_in_out"Selects the method for angle interpolation between keyframes. Options include "linear" or various easing functions, used to control the speed curve of viewpoint changes.
widthINTYes57616 - MAX_RESOLUTION (step: 8)Sets the width of the output latent space image, ranging from 16 to the system's maximum allowed resolution, with an adjustment step of 8.
heightINTYes57616 - MAX_RESOLUTION (step: 8)Sets the height of the output latent space image, ranging from 16 to the system's maximum allowed resolution, with an adjustment step of 8.
batch_sizeINTYes211 - 4096Defines the size of the generated latent batch, i.e., the total number of frames to generate, ranging from 1 to 4096.
azimuth_points_stringSTRINGYes0:(0.0),\n9:(180.0),\n20:(360.0)\n-Defines the keyframe schedule for azimuth (horizontal rotation angle) using a specific format string, e.g., "0:(0.0), 10:(90.0)".
elevation_points_stringSTRINGYes0:(0.0),\n9:(0.0),\n20:(0.0)\n-Defines the keyframe schedule for elevation (vertical rotation angle) using a specific format string, e.g., "0:(0.0), 10:(30.0)".

Output

Parameter NameData TypeDescription
positiveCONDITIONINGOutput containing positive conditioning prompt information, used to guide the generation process.
negativeCONDITIONINGOutput containing negative conditioning prompt information, used to constrain the generation process.
latentLATENTThe encoded and processed batch of latent space representations, serving as input for subsequent samplers.

Usage Scenario

You can use this node when creating a 3D video loop that rotates around an object. First, load a single image of the object as init_image. Then, set keyframes from 0 to 360 degrees in azimuth_points_string, while keeping elevation_points_string at 0. After connecting the CLIP Vision and VAE models, the latent and conditioning information output by the node can be passed to a KSampler for denoising sampling, ultimately generating a smooth rotating sequence.

Notes

Please note that SV3D is fundamentally still a video model, so viewpoint scheduling must always progress forward along the timeline. The input azimuth and elevation string formats must strictly adhere to the frame_index:(angle_value) specification; otherwise, errors may occur.

The SV3D Batch Schedule node is from the ComfyUI-KJNodes node package.

Comments

Sign in with GitHub to join the discussion.

Loading comments…