Uncrop
POST
/clipdrop/uncrop/v1Clipdrop is a company that provides AI image editing services, allowing for quick and easy modifications to images. We are fully aligned with their official API, and you only need to replace the API Base URL to use it.
For details, please view: https://clipdrop.co/apis/docs/cleanup
Price: 0.5 PTC / call
请求参数
API Key from 302.AI backend
image_file is the original image to process.
an optional extend_left integer field corresponding to the number of pixels to add to the left of the image, maximum of 2k, defaults to 0.
an optional extend_right integer field corresponding to the number of pixels to add to the right of the image, maximum of 2k, defaults to 0.
an optional extend_up integer field corresponding to the number of pixels to add at the top of the image, maximum of 2k, defaults to 0.
an optional extend_down integer field corresponding to the number of pixels to add at the bottom of the image, maximum of 2k, defaults to 0.
an optional seed integer field between 0 and 100_000. Setting the seed makes the result deterministic (ie you will always get the same output).
示例代码
Responses
The result image