Evaluating Images on Upload with the Cloudinary Node SDK
Use the eval property to evalate an image on upload and dynamically add tags and metadata based on the results.
๐ Get Started with This Example
- Create an environment variable file
.envand inside add:
CLOUDINARY_CLOUD_NAME="<Your Cloud Name>"
CLOUDINARY_API_KEY="<Your API Key>"
CLOUDINARY_API_SECRET="<Your API Secret>"
- Install the project dependencies with:
- Run the node script with:
The script will run in your terminal and you'll see the URL results logged.