Skip to content

Cloudinary

Cloudinary

Cloudinary is a cloud-based media management platform for uploading, storing, transforming, and delivering images and videos via CDN. With the Cloudinary integration in SquadOS, your agents can upload files, apply advanced transformations, search assets by expression, manage folders and metadata — all programmatically, without leaving the automation flow.

This tool uses API key (API_KEY) to connect.

Consult Composio for the required connection fields.

  1. Go to cloudinary.com and sign in (or create a free account).
  2. In the main panel, locate the Dashboard — it displays your Cloud name, API Key, and API Secret under “Product Environment Credentials”.
  3. Copy the API Key (and note the API Secret and Cloud name, as Composio may request them during connection).
  1. Go to Tools in the side menu (/admin/tools).
  2. Open the Available tab and search for Cloudinary.
  3. Click the card to open the details and hit Connect.
  4. You’re taken to the secure connection page hosted by Composio, where you enter the credentials obtained above.
  5. Once done, you’re sent back to SquadOS with the account connected and the tool available for your agents. (Connection-flow details in Organization Tools.)

CLOUDINARY_UPLOAD_ASSET

Tool to upload media assets (images, videos, raw files) to Cloudinary. Use when you need to upload files from local storage or remote URLs. Supports both synchronous and asynchronous uploads with various transformation and analysis options.

NameTypeRequiredDescription
fileobjectNoFile to upload. Either this or file_url must be provided.
file_urlstringNoURL of a remote file to upload. Cloudinary will fetch and upload the file from this URL.
public_idstringNoPublic ID to assign to the uploaded asset. If not specified, Cloudinary generates one automatically.
resource_typestring (“image” | “video” | “raw” | “auto”)NoThe type of resource to upload. Use auto for automatic detection.
folderstringNoFolder path where the asset should be stored (e.g., images/events/2024).
tagsstringNoComma-separated list of tags to assign to the uploaded asset.
transformationstringNoTransformation to apply on upload (e.g., w_400,h_300,c_fill).
overwritebooleanNoWhether to overwrite existing assets with the same public_id. Default: false.
upload_presetstringNoName of an upload preset to use.
notification_urlstringNoWebhook URL to notify when the upload completes.
asyncbooleanNoWhen true, the upload is processed asynchronously.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_UPLOAD_FILE_AUTO_DETECT

Tool to upload files with automatic resource type detection. Use when uploading images, videos, or raw files without specifying the type. Cloudinary automatically detects whether the file is an image, video, or raw file based on its content.

NameTypeRequiredDescription
filestringYesThe file to upload. Can be a URL (http/https), a local file path, or base64-encoded data URI (e.g., data:image/png;base64,...).
public_idstringNoPublic ID to assign to the uploaded asset.
folderstringNoFolder path in your Cloudinary account to store the upload.
tagsstringNoComma-separated list of tags to assign.
overwritebooleanNoOverwrite any existing asset with the same public_id.
upload_presetstringNoName of an upload preset to use. Upload preset settings override individual parameters.
transformationstringNoIncoming transformation to apply on upload (e.g., c_limit,w_500).
notification_urlstringNoWebhook URL to notify when upload completes.
asyncbooleanNoProcess the upload asynchronously in the background.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_SEARCH_ASSETS

Tool to search and filter assets using powerful query expressions. Use when you need to find specific assets by resource type, tags, metadata, or other attributes with sorting and pagination support.

NameTypeRequiredDescription
expressionstringNoThe search expression. Supports exact match, wildcard match, presence, greater/less than, and range. For example: resource_type:image AND tags:kitten.
max_resultsintegerNoThe maximum number of results to return. Default: 50; maximum: 500.
sort_byarrayNoAn array of sort objects, each with a single field and direction. Default: [{'created_at': 'desc'}].
fieldsstringNoA comma-separated list of fields to include in the response.
next_cursorstringNoThe cursor value to get the next page of results.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_GET_RESOURCE_BY_PUBLIC_ID

Tool to get details of a single resource by public ID. All three of resource_type, type, and public_id must exactly match the stored asset’s values; a mismatch in any one causes lookup failure even if the asset exists under a different combination.

NameTypeRequiredDescription
public_idstringYesPublic ID of the resource
resource_typestring (“image” | “video” | “raw”)YesResource type: image, video, or raw
typestringYesDelivery type: upload, private, authenticated, etc.
facesbooleanNoInclude detected face coordinates
colorsbooleanNoInclude color histogram and predominant colors
max_resultsintegerNoMax number of derived or related assets to return (1–500)
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_GET_RESOURCE_BY_ASSET_ID

