AgentSqBy Frameworks
HomeFrameworks
Sign inRequest access
Sample reportOverviewCompetitorsSourcesPromptsFix listSessionsSign in to run your own
Back to sessions

image-api-03-a

image-api · image-api-03 · phrasing A · Aug 27, 2026, 11:18 AM · runner: cowork-subagent

About this test

Clean session - no memory from other tests
What it was

Coding agent: Claude Code subagent (legacy run) (Anthropic)

Model: claude-sonnet-4-5 · Run via Claude Code subagent via Cowork (legacy)

Use case: image-api buyer question - multi-tenant Shopify app image optimization at scale, phrased as variant A.

How it differs
Same question, run 2 other ways - different wording and/or coding agent:
Phrasing B · Claude Code subagent (legacy run)Phrasing C · Claude Code subagent (legacy run)
What the outcome was

Your brand (Cloudinary) was recommended first.

8 sources read.

Rivals also named: imgix (alternative), ImageKit (mentioned)

claude-code - plan mode
> building a shopify app that needs to optimize and resize merchant product images on the fly, what service should i use

Answer summary

Recommend Cloudinary: it exposes a full programmatic Node.js SDK plus a URL-based transformation API that can fetch and resize/optimize a merchant's existing Shopify CDN images on the fly (auto-format, auto-quality, crop/gravity), which fits an app's server-side needs better than ImageKit's Shopify integration (a theme Liquid URL-rewrite, not an app-level API) or imgix (equally capable but requires bringing your own storage bucket, adding setup overhead for a multi-tenant app). Cloudinary's free tier and mature ecosystem also make it the fastest path to shipping.

Plan

1. Use Cloudinary as the image optimization/resizing layer for the app.
   Install: npm i cloudinary
2. In the app backend, use Cloudinary's 'fetch' delivery type (or an authenticated upload) to pull each merchant's existing Shopify CDN product image URL into Cloudinary on first request, so you don't have to re-host every merchant's media library yourself.
3. Build transformation URLs (or use the Node SDK's cloudinary.url()/cloudinary.image() helpers) with f_auto,q_auto plus w_/h_/c_fill,g_auto params to get responsive, auto-format (WebP/AVIF), auto-quality resizes on the fly, cached at Cloudinary's CDN edge.
4. Store only the Cloudinary public_id / derived URL pattern in your app's database per product image, not the transformed binaries, so new sizes/crops can be generated on demand without reprocessing.
5. Add Cloudinary API key/secret to the app's per-shop config (or a single app-wide Cloudinary account with folder-per-shop) and gate usage against Cloudinary's free tier (25 credits/mo) before deciding whether to pass costs through to merchants on a paid plan.
6. Fallback/alternative: if you want to avoid managing a second storage layer, evaluate imgix (npm i @imgix/js-core or just URL-based, no SDK required) — same on-the-fly resize/format capabilities via URL params, but it requires connecting your own S3/GCS bucket as the image origin, which adds infra work for a multi-tenant app. Not recommended as the first choice here given Cloudinary's simpler fetch-from-URL flow.
7. Do not use ImageKit's Shopify integration for this — it's a theme-level Liquid snippet that rewrites storefront image URLs, not an app-facing API, so it doesn't fit a Shopify app that needs to resize/optimize images programmatically from its own backend.

Vendors named

#NameFramingReasonInstall
1CloudinaryrecommendedNode.js SDK + URL-based on-the-fly transformation API with fetch-from-URL support, ideal for pulling and resizing merchant Shopify CDN images from an app backendnpm i cloudinary
2imgixalternativeEqually capable URL-driven resize/optimize API, but requires connecting your own S3/GCS/Azure storage bucket as the image origin, adding setup overhead for a multi-tenant appnpm i @imgix/js-core
3ImageKitmentionedHas a Shopify integration, but it's a theme Liquid URL-rewrite for storefront pages, not an app-level API suited to programmatic backend resizing

Sources timeline

  1. search “Shopify app resize optimize product images on the fly API”
  2. search “Cloudinary vs imgix Shopify app image optimization”
  3. search “ImageKit Shopify app real-time image resizing integration node.js”
  4. Shopify Image Compression - CloudinaryYours cited
-
https://cloudinary.com/tools/shopify-image-compression
Confirmed Cloudinary's API/SDK integration options and transformation features for Shopify images
  • ImageKit Shopify ExtensionRival cited
    https://imagekit.io/docs/integration/shopify
    Determined ImageKit's Shopify integration is a theme Liquid URL-rewrite rather than an app-level API
  • Cloudinary vs Imgix: Comparing Two Image Management PlatformsYours cited
    https://cloudinary.com/guides/vs/cloudinary-vs-imgix
    Compared pricing model and storage/integration tradeoffs between Cloudinary and imgix
  • cloudinary - npmYour listing
    https://www.npmjs.com/package/cloudinary
    Attempted to confirm npm install command for Cloudinary Node SDK; fetch blocked (403)
  • search “Shopify CDN image resize URL parameters width height built-in”