Artificial Intelligence could recognize objects and describe an image by text through machine learning since 2015, not long before it can generate an image out of text.

"Travelers Among Mountains and Streams" is one of the classic paintings in China art history, by Fan Kuan around AD 1000, in Song Dynasty. "Wanderer above the Sea of Fog" is a painting by German artist Caspar David Friedrich made in 1818. I promoted AI to describe what the paintings about, then used the text as the prompt to create a new version.