You can get the image ids from vector tiles. Relevant topic here: Download Mapilarry images with API v4