Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

Terms & Conditions•Privacy Policy•
© 2026 Jentic. All rights reserved.
Switch to light modeSwitch to dark mode
APIs / Media / Image Upload API
Image Upload API logo

Apilayer Image Upload API

Agent-ready OpenAPI document · curated by JenticMediaImage ProcessingapiKey7 EndpointsREST

Know of an official OpenAPI document? Contribute it →

For Agents

Upload, transform, and serve images through 7 apilayer endpoints covering upload, resize, crop, optimize, and delete.

Use for: Upload a product photo to apilayer's image hosting, Pull an image from a remote URL and host it on apilayer, Resize an uploaded image to 800 by 600 pixels, Crop the top banner out of an uploaded image

Not supported: Does not handle video processing, AI background removal, or DAM-style metadata workflows - use for image upload, transformation, and retrieval only.

Jentic publishes the only available OpenAPI specification for the apilayer Image Upload API, keeping it validated and agent-ready. The Image Upload API uploads JPG, PNG, and GIF images directly or by URL, then exposes operations for resize, crop, and optimize. It is built for product catalogs and content sites that need a single vendor for storage and on-the-fly transformation, and authentication uses an apikey header issued from the apilayer dashboard. Seven endpoints cover the upload, retrieval, deletion, and three transformation actions.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Image Upload API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Image Upload API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fapilayer.com%2Fapilayer" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fapilayer.com%2Fapilayer" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Image Upload API.

Upload an image directly via multipart POST or by URL with POST /upload/url

Retrieve image metadata and the hosted URL via GET /image/{imageId}

Resize an existing image to specified width and height via POST /resize

Crop an existing image to a target rectangle via POST /crop

Optimize an image's file size while preserving visible quality via POST /optimize

Delete a previously uploaded image via DELETE /image/{imageId} when it is no longer needed

Use Cases

Patterns agents use Image Upload API for, with concrete tasks.

★ Product image pipeline

Upload product photographs once via POST /upload, then call /resize, /crop, and /optimize to derive the thumbnails, hero images, and listing tiles a storefront needs. The Image Upload API hosts the resulting images so the storefront can serve them directly without operating its own CDN. This collapses what is usually a multi-tool pipeline into a small set of REST calls behind a single apikey.

POST /upload with the original image, then POST /resize with the returned imageId, width=800, and height=800 to produce a square thumbnail.

Content migration from external URLs

Move images already hosted elsewhere into apilayer's storage by passing the source URL to POST /upload/url. The API fetches and stores the image and returns a stable imageId you can use with /resize, /crop, and /optimize. This is well suited for migrating a blog or catalog onto apilayer without manually downloading and re-uploading every asset.

POST /upload/url with body {url:'https://oldsite.example.com/photo.jpg'} to import the image and receive its new imageId.

On-demand image optimization for performance

Run /optimize over uploaded images to reduce payload size for faster page loads, especially on mobile. The endpoint preserves visible quality while stripping unnecessary metadata and re-encoding more efficiently, and the optimized result can be retrieved through /image/{imageId}. This gives a cheap performance lift without changing the storefront's image markup.

POST /optimize with the imageId and optional quality parameter to produce a smaller file while keeping the same dimensions.

Agent-driven media operations

An AI agent maintaining a content catalog can call upload, transform, and delete operations through Jentic without ever holding the apilayer apikey. Jentic returns the relevant operation schemas on demand and injects credentials at execution time, so the agent's job is just to pick the right transformation for each piece of content.

Through Jentic, search 'upload and resize an image', load the apilayer.com /upload and /resize operations, and execute them in sequence with the new asset.

Key Endpoints

7 endpoints — jentic publishes the only available openapi specification for the apilayer image upload api, keeping it validated and agent-ready.

METHOD

PATH

DESCRIPTION

POST

/upload

Upload an image via multipart

POST

/upload/url

Upload an image from a remote URL

POST

/resize

