- Cloudinary's Node.js SDK provides simple, yet comprehensive image and video upload, transformation, optimization, and delivery capabilities that you can implement using code that integrates seamlessly with your existing Node.js application.
- In a terminal in your Node.js environment run:
npm install cloudinary
-
In a terminal, set your
CLOUDINARY_URL
environment variable. -
Replace
CLOUDINARY_URL=cloudinary://API_KEY:API_SECRET@CLOUD_NAME
with the API environment variable copied from your account credentials:- On Mac or Linux:
export CLOUDINARY_URL=cloudinary://API_KEY:API_SECRET@CLOUD_NAME
- On Windows:
set CLOUDINARY_URL=cloudinary://API_KEY:API_SECRET@CLOUD_NAME
- Media upload guide: Provides details and examples of the upload options.
- Image transformations guide: Provides details and examples of the transformations you can apply to image assets.
- Video transformations guide: Provides details and examples of the transformations you can apply to video assets.
- Transformation URL API Reference: Provides details and examples of all available transformation parameters.
- Admin API guide: Provides details and examples of the methods available for managing and organizing your media assets.