Lưu nháp tự động

$ export REPLICATE_API_TOKEN= $ curl -s -X POST
-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

Để lại một bình luận

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *