post https://api.picsart.io/tools/1.0/surfacemap
Service Description:
With the surface map tool you can "print" a sticker over an (target) image.
Using a mask, the Surfacemap tool maps the sticker pixels using the texture and curves on the target image
thus ultimately giving a live-print-preview effect.
Limitations: We recommend following these rules when providing image, mask and sticker
- Image, mask and sticker - providing all three is required,
- The size of the mask and the image should be the same,
- The size of the sticker should match the "masked" area's size or proportions.
Examples: Examples of where the Surfacemap can be used include:
- T-shirt print preview
- Mug print preview
- Pillow print preview
Source Images:
You can source the image by providing a file, a URL to an online image, or a reference_id from a previously uploaded image.
This also applies to the mask and the sticker provided at the input
Authorization:
Requires an API key to be provided in the X-Picsart-API-Key request header.