Combine to images and place the second on top of the first
Combine two images to a new one
Input
{
"x": "100",
"y": 100,
"files": [
{
"name": "1600x900.png",
"type": "image/png",
"path": "testdata/images/1600x900.png"
},
{
"name": "256x256.png",
"type": "image/png",
"path": "testdata/images/256x256.png"
}
]
}Output · HTTP 200
{
"statusCode": 200,
"headers": {
"content-type": "image/png"
}
}Show curl command
curl -X POST 'https://api.1001fx.com/images/overlayimages' \
-H 'X-API-KEY: YOURSECRETAPIKEY' \
-F 'file1=@1600x900.png' \
-F 'file2=@256x256.png' \
-F 'x=100' \
-F 'y=100'