Get resource details by immutable asset ID. Use when you have the asset_id and not the public_id.

NameTypeRequiredDescription
asset_idstringYesUnique immutable asset ID. Distinct from public_id; do not substitute public_id here.
facesbooleanNoInclude detected face coordinates
colorsbooleanNoInclude color histogram and predominant colors
max_resultsintegerNoMax derived assets to return (1–500)
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_DESTROY_ASSET

Tool to permanently destroy a Cloudinary asset/resource by public ID. This operation is irreversible and removes the asset from Cloudinary storage.

NameTypeRequiredDescription
public_idstringYesThe public ID of the asset to destroy. This operation is permanent and cannot be undone.
resource_typestring (“image” | “video” | “raw”)NoType of resource to destroy. Use video for both video and audio assets.
invalidatebooleanNoWhether to invalidate CDN cached copies of the asset. Takes a few seconds to a few minutes to fully propagate through the CDN.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_LIST_IMAGES

Tool to list image assets from Cloudinary. Use when you need to retrieve a list of image resources, with optional filtering by prefix, tags, or public IDs. Supports pagination for large result sets.

NameTypeRequiredDescription
typestringNoStorage type for assets.
prefixstringNoFind resources with a public ID prefix. Requires the type parameter to be set.
public_idsarrayNoList of public IDs to return.
tagsbooleanNoWhether to include the list of tag names assigned to each asset. Default: false
max_resultsintegerNoMaximum number of results to return (1–500).
next_cursorstringNoCursor for pagination.
directionstring (“asc” | “desc”)NoSort direction for results.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_LIST_VIDEOS

Tool to list video assets from Cloudinary. Use when you need to retrieve video assets with optional filtering by prefix, public IDs, tags, or timestamps.

NameTypeRequiredDescription
typestringNoThe storage type of the video assets. Necessary for prefix filtering.
prefixstringNoA public_id prefix. When specified, all videos with that prefix are returned. The type parameter must also be specified.
public_idsarrayNoAn array of public IDs to return.
tagsbooleanNoWhether to include the list of tag names assigned to each asset. Default: false
max_resultsintegerNoMaximum number of results to return (1–500).
next_cursorstringNoCursor for pagination.
directionstring (“asc” | “desc”)NoSort direction.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_LIST_RAW_FILES

Tool to list raw assets from Cloudinary. Use when you need to retrieve raw files with optional filtering by prefix, tags, or public IDs.

NameTypeRequiredDescription
typestringNoStorage type of the assets.
prefixstringNoA public_id prefix. When specified, all assets with that prefix are returned. The type parameter must also be specified.
public_idsarrayNoAn array of public IDs to return.
tagsbooleanNoWhether to include the list of tag names assigned to each asset. Default: false
max_resultsintegerNoMaximum number of results to return (1–500).
next_cursorstringNoCursor for pagination.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_CREATE_FOLDER

Tool to create a new asset folder. Use when you need to organize assets into nested directories. Use after confirming the folder path does not already exist.

NameTypeRequiredDescription
folderstringYesFull path of the new asset folder (e.g., images/events/2024).
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_DELETE_FOLDER

Tool to delete an empty Cloudinary folder. The folder must be empty before deletion.

NameTypeRequiredDescription
folderstringYesFull path of the folder to delete. The folder must be empty.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_SEARCH_FOLDERS

Tool to search asset folders with filtering, sorting, and pagination. Use when you need to locate specific folders by name, path, or creation date.

NameTypeRequiredDescription
expressionstringNoLucene-like search expression to filter folders. For example: name:sample AND created_at>1w.
max_resultsintegerNoMaximum number of folders to return (1–500). Default is 50.
sort_byarrayNoList of sort objects, each with a single field and direction. Format: [{'field':'direction'}].
next_cursorstringNoCursor for next page of results.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_CREATE_TRANSFORMATION

Tool to create a new named transformation by assigning a custom name to a set of transformation parameters. Use when you need to save and reuse a transformation configuration with a memorable name.

NameTypeRequiredDescription
namestringYesThe name of the transformation to create.
transformationstringYesA valid transformation string defining the set of transformations to apply (e.g., w_100,h_150,c_fill,g_auto).
allowed_for_strictbooleanNoWhether to allow this named transformation when strict transformations are enabled.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_GET_TRANSFORMATION

