Skip to main content
The WanPhantomSubjectToVideo node generates video content by processing conditioning inputs and optional reference images. It creates latent representations for video generation and can incorporate visual guidance from input images when provided. The node prepares conditioning data with time-dimensional concatenation for video models and outputs modified conditioning along with generated latent video data.

Inputs

ParameterDescriptionData TypeRequiredRange
positivePositive conditioning input for guiding video generationCONDITIONINGYes-
negativeNegative conditioning input to avoid certain characteristicsCONDITIONINGYes-
vaeVAE model for encoding images when providedVAEYes-
widthOutput video width in pixels (default: 832, must be divisible by 16)INTYes16 to MAX_RESOLUTION
heightOutput video height in pixels (default: 480, must be divisible by 16)INTYes16 to MAX_RESOLUTION
lengthNumber of frames in the generated video (default: 81, must be divisible by 4)INTYes1 to MAX_RESOLUTION
batch_sizeNumber of videos to generate simultaneously (default: 1)INTYes1 to 4096
imagesOptional reference images for time-dimensional conditioningIMAGENo-
Note: When images are provided, they are automatically upscaled to match the specified width and height, and only the first length frames are used for processing.

Outputs

Output NameDescriptionData Type
positiveModified positive conditioning with time-dimensional concatenation when images are providedCONDITIONING
negative_textModified negative conditioning with time-dimensional concatenation when images are providedCONDITIONING
negative_img_textNegative conditioning with zeroed time-dimensional concatenation when images are providedCONDITIONING
latentGenerated latent video representation with specified dimensions and lengthLATENT
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 9ff1c79f794f96015f099988b5392e3b2e442de3b317c352f2436feb41a1c3ba