Last updated: Aug-25-2023
Learn how to upload assets in Node.js using the Cloudinary Node.js SDK.
This tutorial presents the following topics. Click a timestamp to jump to that part of the video.
|0:15||Having installed and configured the Cloudinary Node.js SDK, you can upload an image using the
|0:57||Alternatively, you can use the async await syntax. For example:|
|1:33||If you want to upload multiple images you can loop through an array, calling the same function. For example:|
|2:06||So far we've been using local file paths, but you can use many different file sources for your images, for example an image URL:|
- Learn more about uploading images and videos using the Node.js SDK.
- Take a look at our Upload guide to learn about uploading to Cloudinary in general.
- Use the Upload API reference to find all the options and parameters available for the SDK.
- Watch more Dev Hints videos on the Cloudinary YouTube channel.
Configure the Node.js SDKInstall and configure the Cloudinary Node.js SDK
Upload Videos in Node.jsUpload videos to Cloudinary using the Node.js SDK
Upload WidgetEmbed an Upload Widget in your site
Check out the Cloudinary Academy for free self-paced Cloudinary courses on a variety of developer or DAM topics, or register for formal instructor-led courses, either virtual or on-site.