from google_images_search import GoogleImagesSearch gis = GoogleImagesSearch(' AIzaSyAQIokiEqsF8CcjKHK0H8UQqu_zL3eUogs ', 'b93a4d05151dc7d5b') _search_params = {'q': 'puppies','num': 1,'fileType': 'png'} gis.search(search_params=_search_params, path_to_dir='C:/Users/Ainarikiaz/Documents/Year 2 BA DESIGN/2.2/collagedream/dog', custom_image_name='testdog') #gimages -k AIzaSyAQIokiEqsF8CcjKHK0H8UQqu_zL3eUogs -c b93a4d05151dc7d5b search -q dog -d /dog