Texture Generator

This service is now renamed to Pattern Generator. This name is now deprecated and we recommend moving all integratings to using the new name.

Body Params
file

Source image file (binary). (If this parameter is present, the other image source parameters must be empty.)

uri
length between 1 and 2083

Source image URL. (If this parameter is present, the other image source parameters must be empty.)

string
deprecated

Deprecated. Source image ID of an image previously uploaded to Picsart or result image ID from a different API. (If this parameter is present, the other image source parameters must be empty.)

string
enum
Defaults to JPG

Optionally select one of the image formats (JPG is chosen if left blank). Options are as follows:

  • JPG
  • PNG
  • WEBP
Allowed:
integer
≤ 8000
Defaults to 1024

Specify the width of the output image in pixels. The default is 1024 and the maximum acceptable value is 8000.

integer
≤ 8000
Defaults to 1024

Specify the height of the output image in pixels. The default is 1024 and the maximum acceptable value is 8000.

integer
Defaults to 0

Specify the pattern location, with x(width). Calculation starts from the center of the image. Default is 0.

integer
Defaults to 0

Specify the pattern location with y(height). Calculation starts from the center of the image. Default is 0.

string
enum
Defaults to hex

Choose a pattern for the background texture. Default is hex.

Allowed:
integer
-180 to 180
Defaults to 0

Enter an integer value to rotate the texture pattern from -180 to +180. Default is 0.

float
0.5 to 10
Defaults to 1

Enter a floating point number between 0.5 - 10.0 to scale the background texture. Default is 1.0.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json