ComfyUI Node

EzFlex-TimePlan

Time Plan

By blackbossokok·Created 2 months ago·Updated 2 days ago· 4
EzFlex-TimePlan
    • timeplan
    • frames
    ◄modelminimax_h3►
    ◄total30.0►
    ◄segment5.0►
    ◄fps24►
    ◄overlap22►
    ◄tolerance0►
    ◄alignalign►
    ◄config{}►
    ◄trim_tail0►
    ◄audio_context_length24►
    ◄grid_b5►
    ◄grid_s17►
    ◄max_frames362►
    ◄index0►
    CategoryEzFlex

    Inputs (14)

    NameTypeDefaultDescription
    modelCOMBOminimax_h33 options: minimax_h3, wan, ltx
    totalFLOAT30.0Total length in seconds. Split into ceil(total / segment) segments.
    segmentFLOAT5.0Target length of each segment in seconds (before overlap).
    fpsINT241–120—
    overlapINT220–200Frames re-used from the previous segment's tail. Snapped DOWN to the model grid (MiniMax H3: 0 or 5+17k).
    toleranceINT00–5Extra HEAD frames trimmed after generation for the transition (total head trim = overlap + head). Generation is NOT increased for it; total length gets shorter.
    alignCOMBOalignalign = total length wins; strict = every segment (but the first) uses the SAME grid step.
    configSTRING{}Plan panel state (segOverride = per-segment manual durations, seconds).
    trim_tailINT00–24Frames dropped from the END of each non-final segment (also shortens the plan, so the timeline stays in sync).
    audio_context_lengthINT240–400Transition audio length in video frames (official H3 example: video 22 / audio 24). MotionContext uses this when it follows the plan.
    grid_bINT50–1000Frame-grid base B. Frames must be B + S*k (H3 default 5 + 17k).
    grid_sINT171–1000Frame-grid step S. Frames must be B + S*k (H3 default 5 + 17k).
    max_framesINT3621–100000Maximum generated frames per segment.
    indexoptINT0Segment index (0-based). Wire EzFlex-LoopStart.index here. Out of range = 0 frames (lets the loop finish).

    Outputs (2)

    NameTypeDescription
    timeplanEZFLEX_TIMEPLAN—
    framesINT—