Created
May 20, 2020 01:49
-
-
Save sorrell/ea62dbde7968fd7959fa8cfddeb3a5b6 to your computer and use it in GitHub Desktop.
Run this on cmd line to add color to a BW file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl $(curl \ | |
-F 'image=@/home/user/myfile.jpg' \ | |
-H 'api-key:<your-api-key>' \ | |
https://api.deepai.org/api/colorizer | jq --raw-output '.output_url') > output-`date +%Y%M%d%H%m%S`.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment