Viewing images with contentID from Confluence API

I’ve been trying to create a landing page that draws information from other pages and collates it all in one place. One form of information I have to collate is images. I’ve been able to retrieve the contentID of the images using the Confluence rest AP and Python I but I can’t seem to figure out how I’d be able to view the image or upload the image into a new page using the contentID.

Another thing I was thinking of doing was possibly extracting the image from confluence to place into an excel sheet, would that be possible?

Appreciate all help and advice I can get!