Cloudmersive Resize API

Resize operations of the Cloudmersive Image Recognition and Processing API — 3 operation(s) served from https://api.cloudmersive.com and authenticated with the Apikey header. One Cloudmersive API key grants access to every API in the portfolio.

Operations 3

POST /image/resize/ai/target Resize an image with AI super sampling #
POST /image/resize/target/{width}/{height} Resize an image #
POST /image/resize/preserveAspectRatio/{maxWidth}/{maxHeight} Resize an image while preserving aspect ratio #

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/cloudmersive:cloudmersive-resize-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

cloudmersive-resize-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1
  title: imageapi Resize API
  description: Image Recognition and Processing APIs let you use Artificial Intelligence and Machine Learning to recognize and process images, and also perform useful image modification operations.
servers:
- url: http://localhost
tags:
- name: Resize
paths:
  /image/resize/ai/target:
    post:
      tags:
      - Resize
      summary: Resize an image with AI super sampling
      description: Use AI super sampling to resize a small or low resolution image to twice the size. Input image should be PNG or JPG, and smaller than 200 x 200 pixels (larger images will be resized down). Consumes 20 API calls.
      operationId: Resize_ResizeAISuperSampling
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                format: byte
                type: string
      security:
      - Apikey: []
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                imageFile:
                  type: string
                  description: Image file to perform the operation on.  Common file formats such as PNG, JPEG are supported.
                  format: binary
              required:
              - imageFile
  /image/resize/target/{width}/{height}:
    post:
      tags:
      - Resize
      summary: Resize an image
      description: Resize an image to a specific width and specific height. Resize is EXIF-aware.
      operationId: Resize_ResizeSimple
      parameters:
      - name: width
        in: path
        description: Width of the output image - final image will be exactly this width
        required: true
        schema:
          type: integer
          format: int32
      - name: height
        in: path
        description: Height of the output image - final image will be exactly this height
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                format: byte
                type: string
      security:
      - Apikey: []
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                imageFile:
                  type: string
                  description: Image file to perform the operation on.  Common file formats such as PNG, JPEG are supported.
                  format: binary
              required:
              - imageFile
  /image/resize/preserveAspectRatio/{maxWidth}/{maxHeight}:
    post:
      tags:
      - Resize
      summary: Resize an image while preserving aspect ratio
      description: Resize an image to a maximum width and maximum height, while preserving the image's original aspect ratio. Resize is EXIF-aware.
      operationId: Resize_Post
      parameters:
      - name: maxWidth
        in: path
        description: Maximum width of the output image - final image will be as large as possible while less than or equial to this width
        required: true
        schema:
          type: integer
          format: int32
      - name: maxHeight
        in: path
        description: Maximum height of the output image - final image will be as large as possible while less than or equial to this height
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                format: byte
                type: string
      security:
      - Apikey: []
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                imageFile:
                  type: string
                  description: Image file to perform the operation on.  Common file formats such as PNG, JPEG are supported.
                  format: binary
              required:
              - imageFile
components:
  securitySchemes:
    Apikey:
      type: apiKey
      description: API Key Authentication
      name: Apikey
      in: header
x-provenance:
  method: harvested
  publisher: Cloudmersive
  source: https://api.cloudmersive.com/image/docs/v1/swagger
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)