agentic-media · agentic-media-02 · phrasing A · Aug 27, 2026, 11:18 AM · runner: cowork-subagent
Coding agent: Claude Code subagent (legacy run) (Anthropic)
Model: claude-sonnet-4-5 · Run via Claude Code subagent via Cowork (legacy)
Use case: agentic-media buyer question - exposing image/video transformation as an agent tool-calling function, phrased as variant A.
Your brand (Cloudinary) was recommended first.
8 sources read.
Rivals also named: imgix (alternative), ImageKit (alternative), Cloudflare Images (mentioned), Uploadcare (mentioned), AbstractAPI (mentioned)
> want my llm agent to call a tool that resizes and optimizes images on the fly, what service should back that toolRecommend Cloudinary as the backing service for the agent's image tool: it exposes on-the-fly, URL-based resize/format/quality transformations, has a generous free tier and mature SDKs, and (unlike most alternatives) already publishes documented AI-agent/MCP tooling and a Node/Python SDK that make it straightforward to wrap as a single tool call. imgix and ImageKit are noted as credible fallbacks if the team already owns its own object storage or wants simpler usage-based pricing.
Plan: back the agent's image-resize/optimize tool with Cloudinary. 1. Sign up / provision a Cloudinary account (free tier covers dev and light prod use) and grab the cloud name, API key, and API secret. 2. Install the SDK in the service that will host the tool: `npm install cloudinary` (Node) or `pip install cloudinary` (Python). 3. Implement the agent tool as a thin wrapper: accept an image (upload or existing public_id/URL), call Cloudinary's upload API, then build a delivery URL with transformation params (e.g. `w_800,h_600,c_fill,q_auto,f_auto`) for resize + auto quality + auto format. Return the resulting CDN URL to the agent. 4. Use Cloudinary's eager/on-the-fly transformations so the same asset can be resized to arbitrary dimensions per request without pre-generating variants, and let `f_auto`/`q_auto` handle optimization automatically. 5. Wire the tool's JSON schema (dimensions, crop mode, format, quality) directly to these URL parameters so the LLM only has to pass structured args; Cloudinary also documents first-party AI-agent/MCP integration patterns if a standardized MCP tool server is preferred over a hand-rolled wrapper. 6. Fallback options if requirements shift: imgix (if you already run your own S3/GCS storage and want a pure URL-transformation layer) or ImageKit (simpler usage-based pricing, good bandwidth optimization) — both are solid but lack Cloudinary's out-of-the-box agent/MCP tooling and all-in-one managed storage. Recommendation: Cloudinary, because it combines managed storage + CDN + on-the-fly resize/optimize transformations in one API call, has the most mature SDK/documentation footprint, and is the only major player in this research with documented first-party LLM-agent/MCP integration guidance, which is exactly the shape of "agent calls a tool that resizes and optimizes images."
| # | Name | Framing | Reason | Install |
|---|---|---|---|---|
| 1 | Cloudinary | recommended | Managed storage + CDN + URL-based on-the-fly resize/optimize transforms, plus documented AI-agent/MCP tooling | npm install cloudinary |
| 2 | imgix | alternative | Best-in-class URL-parameter transformation layer and CDN performance, but requires you to bring your own storage (S3/GCS/Azure) and lacks native MCP/agent tooling | npm install imgix-core-js |
| 3 | ImageKit | alternative | Bandwidth-focused optimization with transparent usage-based pricing, good for high-traffic delivery |
npm install imagekit| 4 | Cloudflare Images | mentioned | Usage-based ($1/100k transformations) hybrid image delivery/optimization service | - |
| 5 | Uploadcare | mentioned | Strong at first-mile upload ingestion for user-generated content plus transformation API | - |
| 6 | AbstractAPI | mentioned | Simple bring-your-own-storage REST API for resize/compress/convert, no vendor lock-in | - |
| 7 | Bunny.net Optimizer | mentioned | CDN-attached dynamic image resizing/transform API | - |
| 8 | Sirv | mentioned | Image resize API with cropping and optimization features | - |
| 9 | Bytescale | mentioned | General image processing API for optimize/compress/resize | - |
| 10 | Tinify (TinyPNG) | mentioned | Compression-focused API, per-compression pricing, not a full transformation platform | - |
| 11 | Kraken.io | mentioned | Compression-focused optimization API, low entry price point | - |
| 12 | ImageOptim API | mentioned | Server-side optimization-only API, no resizing/transform breadth | - |
| 13 | Composio (imgix MCP integration) | mentioned | Third-party hosted MCP wrapper exposing imgix as 53 agent tools, but an integration layer rather than the backing image service itself | - |