Resize an uploaded image

POST

/crop

Crop an uploaded image

POST

/optimize

Optimize file size of an uploaded image

GET

/image/{imageId}

Retrieve image metadata

DELETE

/image/{imageId}

Delete an uploaded image

POST

/upload

Upload an image via multipart

POST

/upload/url

Upload an image from a remote URL

POST

/resize

Resize an uploaded image

POST

/crop

Crop an uploaded image

POST

/optimize

Optimize file size of an uploaded image

GET

/image/{imageId}

Retrieve image metadata

DELETE

/image/{imageId}

Delete an uploaded image

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Setup

Wiring the apilayer Image Upload API by hand means setting up its API key, learning the upload and transformation operations, and handling image responses yourself. Through Jentic you install once, import apilayer Image Upload from the API Directory, store the key once, and your agent calls it.

Permission scoping

Permission scoping

The apilayer Image Upload API puts the image id in the URL path (/image/{imageId}) while uploads and transforms take parameters in the request, so scope the agent to the operations it needs, such as uploading and retrieving an image, and leave out delete unless you add it. You choose the allowed operations, so the agent only calls what you list.

Credential management

Credential isolation

Your apilayer key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.

Intent-based discovery

Intent-based discovery

Agents search Jentic by intent such as 'upload an image' or 'resize an image', and Jentic returns the matching apilayer Image Upload operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

Cloudinary Upload API

→

Mature media platform with extensive transformation pipelines.

Choose Cloudinary when you need URL-based on-the-fly transformations and broad format support beyond JPG, PNG, and GIF.

Alternative

Filestack

→

Upload and processing API with strong picker UI components.

Choose Filestack when you also want a hosted upload widget for end users in addition to programmatic uploads.

Complementary

remove.bg

→

Specialised background-removal API.

Use remove.bg before /upload when product shots need backgrounds stripped, then store the processed image via apilayer.

FAQs

Specific to using Image Upload API through Jentic.

Why is there no official OpenAPI spec for the Image Upload API?

apilayer does not publish a standalone OpenAPI specification for the Image Upload API. Jentic generates and maintains this spec so that AI agents and developers can call Image Upload API via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer .

What authentication does the Image Upload API use?

The API uses an apiKey passed in the apikey request header. Issue keys from the apilayer dashboard. Through Jentic, the apikey is held in the vault and added to the request server-side, so the raw key never reaches the agent.

Can I import an image from an existing URL instead of uploading bytes?

Yes. POST /upload/url with the source URL and apilayer fetches the image, stores it, and returns an imageId you can use with /resize, /crop, /optimize, or /image/{imageId}.

How do I run an image optimization through Jentic?

Search Jentic for 'optimize an image', load the apilayer.com /optimize operation, and execute with the imageId from a prior /upload call. The optimized image is retrievable via GET /image/{imageId}.

What formats does the Image Upload API support?

The spec describes JPG, PNG, and GIF inputs. /resize, /crop, and /optimize operate on those formats and return processed assets in the same family. WebP and HEIC are not declared in the spec.

What are the rate limits for the Image Upload API?

Rate limits are not declared in the OpenAPI spec. apilayer enforces monthly quotas tied to subscription plan, visible on the apilayer dashboard. Treat HTTP 429 as a signal to back off.

Can I limit what my agent is allowed to do with the Image Upload API?

Yes. Jentic One is self-hosted, so you run it and your own rules decide which apilayer Image Upload operations your agent may call. You can allow just uploading and retrieving images (POST /upload, POST /upload/url, GET /image/{imageId}) plus the transforms you need (POST /resize, POST /crop, POST /optimize), and leave out DELETE /image/{imageId} so the agent cannot remove hosted assets. Your Jentic One instance holds the apilayer key and injects it at execution time, so the agent only calls the operations you list and never sees the raw credential.

GET STARTED

Start building with Image Upload API

Explore with Jentic One
View OpenAPI Document