How do I save a created image to for instance Google Drive?

Hi, Im all new to this and I’m trying to create images through open ai. Which works when I use it to create a product to Printify. But I want to save the created images to Google drive.
So I can create an image, but I only know how to with a url.

Sorry if this is something I can find on the site, but I’m overwhelmed by all the terms and apps and so on.

Thank you!