The Street View image API, as documented here, gives static images for a particular location. However, it does not accept a panorama ID parameter for loading specific panoramas.
Recent additions to Google Maps' Street View imagery have been "off the map", and only accessible via the panorama id (the panoid URL parameter), such as these hot-tub monkeys or this donkey. If you remove the panoid from the URL then the monkeys don't load. For comparison, this picture of a tree doesn't need the panoid to load the streetview panorama.
This same behaviour is seen when loading these panoramas via the API. The Google Maps API docs has the following to say about the panoid:
Returns the current panorama ID for the Street View panorama. This id is stable within the browser's current session only.
However, as shown above with the monkeys the panorama id is not tied to the current session.
My problem is that the Google Street View Image API doesn't accept the panoid, so there is no way I can find to get a static image of the monkeys. The static image of the tree works, but I get "no imagery" for the monkeys.
Why are these streetviews not available on the API by location, and is there a way to load static images from the panorama ID?