Uncrop(图像扩展)
POST
/clipdrop/uncrop/v1Clipdrop是一家提供AI图像修改的公司,可以方便快速的对图片进行修改。我们完全对齐他们官方接口,只需要替换API Base URL即可。
我们这里的API只是做一个示范,详细用法请参考官方文档:https://clipdrop.co/apis/docs/cleanup
价格:0.5PTC/次
请求参数
YOUR_API_KEY
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).
示例代码
返回响应
The result image