Cloudinary Transformations API

Enables you to manage named and unnamed transformations.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1_1/{cloud_name}/transformations List named and unnamed transformations · Lists all transformation definitions in your account, including named… #
Ask an LLM
“Which named transformations are defined in my account?”
“Can I list only unnamed transformations?”
Tell an agent
List all transformations in {cloud_name}.
List {named} transformations in {cloud_name}.
GET /v1_1/{cloud_name}/transformations/{transformation} Get a transformation definition · Retrieves details of a specific transformation #
Ask an LLM
“What does a specific transformation do?”
“Can I look up an unnamed transformation by its string?”
Tell an agent
Show transformation {transformation} in {cloud_name}.
Get the definition of {transformation} in {cloud_name}.
POST /v1_1/{cloud_name}/transformations/{transformation} Create a named transformation · Creates a new named transformation by assigning a custom name to a set of… #
Ask an LLM
“How do I give a name to a transformation string?”
“Can I create a transformation that works with strict transformations?”
Tell an agent
Create transformation {transformation} in {cloud_name} as {transformation}.
Name {transformation} in {cloud_name} with strict allowed set to {allowed_for_strict}.
PUT /v1_1/{cloud_name}/transformations/{transformation} Update a transformation definition · Updates the definition of an existing transformation #
Ask an LLM
“How do I change an existing transformation?”
“Can I allow a transformation when strict transformations are on?”
Tell an agent
Update transformation {transformation} in {cloud_name} to {unsafe_update}.
Set {transformation} in {cloud_name} to allow strict: {allowed_for_strict}.
DELETE /v1_1/{cloud_name}/transformations/{transformation} Delete a transformation · Deletes a named transformation from your account #
Ask an LLM
“How do I remove a named transformation?”
“Can I invalidate derived resources when deleting a transformation?”
Tell an agent destructive · confirm first
Delete transformation {transformation} in {cloud_name}.
Delete {transformation} in {cloud_name} and invalidate derived resources: {invalidate}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudinary:cloudinary-transformations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cloudinary-transformations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudinary Transformations API
  contact:
    name: Cloudinary Support
    email: support@cloudinary.com
    url: https://support.cloudinary.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  termsOfService: https://cloudinary.com/tou
  version: '1.0'
  description: 'Operations tagged transformations across 3 of this provider''s published API definitions: cloudinary-api-schema.yml, cloudinary-environment-config-openapi.yml, cloudinary-platform-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{region}.cloudinary.com
  description: Regional API endpoints for optimal performance.
  variables:
    region:
      default: api
      description: Regional endpoint selection
      enum:
      - api
      - api-eu
      - api-ap
- url: https://{host}
  description: Custom domains for enterprise deployments.
  variables:
    host:
      default: api.cloudinary.com
      description: API host domain.
tags:
- name: transformations
  description: Enables you to manage named and unnamed transformations.
