ComfyUI Node
Bonfire Shot
Calculate a grid-aligned target resolution and a legal video frame count. Does not alter a connected image.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| resolution_mode | COMBO | aspect_mp | Where the output dimensions come from. |
| alignment | COMBO | minimax_h3 | Pixel grid both output dimensions are rounded to. |
| custom_multiple | INT | 81–1024 | Grid used when the alignment profile is 'custom'. |
| aspect_ratio | COMBO | 16:9 | Ratio used by the 'aspect_mp' resolution mode. |
| megapixels | FLOAT | 1.000.01–64 | Target area used by the 'aspect_mp' resolution mode. |
| custom_width | INT | 10241–16384 | Width used by the 'custom_size' resolution mode. |
| custom_height | INT | 10241–16384 | Height used by the 'custom_size' resolution mode. |
| seconds | FLOAT | 5.00.1–150 | Requested duration in seconds, before the frame grid. |
| fps | INT | 241–240 | Frames per second used to convert seconds to frames. |
| widthopt | INT | Match input: overrides the width taken from the image. | |
| heightopt | INT | Match input: overrides the height taken from the image. | |
| imageopt | IMAGE | Match input: read for its dimensions only. Never modified and never returned. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |
| duration | INT | — |