I have created a python script to create thumbnail for me... Here I'm sharing the source code...
from PIL import Image, ImageDraw, ImageFont
def generate_thumbnail_with_text(width, height, background_color, text, text_color, font_path, output_file):...