Python API for grabbing preview image in video sequence editor

Hi.
Is there Python API available to grab the current image or frame buffer in the preview window of the video sequence editor? I am looking for a similiar functionality as with https://docs.blender.org/api/current/gpu.html#copy-offscreen-rendering-result-back-to-ram