Tool to retrieve details of a specific transformation. Use when you need to get information about a named transformation or transformation string, including its parameters and usage status.

NameTypeRequiredDescription
transformationstringYesThe transformation identifier. Can be either a named transformation (e.g., small_profile_thumbnail) or a transformation string (e.g., w_100,h_150,c_fill,g_auto).
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_EXPLICIT_RESOURCE

Tool to update an existing asset and/or eagerly generate derived transformations using Cloudinary’s Explicit API. Use when you need to pre-generate transformations, update metadata, move assets to new folders, or modify tags on already-uploaded resources.

NameTypeRequiredDescription
public_idstringYesPublic ID of the existing resource to update or generate transformations for.
resource_typestring (“image” | “video” | “raw”)NoResource type: image, video, or raw. Defaults to image.
typestringNoDelivery type of the resource: upload, private, or authenticated. Defaults to upload.
tagsarrayNoList of tags to assign to the resource. Replaces existing tags.
eagerarrayNoList of eager transformation strings to pre-generate for this asset.
eager_asyncbooleanNoIf true, eager transformations are generated asynchronously in the background.
contextobjectNoCustom contextual metadata as key-value pairs.
metadataobjectNoStructured metadata fields to set on the resource.
invalidatebooleanNoIf true, invalidates the CDN cache for this asset (takes up to 1 hour).
asset_folderstringNoNew asset folder path to move the resource to (dynamic folder mode).
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_UPDATE_RESOURCE_BY_PUBLIC_ID

Tool to update asset properties by public ID in Cloudinary. Use when you need to modify tags, metadata, display name, or other asset properties without re-uploading.

NameTypeRequiredDescription
public_idstringYesPublic ID of the asset to update.
resource_typestring (“image” | “video” | “raw”)YesType of resource: image, video, or raw.
typestringYesStorage type of the resource.
tagsstringNoComma-separated list of tags to assign to the resource.
contextstringNoPipe-separated list of key-value pairs of contextual metadata.
metadatastringNoPipe-separated list of custom metadata fields (by external_id) and their values.
display_namestringNoDisplay name of the resource.
asset_folderstringNoFolder where the asset should be placed.
moderation_statusstring (“approved” | “rejected”)NoModeration status of the resource.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_RENAME_RESOURCE

Tool to rename an asset’s public ID using Cloudinary’s rename endpoint. Use when reorganizing resources by changing public_id without re-uploading. Note: renaming changes URLs; optionally invalidate CDN caches.

NameTypeRequiredDescription
from_public_idstringYesCurrent public ID of the resource to rename.
to_public_idstringYesNew public ID for the resource. Can include folder path (e.g., folder/new_name).
resource_typestring (“image” | “video” | “raw”)YesResource type: image, video, or raw.
typestringNoCurrent delivery type of the resource. Defaults to upload.
overwritebooleanNoIf true, overwrites target public_id if it already exists.
invalidatebooleanNoWhether to invalidate CDN cache for the old URL.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_GENERATE_ARCHIVE

Tool to create an archive (ZIP or TGZ file) containing a set of assets from your Cloudinary environment. Use when you need to download multiple assets as a single archive file. Supports filtering by tags, public IDs, or prefixes.

NameTypeRequiredDescription
resource_typestring (“image” | “video” | “raw” | “all”)YesThe type of resources to include in the archive.
tagsarrayNoList of tags to filter assets for inclusion in the archive.
public_idsarrayNoList of public IDs of specific assets to include in the archive.
prefixesarrayNoList of prefixes to filter assets.
target_formatstring (“zip” | “tgz”)NoArchive file format.
asyncbooleanNoWhether to generate the archive asynchronously. Default: false
notification_urlstringNoURL to receive a POST notification when the archive creation is complete.
target_public_idstringNoPublic ID to assign to the generated archive file.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_GENERATE_SPRITE

Tool to generate sprites by merging multiple images into a single large image. Use when you need to combine multiple images for efficient web delivery. Note: This API was deprecated in 2025 and may not be available in all Cloudinary accounts.

NameTypeRequiredDescription
tagstringNoTag identifying the images to include in the sprite. Either tag or urls must be provided, but not both.
urlsarrayNoList of URLs of images to include in the sprite. Either urls or tag must be provided, but not both.
transformationstringNoTransformation string to apply to each image before merging into the sprite.
asyncbooleanNoSet to true for asynchronous sprite generation.
notification_urlstringNoWebhook URL to notify when async sprite generation completes.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_CREATE_IMAGE_FROM_TEXT

