Prisma uses deep learning techniques like neural style transfer to transform photos into artworks. Neural style transfer uses convolutional neural networks to extract features from content and style images, then finds an image that minimizes differences in these features. Early work used iterative optimization, but real-time style transfer trains a generative CNN on a dataset to synthesize stylized images with one forward pass. Prisma's offline mode likely uses a similar generative approach to enable fast stylization on mobile.