Have you tried photo editing apps like Prisma where you can apply artistic styles to any of your images? Creating filters or features like these takes months of effort — development teams tweak and optimize style transfer models to create unique experiences that millions of users love. Now, with Fritz, you’ll be able to add the same features to your app in minutes.

Behind the scenes, Style Transfer uses a neural network that takes the style of one image and applies it to the content of another. For example, take a picture of Government Center in Boston and apply the style of Vincent van Gogh’s Starry Night.

Original Image (left) | Starry Night Style applied (middle) | Styled Image Result (right)

Unlike other solutions, Fritz has optimized models to work in real-time on many devices. In order to build out Style Transfer, we’ve trained 11 different styles, from Claude Monet’s The Poppy Field to Picasso’s Les Femmes d’Alger. We created a simple-to-use API that allows any developer to integrate style transfer into their apps. All the processing is done on-device and in real-time using mobile machine learning. In this tutorial, we’ll walk through how to integrate this feature into your own apps.