Tool to create an image from text using Cloudinary’s text generation API. Use when you need to generate custom text images with specific styling options.

NameTypeRequiredDescription
textstringYesThe text string to generate an image for. This is the only required field.
public_idstringNoThe identifier that is used for accessing the generated image. If not specified, a unique identifier is generated by Cloudinary.
font_familystringNoThe name of the font family to use for rendering the text.
font_sizeintegerNoFont size in points. Default: 12.
font_colorstringNoName or RGB representation of the font’s color (e.g., red or rgb:FF0000). Default: black.
font_weightstring (“normal” | “bold”)NoFont weight options for text rendering.
backgroundstringNoName or RGB representation of the background color. Default: transparent.
text_alignstring (“left” | “center” | “right” | “justify”)NoText alignment options.
opacityintegerNoText opacity value between 0 and 100. Default: 100.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_SEARCH_VISUAL_ASSETS

Tool to find images in your asset library based on visual similarity or content. Use when searching for visually similar images using an image URL, an existing asset, or a text description.

NameTypeRequiredDescription
image_urlstringNoURL of an image to use as the search query. Find visually similar images.
textstringNoText description to search for semantically similar images.
image_asset_idstringNoAsset ID of an existing Cloudinary image to use as the search query.
thresholdnumberNoSimilarity threshold for filtering results (0.0–1.0). Higher values return more similar results.
max_resultsintegerNoMaximum number of results to return (1–500). Defaults to 50.
next_cursorstringNoCursor for pagination.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_GET_USAGE

Tool to get product environment usage details. Use when you need to monitor your Cloudinary account storage, bandwidth, requests, and other usage limits. Exceeding these limits can silently block uploads and other operations; check usage when operations fail unexpectedly to rule out cap exhaustion.

NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_PING_CLOUDINARY_SERVERS

Tool to ping Cloudinary servers. Use when testing API reachability and authentication.

NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_LIST_UPLOAD_PRESETS

Tool to list all upload presets configured in the account. Use when you need to retrieve and paginate through upload preset configurations.

NameTypeRequiredDescription
order_bystring (“name” | “id” | “updated_at”)NoOrder by field for upload presets.
directionstring (“asc” | “desc”)NoSort direction for upload presets.
next_cursorstringNoCursor for pagination.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_CREATE_UPLOAD_PRESET

Tool to create a new upload preset. Use when defining centralized upload options (tags, formats, transformations, etc.) before asset uploads.

NameTypeRequiredDescription
namestringNoName for the new preset. If omitted, Cloudinary generates one.
folderstringNoFolder path in your Cloudinary account to store uploads.
tagsstringNoComma-separated list of tags to apply to uploads.
eagerstringNoEager transformations to generate on upload (e.g., c_fill,g_face,h_150,w_150).
unsignedbooleanNoAllow unsigned uploads using this preset.
overwritebooleanNoOverwrite any existing asset with the same public_id. Cannot be true when unsigned=true.
transformationstringNoIncoming transformation to apply on upload (e.g., c_limit,w_500).
allowed_formatsstringNoComma-separated list of allowed formats (e.g., jpg,png).
notification_urlstringNoWebhook URL to receive upload notifications.
resource_typestring (“image” | “video” | “raw”)NoAsset type this preset applies to.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_LIST_METADATA_FIELDS

Tool to list all structured metadata fields defined in your Cloudinary product environment. Use to retrieve metadata schema definitions, optionally filtered by external IDs.

NameTypeRequiredDescription
external_idsarrayNoThe external IDs of the metadata fields to retrieve. If not provided, all metadata fields will be returned.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

CLOUDINARY_CREATE_METADATA_FIELD

Tool to create a new metadata field definition. Use when extending your metadata schema with new fields.

NameTypeRequiredDescription
typestring (“string” | “integer” | “date” | “enum” | “set”)YesData type of the metadata field.
labelstringYesHuman-readable label shown in the UI.
external_idstringNoUnique ID for the field (max 255 chars). Auto-generated if omitted.
mandatorybooleanNoWhether a value is required (default false).
default_valuestringNoDefault value for the field. Required if mandatory=true.
datasourceobjectNoPredefined list of values for enum or set metadata fields.
validationobjectNoValidation rules object, e.g. greater_than, strlen, strregex.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not