paths:
  /v1_1/{cloud_name}/transformations:
    get:
      x-speakeasy-mcp:
        name: list-transformations
        scopes:
        - admin
        title: List Transformations
        readOnlyHint: true
        idempotentHint: true
      summary: Lists all transformation definitions in your account, including named…
      description: Retrieves a list of all transformations, which can be filtered to show either only named or unnamed transformations.
      tags:
      - transformations
      operationId: listTransformations
      parameters:
      - $ref: '#/components/parameters/cloud_name'
      - name: named
        in: query
        required: false
        schema:
          type: boolean
        description: Whether to return only named (`true`) or unnamed (`false`) transformations. If this parameter isn't included, both named and unnamed transformations will be returned.
      - $ref: '#/components/parameters/max_results_query'
      - $ref: '#/components/parameters/next_cursor_query'
      responses:
        '200':
          description: Transformations retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/transformation_list_response'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
      security:
      - basicAuth: []
      - oauth2:
        - asset_management
        - upload
        - media_generation
    servers:
    - url: https://{region}.cloudinary.com
      description: Regional API endpoints for optimal performance.
      variables:
        region:
          default: api
          description: Regional endpoint selection
          enum:
          - api
          - api-eu
          - api-ap
    - url: https://{host}
      description: Custom domains for enterprise deployments.
      variables:
        host:
          default: api.cloudinary.com
          description: API host domain.
  /v1_1/{cloud_name}/transformations/{transformation}:
    get:
      x-speakeasy-mcp:
        name: get-transformation-details
        scopes:
        - admin
        title: Get Transformation Details
        readOnlyHint: true
        idempotentHint: true
      summary: Retrieves details of a specific transformation
      description: Retrieves details for a named or unnamed transformation.
      tags:
      - transformations
      operationId: getTransformation
      parameters:
      - $ref: '#/components/parameters/cloud_name'
      - $ref: '#/components/parameters/transformation'
      responses:
        '200':
          description: Transformation details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/transformation_info'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '404':
          description: Transformation not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
      security:
      - basicAuth: []
      - oauth2:
        - asset_management
        - upload
        - media_generation
    post:
      x-speakeasy-mcp:
        name: create-transformation
        scopes:
        - admin
        title: Create Transformation
      summary: Creates a new named transformation by assigning a custom name to a set of…
      description: Creates a new named transformation with the given name and transformation string.
      tags:
      - transformations
      operationId: createTransformation
      parameters:
      - $ref: '#/components/parameters/cloud_name'
      - $ref: '#/components/parameters/transformation_name'
      requestBody:
        description: The named transformation definition.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_request'
      responses:
        '200':
          description: Transformation created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/message_response'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '409':
          description: Conflict (transformation already exists)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
      security:
      - basicAuth: []
      - oauth2:
        - asset_management
        - upload
        - media_generation
    put:
      x-speakeasy-mcp:
        name: update-transformation
        scopes:
        - admin
        title: Update Transformation
        idempotentHint: true
      summary: Updates the definition of an existing transformation
      description: Updates a named or unnamed transformation.
      tags:
      - transformations
      operationId: updateTransformation
      parameters:
      - $ref: '#/components/parameters/cloud_name'
      - $ref: '#/components/parameters/transformation'
      requestBody:
        description: The updated transformation definition.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_request'
      responses:
        '200':
          description: Transformation updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/message_response'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
      security:
      - basicAuth: []
      - oauth2:
        - asset_management
        - upload
        - media_generation
    delete:
      x-speakeasy-mcp:
        name: delete-transformation
        scopes:
        - admin
        title: Delete Transformation
        destructiveHint: true
        idempotentHint: true
      summary: Deletes a named transformation from your account
      description: Delete a named or unnamed transformation. Optionally invalidate derived resources generated using the named transformation.
      tags:
      - transformations
      operationId: deleteTransformation
      parameters:
      - $ref: '#/components/parameters/cloud_name'
      - $ref: '#/components/parameters/transformation'
      - name: invalidate
        in: query
        required: false
        schema:
          type: boolean
        description: Invalidate derived resources generated using the deleted transformation from CDN.
        example: true
      responses:
        '200':
          description: Transformation deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/message_response'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '404':
          description: Transformation not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
      security:
      - basicAuth: []
      - oauth2:
        - asset_management
        - upload
        - media_generation
    servers:
    - url: https://{region}.cloudinary.com
      description: Regional API endpoints for optimal performance.
      variables:
        region:
          default: api
          description: Regional endpoint selection
          enum:
          - api
          - api-eu
          - api-ap
    - url: https://{host}
      description: Custom domains for enterprise deployments.
      variables:
        host:
          default: api.cloudinary.com
          description: API host domain.
