Nodes/ComfyUI_StarNodes/⭐ Star Slideshow Maker
ComfyUI Node

⭐ Star Slideshow Maker

Create and encode a slideshow from one or more images. Frames stream directly to FFmpeg for low RAM use. See web/docs/StarSlideshowMaker.md

By Starnodes2024·Created 2 years ago·Updated 7 days ago· 103
⭐ Star Slideshow Maker
  • image_1
  • audio
  • Filenames
  • info
image_folder
aspect_ratioauto
resolutionFull HD
duration_modefixed
fixed_duration10.00
timing_modeseconds_per_image
seconds_per_image3.00
transitionfade
transition_duration1.00
motion_effectnone
seed0
fit_modecontain
backgroundblack
frame_rate30.00
quality60
formatvideo/h264-mp4
presetmedium
filename_prefixStarSlideshow
target_size_mb0.0
save_audiotrue
save_outputtrue
Category⭐StarNodes/Video

Inputs (23)

NameTypeDefaultDescription
image_folderSTRINGOptional folder of JPG/JPEG, PNG, or WebP images. Relative paths resolve from the ComfyUI input folder.
aspect_ratioCOMBOautoOutput frame aspect ratio. 'auto' picks the listed ratio closest to the first image.
resolutionCOMBOFull HDLong-edge pixel size of the output frame: HD = 1280, Full HD = 1920.
duration_modeCOMBOfixed'fixed' uses fixed_duration. 'audio' matches the duration of the connected AUDIO input.
fixed_durationFLOAT10.000.25–86400Total slideshow length in seconds. Only used when duration_mode is 'fixed'.
timing_modeCOMBOseconds_per_image'seconds_per_image' repeats the image sequence at a fixed length per image until the total duration is filled. 'split_total_duration' divides the total duration equally among all images.
seconds_per_imageFLOAT3.000.1–3600Seconds each image is shown. Only used when timing_mode is 'seconds_per_image'.
transitionCOMBOfadeEffect used to blend from one image to the next. 'random' picks a different transition for each image (see seed).
transition_durationFLOAT1.000–10Length of the transition in seconds, clamped so it cannot consume almost the whole image segment.
motion_effectCOMBOnonePan/zoom effect applied while each image is shown. 'random' picks a different effect for each image (see seed).
seedINT00–18446744073709550000Used when transition or motion_effect is 'random' to pick a different effect per image. 0 re-rolls a new random pick every run; any other value reproduces the same random picks.
fit_modeCOMBOcontain'contain' fits the whole image inside the frame (letterboxed with background). 'cover' fills the frame and center-crops overflow.
backgroundCOMBOblackLetterbox color used around images when fit_mode is 'contain'.
frame_rateFLOAT30.001–120Output video frame rate in frames per second.
qualityINT600–100Compression quality. Ignored when target_size_mb is greater than 0.
formatCOMBOvideo/h264-mp4Output video codec/container. Available options depend on the encoders built into your FFmpeg.
presetCOMBOmediumEncoder speed vs. efficiency. Slower presets usually give a smaller file at the same quality.
filename_prefixSTRINGStarSlideshowOutput file name, optionally including subfolders (e.g. 'subfolder/name').
target_size_mbFLOAT0.00–1000000Desired output size in MiB. 0 = use the quality slider. When greater than 0, target size wins and uses two-pass encoding where supported.
save_audioBOOLEANtrueMux the connected AUDIO input into the output video.
save_outputBOOLEANtrueTrue = ComfyUI output folder, False = temp folder.
image_1optIMAGEOptional first image. Connect more image_N sockets; they are used before folder files.
audiooptAUDIOOptional audio. It can set the slideshow duration and is muxed into the output when save_audio is enabled.

Outputs (2)

NameTypeDescription
FilenamesSTAR_FILENAMES
infoSTRING