Nodes/ComfyUI-CoachBate/CoachBate Shot Loader
ComfyUI Node

CoachBate Shot Loader

Iterates through a shotlist JSON file one shot per queue run, outputting all fields of the current shot as typed values. Supports increment (forward), decrement (backward), and fixed (always same index) modes. Shots with status set to "DONE" in the JSON are automatically skipped. Use with ComfyUI Auto Queue to process every shot in a production queue without manual intervention.

By CoachBate·Created about a month ago·Updated 27 days ago· 0
CoachBate Shot Loader
    • video_prompt
    • duration_seconds
    • shot_id
    • video_filename_prefix
    • start_image
    • end_image
    • start_image_prompt
    • negative_prompt
    • negative_audio_prompt
    • total_shots
    • start_image_strength
    • end_image_strength
    • end_image_timestamp
    • global_prompt
    • local_prompts
    • segment_lengths
    json_path
    shot_number1
    modeincrement
    framerate24
    CategoryCoachBate

    Inputs (4)

    NameTypeDefaultDescription
    json_pathSTRINGAbsolute path to the shotlist JSON file
    shot_numberINT11–9999Shot number to start from (1-based). In increment mode: seeds the starting position on first run. Updated automatically after each shot.
    modeCOMBOincrementfixed: always output shot_index. increment/decrement: advance one shot per run using the stored counter.
    framerateINT241–120Frames per second used to convert segment durations in local_prompts to frame counts.

    Outputs (16)

    NameTypeDescription
    video_promptSTRING
    duration_secondsINT
    shot_idSTRING
    video_filename_prefixSTRING
    start_imageSTRING
    end_imageSTRING
    start_image_promptSTRING
    negative_promptSTRING
    negative_audio_promptSTRING
    total_shotsINT
    start_image_strengthFLOAT
    end_image_strengthFLOAT
    end_image_timestampFLOAT
    global_promptSTRING
    local_promptsSTRING
    segment_lengthsSTRING