curl https://platform.4i.app/api/v1/run \
-H "Authorization: Bearer $FOURI_KEY" \
-H "Content-Type: application/json" \
-d '{
"service": "nightmareai/real-esrgan",
"input": {
"image": "img_… or https://…"
},
"params": {
"scale": "4",
"face_enhance": false
}
}'