For this he used the aforementioned DALL-E system, which generated many very strange images, but some were surprisingly realistic, and it is also interesting to note that, in most cases, adequate shadows were also generated, although this is not the rule (e.g. in the title image the girl has the right shadows on her hands, but this doesn’t apply to Unmesh’s clothes, however, in The Rock photos, the shadow reflects her added hair).
The problem is that even the best images aren’t completely error-free, so he used another AI system called GFP-GAN, which the AI actually used to correct the errors of other AI’s. While the results aren’t quite flawless and you can usually tell a little from the color presentation, it’s still a decent result. For the aforementioned use case, this system has only one very serious flaw. Each image will have a different partner.