Outpaint
Expands an image by generating AI content beyond its original boundaries. Use this to extend images in any direction while maintaining visual coherence.
Input Image Limits:
- Max size: 25MB
- Min resolution: 128x128px
- Max resolution: 6000x6000px
- Supported formats: JPEG, PNG (PNG will be converted to JPEG for processing)
Expansion Limits: - Each direction (left, top, right, bottom) can be extended by 0-2000 pixels
- At least one direction must have a non-zero value
Authorizations
All API requests require a valid api key. Include your token as a HTTP request header in the following format: X-API-Key: skXXXXXXXXXXXXXXXX. You can obtain an api key by signing up for developer access in your Pixelcut account.
Headers
Acceptable response media type(s). application/json, image/*. Default is application/json.
Body
URL of the image to be processed.
"https://cdn3.pixelcut.app/product.jpg"
Number of pixels to extend the image in this direction (0-2000).
0 <= x <= 2000Number of pixels to extend the image in this direction (0-2000).
0 <= x <= 2000Number of pixels to extend the image in this direction (0-2000).
0 <= x <= 2000Number of pixels to extend the image in this direction (0-2000).
0 <= x <= 2000Controls the creativity of the generated content. Higher values produce more creative but potentially less coherent results. 0 means maximum coherence, 1 means maximum creativity.
0 <= x <= 1The format of the output image. Default is jpeg.
jpeg, png Response
Success
A URL to access the resultant image which is valid for 1 hour. File format will be jpeg.
"https://assets.pixelcut.app/public/result/a16646be-91c8-4e3a-b359.jpg"