Technical question regarding promo

I’ll ask here because I think some of you have created this already and I find it very cool (and I want to recreate it for my books). You know these posts that have extracts from books in white on top of an atmospheric background? How are these created?

My impression so far is that it’s some sort of background image with the screenshot of text as an overlay. But I’m really interested as to what is your process? Which tools do you use to create this material?

I am signed on to Canva and while it is an easy alternative, I’m not entirely convinced since it uses AI a lot more than the last time I used it. Is there a non-AI way to do this content? I’m fine if I have to go through a learning curve, would just love to promote my books just as they deserve.

Thanks in advance all:)