Overlay layer on cross-sale block picture with dynamic text

Hello, I need help on how to apply an overlay layer with dynamic text to a certain image (for the image from this class" ProductImage__ProductImageCon-sc-1wpyz0a-0 fNNELt") on the product page (upsell block). The text must come from the “Enter your name or initials” input field. Similar functionality is available on this site: https://thecaseclubla.com/products/iphone-13-pro-max?variant=41312470499483

my site: https://lart-store.com/uk-ua/products/case-for-apple-iphone-genuine-pebbled-leather-personalized-initials-letters