pip install Pillow from PIL import Image, ImageDraw, ImageFont # Define the text for each image texts = ["AI Suggestion 1", "AI Suggestion 2", "AI Suggestion 3"] # Create and save images for i, text in enumerate(texts): # Create an image with white background img = Image.new('RGB', (300, 100), color='white') d = ImageDraw.Draw(img)