post https://api.picsart.io/tools/1.0/background/pattern
Service Description:
The pattern generator tool generates a background texture pattern for the input image. You can create unlimited patterns from the same source image.
Limitations: Works best with colorful source images. Supported source image formats are JPG, PNG, TIFF and WEBP.
Examples:
Examples of where the pattern generator tool can be used include the following:
- Backgrounds
- Patterns
- Tiles
Options:
- You can control width and height of the output image
- You can control the x and y offset, from the center, of the pattern
- You can choose from five different patterns
- You can scale and/or rotate the pattern
Source Image:
If you want to apply multiple patterns to the same image, 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.
Authorization:
Requires an API key to be provided in the X-Picsart-API-Key request header.