API: Seach for posts with images and then retrieve detailed post data with search's post_ids

I think you might need a plugin that adds the information you want to the serializer.