Hello,
I am trying to enlarge animage with BIGJPG but I have an issue with an API request.
Please find below the documentation of BIGJPG API.
Enlarge API
curl -d '{"style": "art", "noise": "3", "x2": "1", "input": "YOUR_IMAGE_URL"}' \
-H 'X-API-KEY:Myapikey' \
https://bigjpg.com/api/task/
- JSON format
- style can be 'art', 'photo' which means 'cartoon illustration', 'photo'
- noise can be '-1', '0', '1', '2', '3' which means 'None', 'Low, 'Medium', 'High', 'Highest'
- x2 can be '1', '2', '3', '4' which means 2x, 4x, 8x, 16x
- input your enlarge image url
When i am using the upscale x1 or x2 it does work, but with x3 or x4 i have a âparam_errorâ.
[
{
"statusCode": 200,
"headers": [
{
"name": "date",
"value": "Wed, 10 Apr 2024 19:30:05 GMT"
},
{
"name": "content-type",
"value": "application/json; charset=UTF-8"
},
{
"name": "content-length",
"value": "25"
},
{
"name": "connection",
"value": "close"
},
{
"name": "server",
"value": "YUNKD/WAF 2.0.6"
},
{
"name": "cache-control",
"value": "no-cache"
},
{
"name": "x-cache-status",
"value": "MISS"
}
],
"cookieHeaders": [],
"data": {
"status": "param_error"
},
"fileSize": 25
}
]
It does work when I do the API request from my console, but in Make.com it doesnât work.
I contacted the support of BIGJPG and for them, it seems to be an issue on Make.com.
Any ideas ?
Thank you for your help !
Have a great evening
Froz