Nodes/ComfyUI-Bonfire/Bonfire Shot
ComfyUI Node

Bonfire Shot

Calculate a grid-aligned target resolution and a legal video frame count. Does not alter a connected image.

By DaemonSK·Created 2 days ago·Updated about 17 hours ago· 0
Bonfire Shot
  • image
  • width
  • height
  • duration
resolution_modeaspect_mp
alignmentminimax_h3
custom_multiple8
aspect_ratio16:9
megapixels1.00
custom_width1024
custom_height1024
seconds5.0
fps24
width
height
CategoryBonfire

Inputs (12)

NameTypeDefaultDescription
resolution_modeCOMBOaspect_mpWhere the output dimensions come from.
alignmentCOMBOminimax_h3Pixel grid both output dimensions are rounded to.
custom_multipleINT81–1024Grid used when the alignment profile is 'custom'.
aspect_ratioCOMBO16:9Ratio used by the 'aspect_mp' resolution mode.
megapixelsFLOAT1.000.01–64Target area used by the 'aspect_mp' resolution mode.
custom_widthINT10241–16384Width used by the 'custom_size' resolution mode.
custom_heightINT10241–16384Height used by the 'custom_size' resolution mode.
secondsFLOAT5.00.1–150Requested duration in seconds, before the frame grid.
fpsINT241–240Frames per second used to convert seconds to frames.
widthoptINTMatch input: overrides the width taken from the image.
heightoptINTMatch input: overrides the height taken from the image.
imageoptIMAGEMatch input: read for its dimensions only. Never modified and never returned.

Outputs (3)

NameTypeDescription
widthINT
heightINT
durationINT