Ultra Enhance API
The following code snippet showcases the usage of the Enhance Upscale API.
This API allows users to enhance and upscale images using a simple HTTP request. By specifying the desired upscale factor, format, and providing the URL of the image, you can retrieve an enhanced and upscaled version of the image.
Upscale and enhance an image
This snippet showcases cURL via command line, yet you can create equivalent code snippets for numerous programming languages and key frameworks, adjusting them with your unique parameters.
curl -X 'POST' \
'https://api.picsart.io/tools/1.0/upscale/enhance' \
-H 'accept: application/json' \
-H 'x-picsart-api-key: <API KEY HERE>' \
-H 'Content-Type: multipart/form-data' \
-F 'image_url=https://cdn140.picsart.com/20123007110359038337.png' \
-F 'upscale_factor=3' \
-F 'format=PNG'
To enhance and upscale an image using the Enhance Upscale API, make a POST request to https://api.picsart.io/tools/1.0/upscale/enhance 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.image_url
: Provide the URL of the image you want to enhance and upscale.upscale_factor
: Specify the desired upscale factor, such as 3 to increase the size and quality of the image.format
: Specify the desired format for the resulting image, such as PNG.
To learn all the details, options, parameters on how to use the service at its full capacity, visit Ultra Enhance API documentation.
Expand your knowledge:
- What is Image Upscale good for?
- Where can I use the Image Upscale?
- What is the difference between Ultra Upscale and Ultra Enhance?
- What is the difference between classic Upscale and Ultra Enhance?
- What Upscale services work best for different types of photos?
- Where to Find and Use Picsart's Image Upscale API
Updated 2 months ago