I take the liberty of getting involved here:
In my module I want to use the internal API to query all items with images and then process them.
a) All items with images
b) Loop all images per item
Search parameters are listed in the developer documentation, but what’s unstated there is that just passing no parameters (an empty array) is a search for all results.