Cloudinary icon

Cloudinary

Upload images and videos, build optimized transformation and delivery URLs, generate video players, and manage, search, tag, and edit metadata in your Cloudinary media library

Upload → Upload File

AI-generated

Overview

This node uploads files to Cloudinary, supporting different asset types such as images, videos, and raw files. It is useful for automating media uploads to Cloudinary's cloud-based media management platform, allowing users to specify file data, asset type, and additional metadata or organizational details. For example, it can be used to upload an image file with tags and metadata to a specific folder in a Cloudinary account.

Use Case Examples

  1. Uploading an image file with tags and metadata to Cloudinary.
  2. Uploading a video file to a specific folder in Cloudinary.
  3. Uploading a raw file with a custom public ID and upload preset.

Properties

Name Meaning
File The binary file data to upload to Cloudinary.
Resource Type The type of asset to upload, such as image, video, or raw.
Additional Fields Optional additional parameters for the upload, including folder name, public ID, structured metadata, tags, and upload preset.

Output

JSON

  • public_id - The public identifier of the uploaded asset.
  • url - The URL of the uploaded asset.
  • secure_url - The secure HTTPS URL of the uploaded asset.
  • tags - Tags assigned to the uploaded asset.
  • metadata - Structured metadata attached to the uploaded asset.

Dependencies

  • Cloudinary API credentials (cloud name, API key, API secret) are required for authentication.

Troubleshooting

  • Common issues include invalid or missing Cloudinary credentials, unsupported file types, or network connectivity problems.
  • Errors related to unsupported operations indicate incorrect resource or operation parameters.
  • Ensure the file input is correctly provided as binary data.
  • Check that additional fields like folder names or upload presets are valid and exist in the Cloudinary account.

Links

Discussion