Uncrop

Extends the image in the specified directions and generates plausible content to fill the new areas.

Body Params

The request must be an http POST and its body must be a multipart/form-data that has one image file & several text fields

file

The original image to process should be a JPG, PNG or WebP, with a maximum resolution of 10 megapixels and a max file size of 30 Mb.

number
≤ 2000

Number of pixels to extend to the left

number
≤ 2000

Number of pixels to extend to the right

number
≤ 2000

Number of pixels to extend upward

number
≤ 2000

Number of pixels to extend downward

Headers
string
enum

The Accept request HTTP header indicates the preferred returned image content type, expressed as a MIME type

Allowed:
Responses
200

The image was successfully uncropped.

400

Bad request. May be missing required inputs or may have badly formatted inputs or options.

500

Internal server error. Unable to uncrop image.

Language
Credentials
Response
Click Try It! to start a request and see the response here!