Help with understanding python and Revit API please

Hi
I would appreciate some help understanding if / how to use the methods and properties from the Revit API in python.

If possible I would like to use a python node to replicate these nodes from archiLab.
image

I can find these methods in the Revit API
https://www.revitapidocs.com/2020/49c1091b-87f1-164d-cd50-c383d642fb00.htm

In a python Script node I can call Autodesk.Revit.DB.ImageTypeOptions(‘path’)

I am unsure if / how I can use Python to set the Resolution Property

Is there a way to use python to achieve this?.

Thank you in advance