components:
  schemas:
    message_response:
      type: object
      properties:
        message:
          type: string
          description: A human-readable status message.
          example: updated
      required:
      - message
    create_request:
      type: object
      required:
      - transformation
      properties:
        transformation:
          type: string
          description: A valid transformation string.
          example: w_100,h_150,c_fill,g_auto
        allowed_for_strict:
          $ref: '#/components/schemas/allowed_for_strict'
    transformation_info:
      type: object
      properties:
        name:
          type: string
          example: small_profile_thumbnail
        allowed_for_strict:
          type: boolean
          description: 'Whether to allow this named transformation when [strict transformations](https://cloudinary.com/documentation/control_access_to_media#strict_transformations) are enabled.

            '
          example: true
        used:
          type: boolean
          example: true
        named:
          type: boolean
          example: true
        info:
          type: array
          description: API transformation parameters
          items:
            type: object
            properties:
              width:
                oneOf:
                - type: integer
                - type: string
                description: Width - integer pixels or string variable reference (e.g., "$w")
              height:
                oneOf:
                - type: integer
                - type: string
                description: Height - integer pixels or string variable reference (e.g., "$h")
              crop:
                type: string
              gravity:
                type: string
          example:
          - width: 100
            height: 150
            crop: fill
            gravity: auto
        derived:
          type: array
          items:
            type: object
            properties:
              public_id:
                type: string
                example: sample_image
              resource_type:
                type: string
                example: image
              type:
                type: string
                example: upload
              format:
                type: string
                example: jpg
              url:
                type: string
                example: http://res.cloudinary.com/demo/image/upload/v1620000000/sample_image.jpg
              secure_url:
                type: string
                example: https://res.cloudinary.com/demo/image/upload/v1620000000/sample_image.jpg
              bytes:
                type: integer
                example: 123456
              id:
                type: string
                example: 1234abcd5678efgh
        next_cursor:
          type: string
          example: eyJvZmZzZXQiOjEwMH0=
    transformation_list_response:
      type: object
      properties:
        transformations:
          type: array
          items:
            $ref: '#/components/schemas/transformation_summary'
        next_cursor:
          type:
          - string
          - 'null'
    update_request:
      type: object
      properties:
        unsafe_update:
          type: string
          description: 'Required when modifying the transformation parameters of an existing named transformation. The new transformation definition for the named transformation.

            Because the changed definition can be unsafe for (significantly change) assets in production, the change is applied only to newly generated derived assets that reference this named transformation.


            To apply the change to existing derived assets using this named transformation, invalidate them so that they''ll be regenerated with the new definition when next requested.

            '
          example: w_200,h_200,c_fill,g_face
        allowed_for_strict:
          $ref: '#/components/schemas/allowed_for_strict'
    transformation_summary:
      type: object
      properties:
        name:
          type: string
          example: t_small_profile_thumbnail
        allowed_for_strict:
          type: boolean
          example: true
        used:
          type: boolean
          example: false
        named:
          type: boolean
          example: true
    api_error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
          required:
          - message
      required:
      - error
    allowed_for_strict:
      type: boolean
      description: 'Whether to allow this named transformation when strict transformations are enabled. Strict transformations prevent transformations from being dynamically applied to media assets.

        '
      example: true
  parameters:
    transformation_name:
      name: transformation
      in: path
      required: true
      schema:
        type: string
      description: The valid transformation name to create.
      example: small_profile_thumbnail
    cloud_name:
      name: cloud_name
      in: path
      required: true
      schema:
        type: string
      description: The cloud name of your product environment.
      example: my_cloud
    next_cursor_query:
      name: next_cursor
      in: query
      required: false
      schema:
        type: string
      description: The cursor for pagination. Use the next_cursor value from a previous response to get the next page of results.
    transformation:
      name: transformation
      in: path
      required: true
      schema:
        type: string
      description: 'The 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'').

        '
      examples:
        named:
          summary: Named transformation
          value: small_profile_thumbnail
        string:
          summary: Transformation string
          value: w_100,h_150,c_fill,g_auto
    max_results_query:
      name: max_results
      in: query
      required: false
      schema:
        type: integer
        minimum: 1
        maximum: 500
        default: 10
      description: The maximum number of results to return. Default is 10.
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Basic authentication using Cloudinary API Key and API Secret.
    oauth2:
      type: oauth2
      description: OAuth2 Authorization Code flow for user authentication
      flows:
        authorizationCode:
          authorizationUrl: https://oauth.cloudinary.com/oauth2/auth
          tokenUrl: https://oauth.cloudinary.com/oauth2/token
          scopes:
            asset_management: Allows managing assets, including reading, updating, and deleting.
            upload: Allows uploading new assets.
            media_generation: Generate media
x-refined-from:
- cloudinary-api-schema.yml
- cloudinary-environment-config-openapi.yml
- cloudinary-platform-openapi.yml