ComfyUI Node
AIMZ Video Duration Selector
A ComfyUI node in AIMZ/Workflow with 7 inputs and 5 outputs.
AIMZ Video Duration Selector
- total_frames
- final_seconds
- effective_fps
- raw_frames
- source_seconds
◄modeSource Video (V2V)►
◄custom_seconds6.0►
◄default_fps24►
◄minimax_aligntrue►
◄source_frames—►
◄source_duration—►
◄source_fps—►
CategoryAIMZ/Workflow
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| mode | COMBO | Source Video (V2V) | 2 options: Source Video (V2V), Custom Seconds (R2V) |
| custom_seconds | FLOAT | 6.00.1–600 | Desired duration in seconds for R2V mode |
| default_fps | FLOAT | 241–240 | Default FPS used when source_fps is not connected |
| minimax_align | BOOLEAN | true | Align frame count to MiniMax H3 formula: max(5, round(sec * fps)) + (5 - (max(...) % 17)) % 17 |
| source_framesopt | INT | Connect Get_length or video frame_count directly (Optional, None-safe) | |
| source_durationopt | FLOAT | Connect source video duration in seconds (Optional, None-safe) | |
| source_fpsopt | FLOAT | Connect Get_FPS (Optional, None-safe) |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| total_frames | INT | — |
| final_seconds | FLOAT | — |
| effective_fps | FLOAT | — |
| raw_frames | INT | — |
| source_seconds | FLOAT | — |