def METHOD_NAME(
    cls, predictor: VisualPredictor, video: Video, show_pafs: bool = False, **kwargs
):
    # imports here so we don't get circular dependencies
    from sleap.gui.overlays.confmaps import ConfMapsPlot
    from sleap.gui.overlays.pafs import MultiQuiverPlot
    if show_pafs:
        result_key = predictor.part_affinity_fields_key_name
    else:
        result_key = predictor.confidence_maps_key_name
    data_object = ModelData(predictor=predictor, result_key=result_key, video=video)
    # Determine whether to use confmap or paf overlay
    if show_pafs:
        overlay_class = MultiQuiverPlot
    else:
        overlay_class = ConfMapsPlot
    return cls(data=data_object, overlay_class=overlay_class, **kwargs)