Skip to main content

Clipdrop - Image Extender

Extend your images beyond their original borders using Clipdrop's powerful Uncrop technology. This feature is ideal for changing aspect ratios, creating cinematic extensions, or fixing tight crops in your photography.

Endpoint

Request Headers

FieldValue
API-KEY<api-key>
Content-Typeapplication/json

Parameters

ParameterTypeRequiredDescription
typestringYesFeature type identifier. Must be IMAGE_EXTENDER
modelstringYesAI model identifier. Must be clipdrop
promptObjectobjectYesConfiguration object containing extension parameters

Prompt Object Parameters

ParameterTypeRequiredDescriptionDefault
imageUrlstringYesURL or internal path of the image to be extended-
leftnumberNo*Pixels to adjust on the left (-2000 to 2000)0
rightnumberNo*Pixels to adjust on the right (-2000 to 2000)0
upnumberNo*Pixels to adjust on the top (-2000 to 2000)0
downnumberNo*Pixels to adjust on the bottom (-2000 to 2000)0

*At least one of left, right, up, or down must be provided and non-zero. Positive values expand the image, while negative values will crop the image.

Code Examples

Manual Extension

curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_EXTENDER",
"model": "clipdrop",
"promptObject": {
"imageUrl": "https://example.com/image.jpg",
"left": 500,
"right": 500
}
}'

Interactive Playground

API Playground

https://api.1min.ai/api/features
URL of the image to extend

Generated cURL Command:

curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_EXTENDER",
"model": "clipdrop",
"promptObject": {
"imageUrl": "https://example.com/image.jpg",
"left": 200,
"right": 200,
"up": 0,
"down": 0
}
}'

Response Format

{
"aiRecord": {
"uuid": "record-uuid-123",
"status": "SUCCESS",
"aiRecordDetail": {
"promptObject": {
"imageUrl": "https://example.com/image.jpg",
"left": 500,
"right": 500
},
"resultObject": [
"https://api.1min.ai/assets/output_uncropped.png"
]
},
"temporaryUrl": "https://api.1min.ai/assets/output_uncropped.png"
}
}