The style transfer tool transfers a style from a reference image to a content image. The smart algorithm blends the two images together so the output looks like the content image, but "painted" in the style of the reference image.
Limitations: Works best with graphics reference images. Works best with nature content images. Supported source image formats are JPG, PNG, TIFF and WEBP.
Examples of where the style transfer tool can be used include the following:
- Magic filters
- To convert an image to a piece of art
- To generate unique results
- To recreate the style of a famous painting
- You can choose from five different levels of transfer
If you plan to transfer styles to an image multiple times, we recommend you first upload the source image using the Upload method and then use the reference image ID. Otherwise, you can source the image by providing a file or a URL to an online image.
Requires an API key to be provided in the X-Picsart-API-Key request header.
Use this file StyleTransfer.sh for cURL samples.