"Style Transfer" is a Facet feature that takes a content image as the input and another image as the reference - it blends them such that the output image looks like the content image with the reference image's aesthetic style.
In this article, we'll walk through an example to learn more about this feature and showcase some interesting visuals that we can create!
To start off, we'll be using this image from Unsplash as our content image. After uploading the content image to Facet, we can now select the image shown on the canvas.
Then, go to the right-hand side (RHS) of the editor and select "Multimodal Style Transfer" to create a new adjustment.
When "Multimodal Style Transfer" is added, you can pick or upload a reference image along with some controllable parameters that allow you to explore and adjust the aesthetic of the output image.
- "Content Strength" controls how much you'd like to retain the style of the content image
- "Style Strength" controls the intensity of applying the style of the reference image
- "Style Cluster" defines the number of styles or textures you'd like to capture from the reference image (e.g., style of the painting, texture from clothing)
In this example, let's pick another image from Unsplash as our reference image and explore some of the parameters.
Whenever you're ready, click on the "Render" button, and Facet will start the rendering of your style transfer.
At last, here's the output of the style transfer. One of the interesting visuals we have observed is that the bricks' texture on the ground in the original image has been transformed into the texture of the woodpile in the reference image.