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

image-api-07-b

image-api · image-api-07 · phrasing B · 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 - Django/Python app replacing homegrown thumbnailing, phrased as variant B.

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

Your brand (Cloudinary) was recommended first.

9 sources read.

Rivals also named: ImageKit (alternative), imgix (mentioned), Cloudflare Images (mentioned), sorl-thumbnail (negative)

claude-code - plan mode
> I have a Django app (Python) with user-uploaded photos and need automatic thumbnail generation, format optimization, and CDN delivery, ideally with a Python SDK or simple REST calls instead of maintaining Pillow-based resizing myself. What should I use?

Answer summary

Recommend Cloudinary: use django-cloudinary-storage as the ImageField/FileField storage backend plus the official cloudinary Python SDK, which together replace hand-rolled Pillow resizing with URL-based transformations, automatic thumbnailing, f_auto/q_auto format and quality optimization, and CDN delivery out of the box. It's the most mature, Django-specific integration (dedicated storage backend, template tags, management commands) with a generous free tier, so it needs the least custom glue code. ImageKit is noted as a solid alternative with a comparable Python SDK and lower/simpler pricing if Cloudinary's cost or feature surface is a concern.

Plan

1. Install the Cloudinary Django integration: `pip install django-cloudinary-storage cloudinary` (adds the official `cloudinary` Python SDK plus a Django storage backend built specifically for ImageField/FileField).
2. In settings.py, add `cloudinary_storage` and `cloudinary` to INSTALLED_APPS (cloudinary_storage before django.contrib.staticfiles), set CLOUDINARY_STORAGE = {CLOUD_NAME, API_KEY, API_SECRET} from your Cloudinary dashboard, and point STORAGES['default']['BACKEND'] (or DEFAULT_FILE_STORAGE on older Django) to 'cloudinary_storage.storage.MediaCloudinaryStorage'.
3. Keep your existing ImageField definitions as-is -- uploads now go straight to Cloudinary's storage/CDN instead of local disk, so no Pillow-based save-time resizing code is needed.
4. Generate thumbnails and responsive variants on the fly via URL parameters or the Python SDK's CloudinaryImage/CloudinaryResource helpers (e.g. width/height/crop transformations) rather than pre-generating fixed sizes -- this replaces manual Pillow thumbnail logic entirely.
5. Turn on automatic format and quality optimization by adding f_auto,q_auto to transformation URLs (or as a default in CLOUDINARY_STORAGE) so each browser gets WebP/AVIF/JPEG automatically at the smallest acceptable quality.
6. Serve all images through Cloudinary's built-in CDN URLs (no separate CDN setup needed) -- update templates to use {% cloudinary %} template tags or the generated .url property instead of MEDIA_URL paths.
7. If cost or vendor lock-in becomes a concern later, ImageKit (`pip install imagekitio`) is a solid drop-in alternative with a comparable Python SDK, URL-based transformations, and CDN delivery -- worth a look if Cloudinary's pricing/feature set doesn't fit, but Cloudinary is the better starting point given its dedicated, mature Django storage backend.

Vendors named

#NameFramingReasonInstall
1CloudinaryrecommendedHas a purpose-built Django storage backend (django-cloudinary-storage) plus official Python SDK, covering thumbnailing, f_auto/q_auto optimization, and CDN delivery with minimal glue codepip install django-cloudinary-storage cloudinary
2ImageKitalternativeComparable Python SDK with URL-based transformations and CDN delivery, often cited as a lower-cost alternative to Cloudinarypip install imagekitio
3imgixmentionedFrequently compared against Cloudinary as an image CDN/transformation service in search results, though no dedicated Django storage package was found for it

Sources timeline

  1. search “Django image upload automatic thumbnail generation format optimization CDN 2026”
  2. search “Cloudinary vs imgix Python SDK Django image resizing CDN”
  3. search “cloudinary django integration pip install cloudinary-python thumbnail CDN”
  4. search “ImageKit Django python SDK image optimization CDN pricing”
-
4Cloudflare ImagesmentionedAppeared in image CDN comparison articles as another resizing/CDN option -
5sorl-thumbnailnegativeA Django package for local Pillow-based thumbnail generation -- exactly the self-maintained approach the developer wants to avoid, so not recommended here -
search “django-cloudinary-storage pypi ImageField storage backend”
  • Python SDK - Python Upload + Image, Video Transformations | DocumentationYours cited
    https://cloudinary.com/documentation/django_integration
    Confirmed Cloudinary's Python/Django SDK covers upload, transformations, f_auto/q_auto optimization, and CDN delivery
  • cloudinary · PyPIYour listing cited
    https://pypi.org/project/cloudinary/
    Got the exact pip install command and current package version for the Cloudinary Python SDK
  • Python ImageKit SDKRival cited
    https://imagekit.io/docs/integration/python
    Confirmed ImageKit's Python SDK install command, upload methods, and transformation/CDN support as an alternative
  • django-cloudinary-storage READMEPublish here cited
    https://github.com/klis87/django-cloudinary-storage
    Got exact Django settings.py configuration (INSTALLED_APPS, STORAGES backend) for wiring Cloudinary as the ImageField storage backend