Cloudinary icon

Cloudinary

Upload images and videos, generate images with AI from text prompts or reference images, build optimized transformation and delivery URLs, generate video players, and manage, search, tag, and edit metadata in your Cloudinary media library

Upload → Upload From URL

AI-generated

Summary

Upload an image, video, or raw file to Cloudinary directly from a specified URL, optionally assigning metadata, tags, and storage parameters.

Inputs

  • URL (required) — The direct URL of the media (image, video, raw file) you want to upload to Cloudinary.
  • Resource Type — Select whether the file is an 'image', 'video', or 'raw' type; defaults to 'image'.
  • Additional Fields — Optional parameters including 'Folder' to specify the storage folder in Cloudinary, 'Public ID' to assign a custom identifier, 'Structured Metadata' as JSON to attach to the asset, 'Tags' as a comma-separated string for asset categorization, and 'Upload Preset' to apply preset upload configurations.

Output shape

A single JSON object representing the uploaded asset's details as returned by Cloudinary's upload API.

The output includes all metadata and identifiers generated or assigned during upload. Handle errors separately; this operation assumes the input URL points to a supported file type accessible by Cloudinary.

Links

Discussion