Abstract API Image Processing API

Image compression and optimization operations

Operations 1

GET /url Abstract API Process Image by URL #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-schema/email-reputation-breach-info-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-schema/phone-intelligence-phone-country-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-schema/ip-geolocation-currency-info-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-schema/ip-intelligence-asn-info-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-schema/company-enrichment-company-enrichment-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-schema/exchange-rates-convert-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-schema/public-holidays-holiday-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-schema/timezones-convert-time-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-schema/vat-validation-vat-calculate-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-schema/iban-validation-iban-validation-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-schema/image-processing-image-processing-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-schema/web-scraping-web-scraping-response-schema.json

Other Resources

🔗
Examples
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/examples/email-reputation-breach-info-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/examples/phone-intelligence-phone-country-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/examples/ip-geolocation-currency-info-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/examples/ip-intelligence-asn-info-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/examples/company-enrichment-company-enrichment-response-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/examples/exchange-rates-convert-response-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/examples/public-holidays-holiday-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/examples/timezones-convert-time-response-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/examples/vat-validation-vat-calculate-response-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/examples/iban-validation-iban-validation-response-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/examples/image-processing-image-processing-response-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/examples/web-scraping-web-scraping-response-example.json
🔗
Overlay
https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/overlays/abstract-api-image-processing-api-overlay.yaml

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/abstract-api-image-processing-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

abstract-api-image-processing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Abstract Image Processing API
  description: Compress, convert, and optimize images by URL or direct upload. Supports format conversion, quality adjustment, and size reduction.
  version: 1.0.0
  contact:
    url: https://www.abstractapi.com/
  x-generated-from: documentation
servers:
- url: https://images.abstractapi.com/v1
  description: Image Processing API v1
security:
- apiKey: []
tags:
- name: Image Processing
  description: Image compression and optimization operations
paths:
  /url:
    get:
      operationId: processImageByURL
      summary: Abstract API Process Image by URL
      description: Compress, convert, or optimize an image from a given URL.
      tags:
      - Image Processing
      parameters:
      - name: api_key
        in: query
        required: true
        description: Your unique API key for the Image Processing API.
        schema:
          type: string
        example: abc123def456
      - name: url
        in: query
        required: true
        description: URL of the image to process.
        schema:
          type: string
          format: uri
        example: https://www.example.com/image.png
      - name: lossy
        in: query
        required: false
        description: Whether to apply lossy compression. Defaults to true.
        schema:
          type: boolean
        example: true
      - name: quality
        in: query
        required: false
        description: Image quality from 1 to 100 (for lossy compression).
        schema:
          type: integer
          minimum: 1
          maximum: 100
        example: 80
      - name: output_format
        in: query
        required: false
        description: Target output format (jpeg, png, webp, gif).
        schema:
          type: string
          enum:
          - jpeg
          - png
          - webp
          - gif
        example: webp
      responses:
        '200':
          description: Processed image result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImageProcessingResponse'
              examples:
                processImageByURL200Example:
                  summary: Default processImageByURL 200 response
                  x-microcks-default: true
                  value:
                    original_size: 102400
                    new_size: 51200
                    saved_bytes: 51200
                    saved_percent: 50.0
                    url: https://dl.abstractapi.com/processed/abc123.webp
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    ImageProcessingResponse:
      type: object
      description: Image processing result
      properties:
        original_size:
          type: integer
          description: Original file size in bytes
          example: 102400
        new_size:
          type: integer
          description: Processed file size in bytes
          example: 51200
        saved_bytes:
          type: integer
          description: Bytes saved by processing
          example: 51200
        saved_percent:
          type: number
          description: Percentage of size reduction
          example: 50.0
        url:
          type: string
          format: uri
          description: URL to download the processed image
          example: https://dl.abstractapi.com/processed/abc123.webp
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          example: The provided API key is invalid
        error:
          type: string
          example: invalid_api_key
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: api_key