$ export REPLICATE_API_TOKEN=
-H “Authorization: Bearer $REPLICATE_API_TOKEN”
-H “Content-Type: application/json”
-H “Prefer: wait”
-d $'{
“version”: “nightmareai/real-esrgan:42fed1c4974146d4d2414e2be2c5277c7fcf05fcc3a73abf41610695738c1d7b”,
“input”: {
“scale”: 4,
“face_enhance”: true
}
}’
https://api.replicate.com/v1/predictions