Upscale API

The following code snippet showcases the usage of the Upscale API provided by Picsart. This API allows users to upscale images using a simple HTTP request. By specifying the desired upscale factor and providing the URL of the image, you can retrieve an upscaled version of the image.

Upscale an image

curl -X 'POST' \
  '' \
  -H 'accept: application/json' \
  -H 'x-picsart-api-key: <API KEY HERE>' \
  -H 'Content-Type: multipart/form-data' \
  -F 'upscale_factor=x2' \
  -F 'image_url='

To upscale an image using the Upscale API, make a POST request to with the following parameters:

  • accept: Set the value to application/json to indicate the desired response format.
  • x-picsart-api-key: Replace with your actual API Key obtained from Picsart.
  • Content-Type: Set the value to multipart/form-data to indicate the request format.
  • upscale_factor: Specify the desired upscale factor, such as x2 to double the dimensions.
  • image_url: Provide the URL of the image you want to upscale.