mirror of
https://github.com/jantic/DeOldify.git
synced 2026-09-01 15:36:32 +08:00
fix old doc + add local file curl documentation
This commit is contained in:
@@ -364,7 +364,7 @@ Calling the API for image processing for a remote image
|
||||
curl -X POST "http://MY_SUPER_API_IP:5000/process" -H "accept: image/png" -H "Content-Type: application/json" -d "{\"url\":\"http://www.afrikanheritage.com/wp-content/uploads/2015/08/slave-family-P.jpeg\", \"render_factor\":35}" --output colorized_image.png
|
||||
```
|
||||
|
||||
Calling the API for image processing for a binary image
|
||||
Calling the API for image processing for a local image
|
||||
```console
|
||||
curl -X POST "http://MY_SUPER_API_IP:5000/process" -H "accept: image/png" -H "Content-Type: image/jpeg" -F "file=@slave-family-P.jpeg" -F "render_factor=35" --output colorized_image.png
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user