<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Cloudinary</title>
    <description>The latest articles on DEV Community by Cloudinary (cloudinary).</description>
    <link>https://dev.to/cloudinary</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F7286%2F8677e80f-fe6d-40e5-a9d6-c72af0042cd8.png</url>
      <title>DEV Community: Cloudinary</title>
      <link>https://dev.to/cloudinary</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cloudinary"/>
    <language>en</language>
    <item>
      <title>My Agent Built a Paid Media Storefront Before I Signed Up for Anything</title>
      <dc:creator>Nick Bradley</dc:creator>
      <pubDate>Wed, 12 Aug 2026 12:53:25 +0000</pubDate>
      <link>https://dev.to/cloudinary/my-agent-built-a-paid-media-storefront-before-i-signed-up-for-anything-2k47</link>
      <guid>https://dev.to/cloudinary/my-agent-built-a-paid-media-storefront-before-i-signed-up-for-anything-2k47</guid>
      <description>&lt;p&gt;Here's a build log that would have been impossible a year ago.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;I told an agent to clone &lt;a href="https://github.com/cloudinary-devs/unshutter" rel="noopener noreferrer"&gt;unshutter&lt;/a&gt; and get it running.&lt;/li&gt;
&lt;li&gt;It provisioned a Cloudinary Claimable Cloud, a Neon Postgres database and a Stripe sandbox, &lt;strong&gt;without me creating a single account.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;It configured the media pipeline, then ran a real test purchase end to end: watermarked preview → Stripe Checkout → signed download of the original.&lt;/li&gt;
&lt;li&gt;It handed me two claim URLs and stopped.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I claimed the environments the way you review a PR: after seeing the working result.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc6kqo3udt5myswfvxnyy.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc6kqo3udt5myswfvxnyy.webp" alt="The unshutter gallery: watermarked previews on a warm gallery wall, originals locked behind the media layer" width="799" height="635"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The storefront is just the demo. What I actually want to talk about is the provisioning.&lt;/p&gt;

&lt;h2&gt;
  
  
  The one step agents couldn't do
&lt;/h2&gt;

&lt;p&gt;Agents don't evaluate a product the way we do. They don't read the landing page or compare the pricing table. They want to &lt;em&gt;try it&lt;/em&gt;: spin something up, build against it, run the result, decide.&lt;/p&gt;

&lt;p&gt;Until recently every platform had exactly one step that blocked that: &lt;strong&gt;creating the account.&lt;/strong&gt; A signup form, an email confirmation, a dashboard to fish an API key out of. Ten minutes of human clicking standing in front of hours of autonomous work.&lt;/p&gt;

&lt;p&gt;That step is gone across this whole stack:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @cloudinary/cloud        &lt;span class="c"&gt;# Claimable Cloud → CLOUDINARY_URL in .env, claim URL, 24h&lt;/span&gt;
npx neon-new &lt;span class="nt"&gt;--yes&lt;/span&gt;           &lt;span class="c"&gt;# Claimable Postgres → connection string, claim URL, 72h&lt;/span&gt;
stripe sandbox create        &lt;span class="c"&gt;# anonymous sandbox → working test keys&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Three commands, no signups, and each one returns working credentials plus a claim link.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cloudinary.com/documentation/claimable_cloud_provisioning" rel="noopener noreferrer"&gt;Cloudinary's version&lt;/a&gt; returns something like this:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight properties"&gt;&lt;code&gt;&lt;span class="py"&gt;CLOUD_NAME&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;a1b2c3d4&lt;/span&gt;
&lt;span class="py"&gt;API_KEY&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;123456789012345&lt;/span&gt;
&lt;span class="py"&gt;API_SECRET&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;«redacted»&lt;/span&gt;
&lt;span class="py"&gt;CLOUDINARY_URL&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;cloudinary://123456789012345:«redacted»@a1b2c3d4&lt;/span&gt;
&lt;span class="py"&gt;EXPIRES_AT&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;2026-08-06T08:29:07Z&lt;/span&gt;
&lt;span class="py"&gt;CLAIM_URL&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;https://cloudinary.com/users/agent_email_confirmation?token=«redacted»&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;It writes &lt;code&gt;CLOUDINARY_URL&lt;/code&gt; straight into &lt;code&gt;.env&lt;/code&gt; and the whole platform is live from that first call: uploads, transformations, AI add-ons, CDN delivery. There's no trial tier with a queue in front of it.&lt;/p&gt;

&lt;p&gt;Two properties matter for what follows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Unclaimed, it expires in 24 hours.&lt;/strong&gt; Claiming it (email confirmation on that URL) converts it to a permanent free account, with the same cloud name, the same credentials and every uploaded asset intact.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unclaimed, media delivery is locked to a public IP&lt;/strong&gt;, by default the one the command ran from. You can name up to three at provisioning time by repeating &lt;code&gt;--ip&lt;/code&gt;, which is enough for your laptop plus a preview host, but not enough for the open internet.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;The second one is the interesting bit: &lt;strong&gt;the claim is the go-public switch.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The agent's build works from the IPs it was provisioned for. Claiming is the moment it can serve media to anyone, anywhere. That's why the agent stops at a working local site instead of deploying: deploy before claiming and you've published something that looks broken to every visitor but you. Claim, then deploy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fry13aj8f1rhsk1h5gbd6.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fry13aj8f1rhsk1h5gbd6.jpeg" alt="Agent provisioning diagram" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  What it built
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/cloudinary-devs/unshutter" rel="noopener noreferrer"&gt;unshutter&lt;/a&gt; &lt;em&gt;(v.: to open the shutters; to let the light in)&lt;/em&gt; is a stock-media storefront selling photos, videos and photosets. Next.js 16, Payload CMS, Neon, Stripe, Cloudinary, MIT-licensed. Every mechanic below links to the file that implements it, so you can check my work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The paywall is enforced by the media layer, not by hiding URLs.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Originals upload as restricted assets, &lt;code&gt;type: private&lt;/code&gt; for images and &lt;code&gt;type: authenticated&lt;/code&gt; for video (&lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/src/lib/cloudinary/uploadOriginal.ts" rel="noopener noreferrer"&gt;&lt;code&gt;uploadOriginal.ts&lt;/code&gt;&lt;/a&gt;). The CDN refuses to deliver them unsigned.&lt;/li&gt;
&lt;li&gt;With Strict Transformations on, only allowlisted transformations resolve publicly (&lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/src/components/PreviewImage.tsx" rel="noopener noreferrer"&gt;&lt;code&gt;PreviewImage.tsx&lt;/code&gt;&lt;/a&gt; is the one component allowed to render them). There's no URL you can craft to get the un-watermarked variant, and what the public &lt;em&gt;can&lt;/em&gt; see is deliberately degraded: watermark, &lt;code&gt;q_auto:low&lt;/code&gt;, size-capped.&lt;/li&gt;
&lt;li&gt;Paying mints a ~10-minute signed download URL (&lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/src/lib/cloudinary/buildDownloadUrl.ts" rel="noopener noreferrer"&gt;&lt;code&gt;buildDownloadUrl.ts&lt;/code&gt;&lt;/a&gt;). &lt;strong&gt;Stripe's payment record &lt;em&gt;is&lt;/em&gt; the entitlement&lt;/strong&gt;, checked with one live API call per visit (&lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/src/lib/stripe/verifySession.ts" rel="noopener noreferrer"&gt;&lt;code&gt;verifySession.ts&lt;/code&gt;&lt;/a&gt;). No user table, no entitlement table.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Videos lean on &lt;code&gt;e_preview&lt;/code&gt; for an AI-picked five-second clip plus six filmstrip stills (&lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/src/lib/cloudinary/videoTransformations.ts" rel="noopener noreferrer"&gt;&lt;code&gt;videoTransformations.ts&lt;/code&gt;&lt;/a&gt;). Photosets sell a folder as one product, delivered as a signed, expiring zip that &lt;code&gt;generate_archive&lt;/code&gt; assembles on the fly (&lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/src/lib/cloudinary/buildPhotosetZipUrl.ts" rel="noopener noreferrer"&gt;&lt;code&gt;buildPhotosetZipUrl.ts&lt;/code&gt;&lt;/a&gt;, &lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/scripts/ingest-photoset.ts" rel="noopener noreferrer"&gt;ingest script&lt;/a&gt;).&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;tbody&gt;
&lt;tr&gt;
    &lt;td width="50%"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fcloudinary-devs%2Funshutter%2Fmain%2Fdocs%2Fpromo%2Fvideo.webp" alt="A video product page with an AI-picked 5-second preview clip and a six-frame watermarked filmstrip" width="799" height="635"&gt;&lt;/td&gt;
    &lt;td width="50%"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fcloudinary-devs%2Funshutter%2Fmain%2Fdocs%2Fpromo%2Fphotoset.webp" alt="A photoset product page: a folder of originals behind curated previews, sold as one zip" width="799" height="635"&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;It's worth reading even if you never run it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/src/lib/cloudinary/README.md" rel="noopener noreferrer"&gt;&lt;strong&gt;&lt;code&gt;src/lib/cloudinary/README.md&lt;/code&gt;&lt;/strong&gt;&lt;/a&gt;: the honest version of this section. Every named transformation with its exact recipe, why &lt;code&gt;f_auto&lt;/code&gt; has to be chained outside the named transformation, and the trade-offs I accepted rather than solved. Every URL builder sits in &lt;a href="https://github.com/cloudinary-devs/unshutter/tree/main/src/lib/cloudinary" rel="noopener noreferrer"&gt;&lt;code&gt;src/lib/cloudinary/&lt;/code&gt;&lt;/a&gt; with unit tests beside it.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/docs/ARCHITECTURE.md" rel="noopener noreferrer"&gt;&lt;strong&gt;&lt;code&gt;docs/ARCHITECTURE.md&lt;/code&gt;&lt;/strong&gt;&lt;/a&gt;: how Payload, Neon, Stripe and Cloudinary divide the work, plus &lt;a href="https://github.com/cloudinary-devs/unshutter/tree/main/src/collections" rel="noopener noreferrer"&gt;&lt;code&gt;src/collections/&lt;/code&gt;&lt;/a&gt; for the CMS hooks that upload on save and destroy on delete.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/src/site.config.ts" rel="noopener noreferrer"&gt;&lt;code&gt;src/site.config.ts&lt;/code&gt;&lt;/a&gt; and &lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/src/styles/unshutter-tokens.css" rel="noopener noreferrer"&gt;&lt;code&gt;unshutter-tokens.css&lt;/code&gt;&lt;/a&gt;: rebranding it as your own storefront is those two files and no component edits.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Read the code: &lt;a href="https://github.com/cloudinary-devs/unshutter" rel="noopener noreferrer"&gt;github.com/cloudinary-devs/unshutter&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every one of those mechanics is configuration that has to exist &lt;em&gt;inside&lt;/em&gt; the media account: named transformations, strict-mode allowlists, delivery types, signed archives. That's the real test of an anonymously provisioned one.&lt;/p&gt;
&lt;h2&gt;
  
  
  Could it actually do the work?
&lt;/h2&gt;

&lt;p&gt;Provisioning an empty environment is the easy half. The question is whether an agent can stand all that up in one:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It configured the pipeline.&lt;/strong&gt; Four named transformations created over the Admin API (the watermark chain, OG images, the AI video preview, the filmstrip stills), each flagged &lt;code&gt;allowed_for_strict: true&lt;/code&gt;. No console, no clicking.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It verified the security model instead of assuming it.&lt;/strong&gt; Uploaded test media, then requested a raw original URL unsigned and confirmed the 401. That check matters: if Strict Transformations happens to be off, the watermark is bypassable and everything above is theatre. So the agent proves it and reports what it found.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It ran the money path.&lt;/strong&gt; Browse → cart → Stripe Checkout with &lt;code&gt;4242 4242 4242 4242&lt;/code&gt; → webhook → &lt;code&gt;/download&lt;/code&gt; → signed URL → un-watermarked original on disk.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Then it stopped&lt;/strong&gt; and told me what existed and what needed claiming.&lt;/p&gt;

&lt;p&gt;All of it ran against live infrastructure rather than mocks. When it needed current facts rather than whatever was in its training data, it read Cloudinary's &lt;a href="https://cloudinary.com/documentation/agents_start_here" rel="noopener noreferrer"&gt;agent docs&lt;/a&gt; and machine-readable &lt;a href="https://cloudinary.com/documentation/llms.txt" rel="noopener noreferrer"&gt;llms.txt&lt;/a&gt;, the same entry points any agent can load.&lt;/p&gt;
&lt;h2&gt;
  
  
  Where the human went
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Before&lt;/th&gt;
&lt;th&gt;Now&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Get three live environments&lt;/td&gt;
&lt;td&gt;✋ three signup forms, dashboard key hunts&lt;/td&gt;
&lt;td&gt;🤖 three commands, no accounts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Write the credentials into &lt;code&gt;.env&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;✋ copy-paste&lt;/td&gt;
&lt;td&gt;🤖&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Configure the media pipeline&lt;/td&gt;
&lt;td&gt;✋ console clicking&lt;/td&gt;
&lt;td&gt;🤖 Admin API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Verify the paywall holds&lt;/td&gt;
&lt;td&gt;✋ hope&lt;/td&gt;
&lt;td&gt;🤖 tested, reported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Own the environments&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;✋ &lt;strong&gt;first&lt;/strong&gt;, before a line of code ran&lt;/td&gt;
&lt;td&gt;✋ &lt;strong&gt;last&lt;/strong&gt;, confirm an email, ≤24h / ≤72h&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deploy it&lt;/td&gt;
&lt;td&gt;✋&lt;/td&gt;
&lt;td&gt;✋ your account, your call&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Decide it's real money time&lt;/td&gt;
&lt;td&gt;✋&lt;/td&gt;
&lt;td&gt;✋&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Read that middle row on its own: the email confirmation didn't disappear, it just stopped being step zero. Same click, opposite end of the process. By the time you make it, you're confirming something you've already watched work.&lt;/p&gt;

&lt;p&gt;The human touches didn't only shrink, they &lt;strong&gt;moved to after the work&lt;/strong&gt;, where they feel like decisions rather than chores. What's left is ownership, infrastructure and judgment, which is roughly what should need a person anyway.&lt;/p&gt;
&lt;h2&gt;
  
  
  Things that bit us
&lt;/h2&gt;

&lt;p&gt;None of this was completely frictionless but the agent was able to route around it. Some things worth knowing before you try it:&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
  Already have a Cloudinary account to use? You don't have to provision a Claimable Cloud (but you might want to)
  &lt;p&gt;Claimable Clouds make it easy to provision a working environment, but claiming one means confirming an email address. If that address already belongs to a Cloudinary account, the claim page rejects it. So a claimable cloud you provision for real work can't be folded into the account you already have.&lt;/p&gt;

&lt;p&gt;If you're already a customer, just hand the agent credentials from your own account.&lt;/p&gt;



&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
  The IP lock surprises you at deploy time
  &lt;p&gt;An unclaimed cloud delivers media only to the IPs it was provisioned for, by default just the machine that ran the command. Locally everything is perfect; deploy it and the site is fine &lt;em&gt;for you&lt;/em&gt; and broken for everyone else. You can allow up to three addresses at provisioning time by repeating &lt;code&gt;--ip&lt;/code&gt; (handy for a laptop plus a preview host, and &lt;code&gt;requester_ip&lt;/code&gt; is accepted as a literal), but going properly public means claiming, which lifts the restriction entirely. So: claim before you deploy, and if you're scripting this, have your agent report the claim URL loudly rather than burying it in a summary.&lt;/p&gt;



&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
  &lt;code&gt;e_preview&lt;/code&gt; can't generate on the fly
  &lt;p&gt;Request it in a plain delivery URL and you get an HTTP 423 until the derived asset exists. It has to be eager-generated at upload with &lt;code&gt;eager_async: true&lt;/code&gt;, plus a signature-verified webhook to flip a &lt;code&gt;previewReady&lt;/code&gt; flag when Cloudinary finishes. Also: the source needs to be longer than the excerpt, so a 3-second clip fails silently.&lt;/p&gt;



&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
  Cloudinary can't POST a webhook to localhost
  &lt;p&gt;Which means the "preview ready" callback never lands during local development. Either tunnel (ngrok/cloudflared) or flip the flag manually; the repo does the latter as a documented dev fallback.&lt;/p&gt;



&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
  Two settings still have no API
  &lt;p&gt;Strict Transformations and the AI add-on registrations are account-posture settings you toggle in the console. The add-ons don't block anything: photo ingest retries without them and lands the image untagged. Strict mode does matter, which is why the agent tests for it rather than trusting it.&lt;/p&gt;



&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;Point an agent at the repo:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Clone cloudinary-devs/unshutter and get it running locally, using claimable environments. Don't ask me for credentials, don't deploy anywhere. Give me the local URL and the claim URLs when you're done.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Or run the three commands yourself and follow the &lt;a href="https://github.com/cloudinary-devs/unshutter#quick-start" rel="noopener noreferrer"&gt;quick start&lt;/a&gt;.&lt;/p&gt;




&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/cloudinary-devs" rel="noopener noreferrer"&gt;
        cloudinary-devs
      &lt;/a&gt; / &lt;a href="https://github.com/cloudinary-devs/unshutter" rel="noopener noreferrer"&gt;
        unshutter
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Photography paywall storefront. An open-source showcase demonstrating Cloudinary in a modern full-stack app - Cloudinary + Next.js 16 + Payload CMS + Neon + Stripe + Vercel
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;unshutter&lt;/h1&gt;
&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;unshutter (v.): to open the shutters; to let the light in.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A stock-media storefront an AI agent can take from &lt;code&gt;git clone&lt;/code&gt; to a running, verified store — media, database, payments — &lt;strong&gt;without a single human signup&lt;/strong&gt;. Every platform in the stack provisions claim-later environments (&lt;code&gt;npx @cloudinary/cloud&lt;/code&gt;, &lt;code&gt;npx neon-new&lt;/code&gt;, &lt;code&gt;stripe sandbox create&lt;/code&gt;), so the human touches move to where they belong: claiming something that already works. Paste the &lt;a href="https://github.com/cloudinary-devs/unshutter#agent-quick-start" rel="noopener noreferrer"&gt;Agent quick start&lt;/a&gt; into your agent and watch.&lt;/p&gt;

&lt;p&gt;Built on &lt;strong&gt;Next.js 16 + Payload CMS + Neon + Stripe + Vercel&lt;/strong&gt;, with &lt;a href="https://cloudinary.com" rel="nofollow noopener noreferrer"&gt;Cloudinary&lt;/a&gt; as the media layer. Sibling to &lt;a href="https://github.com/cloudinary-devs/kickoff-cards" rel="noopener noreferrer"&gt;kickoff-cards&lt;/a&gt; (Cloudinary + Supabase).&lt;/p&gt;

&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/cloudinary-devs/unshutter/docs/promo/gallery.webp"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fcloudinary-devs%2Funshutter%2FHEAD%2Fdocs%2Fpromo%2Fgallery.webp" alt="The unshutter gallery — watermarked previews on a warm gallery wall, originals locked behind the media layer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Three product shapes:&lt;/p&gt;


&lt;ul&gt;

&lt;li&gt;

&lt;strong&gt;Photos&lt;/strong&gt; — browse watermarked, heavily compressed &lt;strong&gt;Previews&lt;/strong&gt;; paying &lt;strong&gt;unshutters&lt;/strong&gt; the image with a time-limited signed link to the full-size &lt;strong&gt;Original&lt;/strong&gt;
&lt;/li&gt;

&lt;li&gt;

&lt;strong&gt;Videos&lt;/strong&gt; — an AI-selected 5-second watermarked, low-res preview clip (Cloudinary &lt;code&gt;e_preview&lt;/code&gt;) plus six auto-extracted watermarked stills; purchase…&lt;/li&gt;

&lt;/ul&gt;&lt;/div&gt;
&lt;br&gt;
  &lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/cloudinary-devs/unshutter" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;





&lt;p&gt;The repo ships the guardrails that made agent-building work on a stack this fiddly: &lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/AGENTS.md" rel="noopener noreferrer"&gt;&lt;code&gt;AGENTS.md&lt;/code&gt;&lt;/a&gt; working agreements, a &lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/docs/AGENT-PROVISIONING.md" rel="noopener noreferrer"&gt;provisioning walkthrough&lt;/a&gt; with every human touch called out, and the &lt;a href="https://github.com/cloudinary-devs/unshutter/blob/main/docs/VERIFIED.md" rel="noopener noreferrer"&gt;verified platform facts&lt;/a&gt; the implementation rests on. Sibling project, same idea with Supabase: &lt;a href="https://github.com/cloudinary-devs/kickoff-cards" rel="noopener noreferrer"&gt;Kickoff Cards&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Further reading: &lt;a href="https://cloudinary.com/documentation/claimable_cloud_provisioning" rel="noopener noreferrer"&gt;Claimable Cloud provisioning&lt;/a&gt; · &lt;a href="https://cloudinary.com/documentation/agents_start_here" rel="noopener noreferrer"&gt;Agents, start here&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Most of the media plumbing is the agent's job now. What was left for me was deciding whether to keep what it built.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Cloudinary ❤️ developers&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ready to level up your media workflow? Start using Cloudinary for free and build better visual experiences today.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;👉 &lt;strong&gt;&lt;a href="https://link.cloudinary.com/ur9jo" rel="noopener noreferrer"&gt;Create your free account&lt;/a&gt;&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>nextjs</category>
      <category>cloudinary</category>
    </item>
    <item>
      <title>Resize One Image into 6 Social Media Formats Automatically Using Cloudinary Claimable Clouds</title>
      <dc:creator>Jen Looper</dc:creator>
      <pubDate>Wed, 05 Aug 2026 21:30:34 +0000</pubDate>
      <link>https://dev.to/cloudinary/resize-one-image-into-6-social-media-formats-automatically-using-cloudinary-claimable-clouds-3gfc</link>
      <guid>https://dev.to/cloudinary/resize-one-image-into-6-social-media-formats-automatically-using-cloudinary-claimable-clouds-3gfc</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Claimable Clouds are temporary Cloudinary environments for AI workflows that let AI Agents safely manage media with no signup required.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Imagine you're a busy designer, with many satisfied clients who depend on you to take their images and make them look great across social media. All that manual cropping and scaling, it's enough to make a body cry.&lt;/p&gt;

&lt;p&gt;On top of that, you know that AI can give you a hand here, but managing the handoff between your AI, your own skilled hands and artistic taste and style, and your always-in-a-hurry client list is another big pain.&lt;/p&gt;

&lt;p&gt;Enter the concept of the Cloudinary Claimable Cloud, just released today.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://cloudinary.com/documentation/claimable_cloud_provisioning" rel="noopener noreferrer"&gt;Take a look at the docs&lt;/a&gt; about these new temporary instances available now&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What we built and why
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Provision a disposable Cloudinary cloud with no signup, using &lt;code&gt;npx @cloudinary/cloud&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Auto-detect a dropped image and upload it to that temporary cloud&lt;/li&gt;
&lt;li&gt;Auto-crop it into 6+ social formats (Instagram, LinkedIn, X, Facebook, Stories) using AI-based smart cropping&lt;/li&gt;
&lt;li&gt;Generate a side-by-side gallery of results automatically&lt;/li&gt;
&lt;li&gt;Hand off a Claim URL so a client can make the cloud permanent&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now, you can hand off the main pain points to AI - the resizing and reshaping of your images for the various social media platforms, while giving your clients a clean handoff via a temporary Cloud environment that they can use to create a Cloudinary account and start using these assets.&lt;/p&gt;

&lt;p&gt;One side effect: this also nudges your whole client base toward the same toolset - Cloudinary. The bigger deal is working with an AI agent that makes your life easier but ALSO allows you to keep control of the output. &lt;/p&gt;

&lt;p&gt;Let's walk through how this works! It all boils down to a new command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @cloudinary/cloud
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Type that into your terminal to kick off the process. &lt;/p&gt;

&lt;p&gt;I built a &lt;a href="http://github.com/jlooper/social-me" rel="noopener noreferrer"&gt;small app&lt;/a&gt; around this concept to provide this AI agent with a simple harness, so let me show how that looks. The user experience is to drop any image you want resized into the &lt;code&gt;/drop&lt;/code&gt; folder. Under the cover, there are a few more processes at work: &lt;/p&gt;

&lt;h2&gt;
  
  
  Provisioning: Spin Up a Temporary Cloudinary Cloud
&lt;/h2&gt;

&lt;p&gt;On the first run, the app spins up a disposable Cloudinary "Claimable Cloud" via &lt;code&gt;npx @cloudinary/cloud&lt;/code&gt; with temporary credentials, so no signup is required. The generated credentials are saved temporarily in a .env file locally. This gives the tool a live upload/delivery endpoint without any manual account setup. These credentials are refreshed when you start the app: &lt;code&gt;npm i &amp;amp;&amp;amp; npm start&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Watch &amp;amp; Transform: Auto-Crop for Each Social Platform
&lt;/h2&gt;

&lt;p&gt;The app watches the &lt;code&gt;drop&lt;/code&gt; folder for new images. When a high-resolution master image lands there, it's uploaded to this temporary Cloudinary instance. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffnb9cfto74uahxogcb89.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffnb9cfto74uahxogcb89.jpeg" alt="a Nano Banana image" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The image we want to resize&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Then it's run through a set of predefined social-media format specs (Instagram Square, Portrait, Story/Reels/TikTok, LinkedIn, X/Twitter, Facebook) using dynamic transformations like c_fill,g_auto for smart auto-cropping to each platform's exact aspect ratio and dimensions, focusing on the most important element. Control these formats and transformations in the &lt;code&gt;src/formats.js&lt;/code&gt; file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;FORMATS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;instagram-square&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;label&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Instagram Square Post&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;ratio&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;1:1&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1080&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1080&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;buildTransformation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;subjectFill&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1080&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1080&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;instagram-portrait&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;label&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Instagram Feed Portrait&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;ratio&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;4:5&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1080&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1350&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;buildTransformation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;subjectFill&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1080&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1350&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;instagram-story&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;label&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Instagram Story / Reels / TikTok&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;ratio&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;9:16&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1080&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1920&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;buildTransformation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;padWithBlurredBackground&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1080&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1920&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;...&lt;/span&gt;
&lt;span class="p"&gt;];&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Render Results &amp;amp; Send to Client: Share a Claim URL
&lt;/h2&gt;

&lt;p&gt;The temporary Claimable Cloud is provisioned using the temporary credentials stored in .env:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Ensures a usable CLOUDINARY_URL is in process.env, provisioning a disposable&lt;/span&gt;
&lt;span class="c1"&gt;// cloud on demand. Returns { claimUrl } (claimUrl is undefined when a cloud&lt;/span&gt;
&lt;span class="c1"&gt;// was already configured before this run).&lt;/span&gt;
&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;ensureCloud&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nf"&gt;loadEnv&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;CLOUDINARY_URL&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;claimUrl&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;CLOUDINARY_CLOUD_CLAIM_URL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;provisioned&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt; &lt;span class="p"&gt;};&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;No Cloudinary cloud configured yet — provisioning a disposable one (no signup needed)...&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;raw&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;raw&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;execFileSync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
      &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;npx&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;-y&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@cloudinary/cloud&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;create&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;--no-agent-metadata&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;encoding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;utf8&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;catch &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;err&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;combined&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;err&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;stdout&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="dl"&gt;''&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;\n&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;err&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;stderr&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="dl"&gt;''&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;trim&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
    &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;redact&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;combined&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nx"&gt;err&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;values&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;parseKeyValues&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;raw&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nf"&gt;loadEnv&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;CLOUDINARY_URL&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Cloud provisioning did not produce a CLOUDINARY_URL.&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;claimUrl&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;values&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;CLAIM_URL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;provisioned&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="p"&gt;};&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Generated variant URLs are written to manifest.json and rendered into an auto-generated side-by-side HTML gallery, which opens automatically. The output also includes a Claim URL, letting the disposable cloud be handed off (e.g., to a client) and made permanent at any time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvntpjxpac7lcfhshn7z4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvntpjxpac7lcfhshn7z4.png" alt="The results" width="800" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The temporary link and generated gallery of images to pick from. Note the fancy Instagram one!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Now you can pass that Claim URL right on to your client and start the process of allowing them to claim the results and start working with them. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmqmu2njweqs5sqfsd2xv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmqmu2njweqs5sqfsd2xv.png" alt="login box for claimable cloud" width="800" height="677"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is an early feature, with more agent-based tools coming from Cloudinary soon. Watch for more interesting work around AI agents in the near future!&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Cloudinary ❤️ developers&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ready to level up your media workflow? Start using Cloudinary for free and build better visual experiences today.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;👉 &lt;strong&gt;&lt;a href="https://link.cloudinary.com/ur1AT" rel="noopener noreferrer"&gt;Create your free account&lt;/a&gt;&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Up and Running with Cloudinary’s Next Starter Kit</title>
      <dc:creator>Eric Portis</dc:creator>
      <pubDate>Mon, 03 Aug 2026 22:17:13 +0000</pubDate>
      <link>https://dev.to/cloudinary/up-and-running-with-cloudinarys-next-starter-kit-4586</link>
      <guid>https://dev.to/cloudinary/up-and-running-with-cloudinarys-next-starter-kit-4586</guid>
      <description>&lt;p&gt;Back in April, &lt;a href="https://cloudinary.com/blog/web-app-create-cloudinary-react" rel="noopener noreferrer"&gt;we released&lt;/a&gt; our &lt;a href="https://github.com/cloudinary-devs/create-cloudinary-react" rel="noopener noreferrer"&gt;React Starter Kit&lt;/a&gt;. The React Starter Kit allows you to type one command in the terminal, answer a few questions, and scaffold out a complete, Cloudinary-powered React application, hooked up to all of Cloudinary's latest and greatest tooling for agentic coding workflows.&lt;/p&gt;

&lt;p&gt;Today we're releasing &lt;a href="https://github.com/cloudinary-devs/create-cloudinary-next" rel="noopener noreferrer"&gt;a sequel&lt;/a&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx create-cloudinary-next
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you're spinning up a fresh, media-driven &lt;a href="https://nextjs.org" rel="noopener noreferrer"&gt;&lt;em&gt;Next.js&lt;/em&gt;&lt;/a&gt; application, we think typing those 26 characters into your terminal and hitting &lt;code&gt;return&lt;/code&gt; is the best way to start.&lt;/p&gt;

&lt;h2&gt;
  
  
  A quick demo of Cloudinary's Next Starter Kit
&lt;/h2&gt;

&lt;p&gt;Here's a quick example of the kind of app this allows you to quickly prototype.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/Be7aR-Z_NCE"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  What Cloudinary's Next Starter Kit actually does
&lt;/h2&gt;

&lt;p&gt;What does the Next Starter Kit actually do?&lt;/p&gt;

&lt;p&gt;First, it asks you a few questions about your Cloudinary account and development environment. If you don't have the necessary prerequisites in place, it'll guide you through the process of creating them. Once you do, it records your answers in specific environment variables, configuring your app to work with your Cloudinary account.&lt;/p&gt;

&lt;p&gt;Then, it runs &lt;a href="https://nextjs.org/docs/app/api-reference/cli/create-next-app" rel="noopener noreferrer"&gt;create-next-app&lt;/a&gt;, installing Next.js and spinning up a working Next app using our &lt;a href="https://github.com/cloudinary-devs/create-cloudinary-next-template" rel="noopener noreferrer"&gt;starter template&lt;/a&gt;. The template includes our Next.js library and demonstrates use of our official Next.js components for upload and delivery, and suggests a handful of prompts to get you started building.&lt;/p&gt;

&lt;p&gt;Last, depending which AI coding assistants you told the Starter Kit that you were using during setup, it configures and installs the relevant Cloudinary &lt;a href="https://github.com/cloudinary/mcp-servers" rel="noopener noreferrer"&gt;MCP servers&lt;/a&gt; and &lt;a href="https://github.com/cloudinary-devs/skills" rel="noopener noreferrer"&gt;skills&lt;/a&gt; where your assistants can find them.&lt;/p&gt;

&lt;p&gt;The end result is a running Next.js app that can upload and deliver media from your Cloudinary account using our &lt;a href="https://cloudinary.com/documentation/nextjs_integration#use" rel="noopener noreferrer"&gt;official Next.js components&lt;/a&gt;, and a development environment primed for prompting.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Cloudinary Next.js skill
&lt;/h2&gt;

&lt;p&gt;The heart and soul of the agentic story here is our new &lt;a href="https://github.com/cloudinary-devs/skills/tree/main/skills/cloudinary-next" rel="noopener noreferrer"&gt;Next.js skill&lt;/a&gt;. The skill is the result of a mountain of user research. Late last year, my colleague Raya Straus spent weeks talking to users, poring over support tickets and error logs, and soliciting reviews from internal experts. The result is a bunch of advice about how to be successful when using Cloudinary generally and our Next.js library specifically, distilled into an installable skill. When paired with our existing &lt;a href="https://github.com/cloudinary-devs/skills/tree/main/skills/cloudinary-docs" rel="noopener noreferrer"&gt;documentation&lt;/a&gt; and &lt;a href="https://github.com/cloudinary-devs/skills/tree/main/skills/cloudinary-transformations" rel="noopener noreferrer"&gt;transformation&lt;/a&gt; skills, it helps agentic tooling succeed with Cloudinary and catch common errors.&lt;/p&gt;

&lt;p&gt;We're excited to launch the skill alongside the Starter Kit, and to keep iterating on both based on automated evals and feedback from users like you.&lt;/p&gt;

&lt;h2&gt;
  
  
  And you're off
&lt;/h2&gt;

&lt;p&gt;So! if you're prototyping or building a new media-driven Next.js app, start here:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx create-cloudinary-next
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And please, let us know what you think in the comments!  &lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Cloudinary ❤️ developers&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ready to level up your media workflow? Start using Cloudinary for free and build better visual experiences today.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;👉 &lt;strong&gt;&lt;a href="https://link.cloudinary.com/urXbL" rel="noopener noreferrer"&gt;Create your free account&lt;/a&gt;&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>javascript</category>
      <category>nextjs</category>
      <category>react</category>
      <category>webdev</category>
    </item>
    <item>
      <title>No Brief. No Limits. Five Builds Powered by the Cloudinary Skills Pack</title>
      <dc:creator>eugene musebe</dc:creator>
      <pubDate>Sun, 26 Jul 2026 19:54:23 +0000</pubDate>
      <link>https://dev.to/cloudinary/no-brief-no-limits-five-builds-powered-by-the-cloudinary-skills-pack-425a</link>
      <guid>https://dev.to/cloudinary/no-brief-no-limits-five-builds-powered-by-the-cloudinary-skills-pack-425a</guid>
      <description>&lt;p&gt;Our &lt;a href="https://dev.to/cloudinary/5-projects-2-weeks-1-goal-building-a-more-sustainable-web-2gc8"&gt;last Mini-Hack&lt;/a&gt; started with a constraint.&lt;/p&gt;

&lt;p&gt;Build something that makes the web lighter, faster, and more sustainable.&lt;/p&gt;

&lt;p&gt;For June, we tried the opposite.&lt;/p&gt;

&lt;p&gt;No theme. No prescribed problem. No expectation that every submission should look or work the same.&lt;/p&gt;

&lt;p&gt;We gave the &lt;a href="https://cloudinary.com/developers/community" rel="noopener noreferrer"&gt;Cloudinary Creators community&lt;/a&gt; a new toolkit, one simple requirement, and as much creative freedom as possible:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use at least one skill from the &lt;a href="https://cloudinary.com/documentation/cloudinary_llm_mcp#cloudinary_skills" rel="noopener noreferrer"&gt;Cloudinary Skills Pack&lt;/a&gt; and build something real.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Solo or with a partner. Small experiment or ambitious product. Developer tool, creative platform, healthcare app, media editor, or something we had never considered.&lt;/p&gt;

&lt;p&gt;The result was five projects that went in five completely different directions.&lt;/p&gt;

&lt;p&gt;That was exactly the point.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Brief Was Almost No Brief
&lt;/h2&gt;

&lt;p&gt;The challenge was called &lt;strong&gt;Open Innovation with the Cloudinary Skills Pack&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The instructions were deliberately simple:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Build anything you want.&lt;/li&gt;
&lt;li&gt;Use at least one Cloudinary AI skill.&lt;/li&gt;
&lt;li&gt;Focus on utility.&lt;/li&gt;
&lt;li&gt;Keep the scope manageable.&lt;/li&gt;
&lt;li&gt;Show the community what you made.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Creators could submit a live demo, public repository, project write-up, or walkthrough video.&lt;/p&gt;

&lt;p&gt;There was no shared industry, audience, or use case. We wanted creators to start with problems they personally cared about, then explore how Cloudinary could help them solve those problems.&lt;/p&gt;

&lt;h2&gt;
  
  
  Meet the Cloudinary Skills Pack
&lt;/h2&gt;

&lt;p&gt;The Mini-Hack centered on the newly launched &lt;strong&gt;&lt;a href="https://cloudinary.com/documentation/cloudinary_llm_mcp#cloudinary_skills" rel="noopener noreferrer"&gt;Cloudinary Skills Pack&lt;/a&gt;&lt;/strong&gt;, a collection of agent skills designed to help AI coding tools work more accurately with images, videos, transformations, and Cloudinary SDKs.&lt;/p&gt;

&lt;p&gt;The pack included three skills:&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;code&gt;cloudinary-docs&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;Grounds AI agents in Cloudinary documentation so they can provide more accurate implementation guidance instead of relying on outdated patterns or guessing.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;code&gt;cloudinary-transformations&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;Turns natural-language transformation requests into valid Cloudinary image and video transformation URLs.&lt;/p&gt;

&lt;p&gt;Describe what you want, such as removing a background, resizing an image, generating a crop, or applying an effect, and the skill helps translate that request into a usable transformation.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;code&gt;cloudinary-react&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;Provides current Cloudinary React SDK guidance, including component patterns, package usage, and correct import paths.&lt;/p&gt;

&lt;p&gt;Together, the skills give AI coding agents a better understanding of how media workflows should actually be built.&lt;/p&gt;

&lt;p&gt;Our pitch to the community was simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here is a toolkit for building AI experiences that understand media. Now show us a use case we have not thought of yet.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Support Along the Way
&lt;/h2&gt;

&lt;p&gt;Open-ended challenges create freedom, but they can also create uncertainty.&lt;/p&gt;

&lt;p&gt;To help creators move from ideas to finished projects, we hosted a live Office Hours session on Discord. Participants could bring Skills Pack questions, implementation problems, deployment issues, or unfinished ideas.&lt;/p&gt;

&lt;p&gt;Community members and mentors worked through errors, discussed project scope, and helped builders polish their submissions before the deadline.&lt;/p&gt;

&lt;p&gt;Then came the final push.&lt;/p&gt;

&lt;p&gt;Submissions officially closed on July 5.&lt;/p&gt;

&lt;p&gt;Participants were competing for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A Cloudinary swag pack&lt;/li&gt;
&lt;li&gt;AI credits for future projects&lt;/li&gt;
&lt;li&gt;A featured place in the Cloudinary Community Showcase&lt;/li&gt;
&lt;li&gt;Promotion across Cloudinary social channels&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Five Projects, Five Completely Different Directions
&lt;/h2&gt;

&lt;p&gt;Removing the theme did not make the projects feel disconnected.&lt;/p&gt;

&lt;p&gt;Instead, it revealed what our creators were already interested in solving.&lt;/p&gt;

&lt;p&gt;They built media editors, optimization platforms, recovery journals, developer copilots, and branding assistants.&lt;/p&gt;

&lt;p&gt;The projects shared the same toolkit, but almost nothing else.&lt;/p&gt;

&lt;h2&gt;
  
  
  CloudCanvas, by Joyston
&lt;/h2&gt;

&lt;p&gt;What would a Photoshop or Canva-style editor look like if Cloudinary powered the entire media workflow?&lt;/p&gt;

&lt;p&gt;That is the question behind &lt;strong&gt;CloudCanvas&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;CloudCanvas is an AI-powered image editor that runs directly in the browser. It uses a non-destructive, layer-based canvas, allowing users to upload images, generate new visuals, apply edits, and export optimized assets without leaving the application.&lt;/p&gt;

&lt;p&gt;Its editing tools include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Smart Expand&lt;/li&gt;
&lt;li&gt;Object Removal&lt;/li&gt;
&lt;li&gt;Background Removal&lt;/li&gt;
&lt;li&gt;AI Restore&lt;/li&gt;
&lt;li&gt;Artistic filters&lt;/li&gt;
&lt;li&gt;AI image generation&lt;/li&gt;
&lt;li&gt;Optimized media exports&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Rather than demonstrating a single Cloudinary transformation, CloudCanvas combines several capabilities into one complete creative workflow.&lt;/p&gt;

&lt;p&gt;It was also the first submission we received, setting a strong pace for the rest of the challenge.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3azz401xta1t9kfcs75l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3azz401xta1t9kfcs75l.png" alt="CloudCanvas" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Explore the project:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://cloud-canvas-fr.vercel.app/" rel="noopener noreferrer"&gt;Try the live demo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Snap Optimizer AI, by Aashi
&lt;/h2&gt;

&lt;p&gt;Some projects solve one media problem extremely well.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Snap Optimizer AI&lt;/strong&gt; solves several.&lt;/p&gt;

&lt;p&gt;Aashi built an all-in-one image optimization platform that brings enhancement, editing, compression, resizing, and asset creation into one interface.&lt;/p&gt;

&lt;p&gt;Users can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enhance image quality using AI&lt;/li&gt;
&lt;li&gt;Remove backgrounds&lt;/li&gt;
&lt;li&gt;Compress large image files&lt;/li&gt;
&lt;li&gt;Resize and crop images intelligently&lt;/li&gt;
&lt;li&gt;Generate passport photos&lt;/li&gt;
&lt;li&gt;Create profile pictures&lt;/li&gt;
&lt;li&gt;Prepare assets for Instagram, YouTube, and LinkedIn&lt;/li&gt;
&lt;li&gt;Enter prompts for custom transformations&lt;/li&gt;
&lt;li&gt;Compare images before and after optimization&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The platform was built with Python, Flask, Cloudinary AI, and the &lt;code&gt;cloudinary-transformations&lt;/code&gt; skill.&lt;/p&gt;

&lt;p&gt;The skill allows users to describe an intended result in natural language, then helps convert that request into a real Cloudinary transformation workflow.&lt;/p&gt;

&lt;p&gt;Snap Optimizer AI stood out because it was not just a demonstration. It felt like a practical tool that creators, marketers, developers, and everyday users could immediately understand.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flxjr4b0sefe06rkxz2yk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flxjr4b0sefe06rkxz2yk.png" alt="Snap Optimizer AI" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Explore the project:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/aashi-1926/snap-optimizer" rel="noopener noreferrer"&gt;View the GitHub repository&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://snap-optimizer.onrender.com/" rel="noopener noreferrer"&gt;Try the live demo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Eirene, by Nivrithi
&lt;/h2&gt;

&lt;p&gt;While the other submissions focused primarily on media creation and developer productivity, &lt;strong&gt;Eirene&lt;/strong&gt; applied the technology to a deeply human problem.&lt;/p&gt;

&lt;p&gt;Eirene is a postpartum recovery companion built around an often-overlooked reality: while the arrival of a baby is widely celebrated, the mother’s physical and emotional recovery can receive far less attention.&lt;/p&gt;

&lt;p&gt;The platform helps mothers document and understand their recovery through:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Week-by-week recovery tracking&lt;/li&gt;
&lt;li&gt;Mood tracking&lt;/li&gt;
&lt;li&gt;Daily reflections&lt;/li&gt;
&lt;li&gt;Personalized affirmations&lt;/li&gt;
&lt;li&gt;Recovery milestones&lt;/li&gt;
&lt;li&gt;A visual recovery timeline&lt;/li&gt;
&lt;li&gt;Photo memories with calming effects&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cloudinary powers the image upload experience and visual effects, helping users preserve recovery memories inside the journal.&lt;/p&gt;

&lt;p&gt;The project was built using HTML, CSS, JavaScript, and the Cloudinary transformations skill.&lt;/p&gt;

&lt;p&gt;Eirene showed that media tools do not need to be limited to marketing, design, or developer workflows. They can also support reflection, memory, wellbeing, and personal storytelling.&lt;/p&gt;

&lt;p&gt;The community response reflected that. As Jen Looper shared during the showcase, this project particularly resonated.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcqwwnlc77nt937rrx9ke.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcqwwnlc77nt937rrx9ke.png" alt="Eirene" width="799" height="399"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Explore the project:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://eirene-journal.vercel.app/" rel="noopener noreferrer"&gt;Try the live demo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  CreatorPilot AI, by Ved Prakash Arya
&lt;/h2&gt;

&lt;p&gt;Ved Prakash Arya, founder of Snapforest, built &lt;strong&gt;CreatorPilot AI&lt;/strong&gt; after repeatedly running into the same problem.&lt;/p&gt;

&lt;p&gt;Learning and experimenting with Cloudinary often meant switching between documentation, transformation generators, SDK examples, media management tools, and several browser tabs.&lt;/p&gt;

&lt;p&gt;CreatorPilot AI brings those experiences into one workspace.&lt;/p&gt;

&lt;p&gt;The platform includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An AI Documentation Assistant&lt;/li&gt;
&lt;li&gt;A Transformation Studio&lt;/li&gt;
&lt;li&gt;A React SDK Playground&lt;/li&gt;
&lt;li&gt;A Media Manager&lt;/li&gt;
&lt;li&gt;An AI Image Generator&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It supports workflows such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Background removal&lt;/li&gt;
&lt;li&gt;Automatic image enhancement&lt;/li&gt;
&lt;li&gt;Image upscaling&lt;/li&gt;
&lt;li&gt;Generative fill&lt;/li&gt;
&lt;li&gt;Background replacement&lt;/li&gt;
&lt;li&gt;Object removal&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CreatorPilot AI was the only submission to use all three skills from the Cloudinary Skills Pack.&lt;/p&gt;

&lt;p&gt;It was built with React 19, TypeScript, Vite, Tailwind CSS, &lt;code&gt;@cloudinary/react&lt;/code&gt;, and &lt;code&gt;@cloudinary/url-gen&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The result is part learning environment, part experimentation platform, and part developer productivity tool.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3yv2a85bwo4ju7cpi4as.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3yv2a85bwo4ju7cpi4as.png" alt="CreatorPilot AI" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Explore the project:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://creatorpilot-ai-eosin.vercel.app/" rel="noopener noreferrer"&gt;Try the live demo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/vedparkasharya/creatorpilot-ai" rel="noopener noreferrer"&gt;View the GitHub repository&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Brandify, by Princess Bube
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Brandify&lt;/strong&gt; started with a problem Princess had encountered during her consulting work.&lt;/p&gt;

&lt;p&gt;Maintaining a consistent visual identity across dozens of images, formats, campaigns, and platforms is difficult, especially when every business has its own branding rules.&lt;/p&gt;

&lt;p&gt;Brandify allows a user to upload a brand style guide alongside a collection of images. The platform then generates asset variations that follow the brand’s documented colors, visual direction, and presentation requirements.&lt;/p&gt;

&lt;p&gt;Claude reads and interprets the brand guide, while Cloudinary generates the required image derivatives.&lt;/p&gt;

&lt;p&gt;Brandify also includes a second workflow for technical content.&lt;/p&gt;

&lt;p&gt;Users can upload a draft blog post, and the application scans the Cloudinary URLs embedded inside it. It identifies missing optimizations and rewrites the URLs using Cloudinary delivery best practices.&lt;/p&gt;

&lt;p&gt;That combination makes Brandify both a creative branding assistant and a media optimization tool.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F37cdlm6o9cai04co6lri.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F37cdlm6o9cai04co6lri.png" alt="Brandify" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Explore the project:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/Princesso/brandify" rel="noopener noreferrer"&gt;View the GitHub repository&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Taking the Projects Live
&lt;/h2&gt;

&lt;p&gt;On July 10, our creators presented their projects during a live judging session streamed across LinkedIn and YouTube.&lt;/p&gt;

&lt;p&gt;This was not just a slideshow of finished products.&lt;/p&gt;

&lt;p&gt;Each creator walked through the problem they had chosen, how they approached it, where the Skills Pack helped, and what they had managed to build within the challenge window.&lt;/p&gt;

&lt;p&gt;The judges evaluated every project using four criteria:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Creativity&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Practical usefulness&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Effective use of the Cloudinary Skills Pack&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Overall execution&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The live format gave the broader community an opportunity to watch the demos, ask questions, celebrate the builders, and see what the Skills Pack could enable beyond a standard tutorial.&lt;/p&gt;

&lt;p&gt;Missed the session?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.linkedin.com/feed/update/urn:li:ugcPost:7480196337502793729" rel="noopener noreferrer"&gt;Watch the LinkedIn recording&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=G5GO306sD0c" rel="noopener noreferrer"&gt;Watch the YouTube recording&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  And the Winner Is…
&lt;/h2&gt;

&lt;p&gt;For our previous Earth Month Mini-Hack, we celebrated every valid submission without selecting a single winner.&lt;/p&gt;

&lt;p&gt;This time, we chose one.&lt;/p&gt;

&lt;p&gt;Congratulations to &lt;strong&gt;Aashi&lt;/strong&gt;, winner of the Cloudinary Creators June Mini-Hack for &lt;strong&gt;Snap Optimizer AI&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The project stood out for combining an impressive range of genuinely useful features into one polished and accessible experience.&lt;/p&gt;

&lt;p&gt;It covered enhancement, compression, background removal, intelligent resizing, social media asset creation, passport photo generation, prompt-based transformations, and before-and-after comparisons.&lt;/p&gt;

&lt;p&gt;Most importantly, the project demonstrated how the Cloudinary Transformations skill could move beyond a developer experiment and become part of an experience that real users could immediately understand.&lt;/p&gt;

&lt;p&gt;Aashi will receive:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cloudinary swag&lt;/li&gt;
&lt;li&gt;AI credits&lt;/li&gt;
&lt;li&gt;A featured place in the Community Showcase&lt;/li&gt;
&lt;li&gt;Promotion across Cloudinary social channels&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Congratulations on an incredibly well-executed project.&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Mini-Hack Proved
&lt;/h2&gt;

&lt;p&gt;Our Earth Month challenge showed what happens when you give developers a narrow problem and a clear constraint.&lt;/p&gt;

&lt;p&gt;The June Mini-Hack showed what happens when you do the opposite.&lt;/p&gt;

&lt;p&gt;Give creators a capable toolkit and enough freedom, and they do not necessarily scatter. They build around the problems they already understand.&lt;/p&gt;

&lt;p&gt;A consulting challenge became a branding assistant.&lt;/p&gt;

&lt;p&gt;Too many documentation tabs became a developer copilot.&lt;/p&gt;

&lt;p&gt;An interest in creative editing became a browser-based media studio.&lt;/p&gt;

&lt;p&gt;A need for simpler optimization became an all-in-one image platform.&lt;/p&gt;

&lt;p&gt;A deeply personal healthcare gap became a recovery journal.&lt;/p&gt;

&lt;p&gt;Five creators started with the same Skills Pack and arrived at five completely different products.&lt;/p&gt;

&lt;p&gt;That range is not a side effect of the challenge.&lt;/p&gt;

&lt;p&gt;It is the strongest result.&lt;/p&gt;

&lt;p&gt;The best way to understand what a new developer tool can enable is often to release it into the hands of builders, step back, and see where they take it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What’s Next
&lt;/h2&gt;

&lt;p&gt;You probably know how this section ends.&lt;/p&gt;

&lt;p&gt;We are doing it again.&lt;/p&gt;

&lt;p&gt;The next Cloudinary Creators challenge is already taking shape, and we will share the full details with the community soon.&lt;/p&gt;

&lt;p&gt;Until then, explore the projects, watch the judging session, and start thinking about what you might build when the next challenge opens.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stay Connected With the Cloudinary Creators Community
&lt;/h2&gt;

&lt;p&gt;Applications for the current Cloudinary Creators cohort are now closed, and our focus is on supporting the creators already participating in the program.&lt;/p&gt;

&lt;p&gt;You can still follow what the community is building, explore the projects from this Mini-Hack, and stay updated on future challenges and opportunities.&lt;/p&gt;

&lt;p&gt;Learn more about the Cloudinary Creators program:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cloudinary.com/developers/community" rel="noopener noreferrer"&gt;https://cloudinary.com/developers/community&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Join our Discord community to meet other builders, get project feedback, and hear about upcoming Mini-Hacks:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://discord.com/invite/D8ddQj6KnH" rel="noopener noreferrer"&gt;https://discord.com/invite/D8ddQj6KnH&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Work through the Cloudinary Creators curriculum:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://training.cloudinary.com/pages/c2c" rel="noopener noreferrer"&gt;https://training.cloudinary.com/pages/c2c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Explore the Cloudinary Skills Pack:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/cloudinary-devs/skills" rel="noopener noreferrer"&gt;https://github.com/cloudinary-devs/skills&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The next challenge has not started yet.&lt;/p&gt;

&lt;p&gt;Your next project can.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Cloudinary ❤️ developers&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ready to level up your media workflow? Start using Cloudinary for free and build better visual experiences today.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;👉 &lt;strong&gt;&lt;a href="https://link.cloudinary.com/uqnvw" rel="noopener noreferrer"&gt;Create your free account&lt;/a&gt;&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>cloudinary</category>
      <category>community</category>
      <category>hackathon</category>
      <category>minihack</category>
    </item>
    <item>
      <title>Building a World Cup card battler that turns your selfie into a football card (Next.js, Cloudinary, Supabase, Vercel)</title>
      <dc:creator>Nick Bradley</dc:creator>
      <pubDate>Tue, 14 Jul 2026 21:44:56 +0000</pubDate>
      <link>https://dev.to/cloudinary/building-a-world-cup-card-battler-that-turns-your-selfie-into-a-football-card-nextjs-cloudinary-4i88</link>
      <guid>https://dev.to/cloudinary/building-a-world-cup-card-battler-that-turns-your-selfie-into-a-football-card-nextjs-cloudinary-4i88</guid>
      <description>&lt;p&gt;The World Cup is on, half my feed is football, and I wanted an excuse to build something. So I built &lt;strong&gt;Kickoff Cards&lt;/strong&gt;: upload a selfie, pick your nation, and you become a playable football trading card that you battle other people's cards with to earn XP and climb a live leaderboard.&lt;/p&gt;

&lt;h2&gt;
  
  
  The game
&lt;/h2&gt;

&lt;p&gt;The idea is simple: you turn yourself into a football trading card. Think of a Panini sticker or a FIFA Ultimate Team card, except the player on it is you.&lt;/p&gt;

&lt;p&gt;You upload a selfie and pick a nation, and a few seconds later you get a card back: your face cut out and dropped into the frame in your nation's colours, with six stats down the side (pace, shooting, passing, and so on) that decide how it performs. There's no signup to get this far; you get an anonymous session on first load and the card belongs to you. Anything you upload is run through automated moderation before it appears in the public gallery.&lt;/p&gt;

&lt;p&gt;Then you play it. You send your card into the battle arena, it's matched against another player's, and the two go head to head across those six stats. Winning earns XP, enough XP levels the card up, and a level-up nudges its stats and regenerates the card image to match. A leaderboard tracks who's ahead and updates in real time as battles resolve.&lt;/p&gt;

&lt;p&gt;That's the whole loop: make a card, fight with it, level it up, climb the board. It's small, but it touches most of what a real user-media app has to deal with: uploads, AI image processing, moderation, live state, and public content.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkx11vc6mtb2zmxnx707h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkx11vc6mtb2zmxnx707h.png" alt="Kickoff cards battle" width="800" height="679"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The card game is the demo. What this post really focuses on is how the four tools it's built on fit together.&lt;/p&gt;

&lt;p&gt;I deliberately chose tooling that works well with agentic development environments: current, trustworthy docs and MCP servers that let the agent check its work against the real project rather than guess from training data. Next.js, Cloudinary, Supabase and Vercel are leaders in this field, and that's a fair part of why this came together quickly. More on that later.&lt;/p&gt;

&lt;p&gt;The split is clean: Next.js owns the app, Cloudinary owns media, Supabase owns data, and Vercel ships it, each handing off to the others through stable APIs. It's open source, runs entirely on free tiers. You can play it at &lt;strong&gt;&lt;a href="https://kickoff-cards.vercel.app" rel="noopener noreferrer"&gt;kickoff-cards.vercel.app&lt;/a&gt;&lt;/strong&gt;, and the code for you to fork and run yourself: &lt;strong&gt;&lt;a href="https://github.com/cloudinary-devs/kickoff-cards" rel="noopener noreferrer"&gt;github.com/cloudinary-devs/kickoff-cards&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here's the whole flow on one diagram:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Browser
  │
  ├─ GET page ──→ Next.js Server Component ──→ Supabase (RLS)
  │                                        └─→ Cloudinary URL builder
  │
  ├─ POST /api/sign-upload ──→ signed upload params
  │
  └─ Direct upload ─────────→ Cloudinary
                                  │
                          Async moderation
                                  │
                              Webhook ──→ Supabase update ──→ Realtime ──→ Browser
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The rest of this post walks through the decisions behind that diagram.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why not just store the files?
&lt;/h2&gt;

&lt;p&gt;The first decision was what to do with the uploaded photos. The easy version is: save the file, serve it back, done. That holds up until you actually look at what a card needs: background removal, a face-aware crop, compositing onto the template, text overlays, modern formats, and moderation on anything a stranger uploads. Do it yourself and you're suddenly maintaining a transform pipeline, a CDN, and a moderation step.&lt;/p&gt;

&lt;p&gt;I didn't want to build that, so the image work goes to Cloudinary: I describe the transformation I want, get a URL back, and it generates and caches the result on first request. The useful side effect is that a finished card ends up being a single URL with no server-side rendering, which I'll come back to.&lt;/p&gt;




&lt;h2&gt;
  
  
  Uploads that never touch my server
&lt;/h2&gt;

&lt;p&gt;A lot of upload flows go browser → your server → storage, which means your server parses multipart bodies, buffers files, and streams them back out. Kickoff Cards skips that: the server signs a set of upload parameters, hands them to the browser, and the browser uploads straight to Cloudinary. The only thing my code produces is a signature.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;getSignedUploadParams&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;userId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;kind&lt;/span&gt; &lt;span class="p"&gt;})&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;timestamp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;round&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;now&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;publicId&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;
    &lt;span class="nx"&gt;kind&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;avatar&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
      &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="s2"&gt;`kickoff/users/&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;userId&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;/avatar`&lt;/span&gt;
      &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`kickoff/users/&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;userId&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;/uploads/&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;crypto&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;randomUUID&lt;/span&gt;&lt;span class="p"&gt;()}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;signature&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;cloudinary&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;utils&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;api_sign_request&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;timestamp&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;public_id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;publicId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;overwrite&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;moderation&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;notification_url&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;CLOUDINARY_API_SECRET&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;)&lt;/span&gt;

  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;signature&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;timestamp&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;apiKey&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;cloudName&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;publicId&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Because the signature covers every parameter, the client can't change the destination path, the moderation settings, the webhook URL, or the overwrite behaviour without invalidating it. You get direct uploads while the server keeps control of where files land.&lt;/p&gt;

&lt;p&gt;This is deliberately not an upload preset. Presets work for static config, but they aren't user-aware: they can't carry the authenticated user's ID, a per-request destination, or a dynamic webhook. That gets generated server-side and signed; the browser submits it.&lt;/p&gt;




&lt;h2&gt;
  
  
  Sessions without signup
&lt;/h2&gt;

&lt;p&gt;That &lt;code&gt;userId&lt;/code&gt; in the upload path comes from Supabase. There's no login: Supabase Anonymous Auth gives each visitor a real authenticated session on first load, backed by a cookie and a stable user ID, and their cards, battles, and XP all hang off that ID. Uploads are scoped to it (&lt;code&gt;kickoff/users/{userId}/...&lt;/code&gt;), so a card belongs to the right person without any extra plumbing.&lt;/p&gt;

&lt;p&gt;It's a reasonable fit for a low-friction demo, and it isn't a dead end: if I later add OAuth or magic links, anonymous is just another provider and the data model doesn't change.&lt;/p&gt;




&lt;h2&gt;
  
  
  A whole trading card is one URL
&lt;/h2&gt;

&lt;p&gt;The finished card (background removed, face cropped into the window, six stats printed at set coordinates, watermark on the bottom) isn't rendered on a server. No canvas, no image endpoint, nothing written to disk. It's a single Cloudinary URL.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;transformation&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;overlay&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;layerId&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;effect&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;background_removal&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;crop&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;fill&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;gravity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;face&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;tmpl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;photo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;w&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;tmpl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;photo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;h&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;flags&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;layer_apply&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;gravity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;tmpl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;photo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;gravity&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;x&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;tmpl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;photo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;y&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;tmpl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;photo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;y&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;

  &lt;span class="c1"&gt;// six stat overlays, one per attribute&lt;/span&gt;
  &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;STAT_ATTRS&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;flatMap&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;attr&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;overlay&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;font_family&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Arial&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;font_size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;44&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;font_weight&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;bold&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;stats&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;attr&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="na"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;black&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;flags&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;layer_apply&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;gravity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;north&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;x&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;slot&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;y&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;slot&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;y&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;]),&lt;/span&gt;

  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;overlay&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;kickoff:cloudinary-logo&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;220&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;crop&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;scale&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;opacity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;55&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;flags&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;layer_apply&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;gravity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;south&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;y&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;28&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;800&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;crop&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;limit&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;cloudinary&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;url&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`templates/&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;nation&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;transformation&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;fetch_format&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;auto&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;quality&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;auto&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;secure&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;})&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Cloudinary runs that chain the first time the URL is requested, caches the result, and serves subsequent requests from the CDN. There's no image-processing server to run.&lt;/p&gt;

&lt;p&gt;A few things to watch for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Order matters.&lt;/strong&gt; Background removal has to come before the crop. Flip them and Cloudinary crops the original first, then removes the background from that rectangle, which gives a worse result.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;gravity: "face"&lt;/code&gt; matters.&lt;/strong&gt; Without it, a full-body selfie tends to crop to the chest rather than the face.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Layer IDs use colons, not slashes.&lt;/strong&gt; &lt;code&gt;kickoff/users/abc/uploads/xyz&lt;/code&gt; becomes &lt;code&gt;kickoff:users:abc:uploads:xyz&lt;/code&gt;. Small detail, easy to miss when debugging transformation URLs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cache busting is automatic.&lt;/strong&gt; When a player levels up, I rebuild the URL with the new stats. A different URL is a different cache key, so Cloudinary renders the updated card on the next request, with no purge calls or CDN management.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every browser-facing image ends with &lt;code&gt;fetch_format: "auto"&lt;/code&gt; and &lt;code&gt;quality: "auto"&lt;/code&gt;, so Cloudinary serves WebP/AVIF where supported and picks a compression level, usually smaller files with no extra config.&lt;/p&gt;

&lt;p&gt;One deliberate non-choice: I'm not using &lt;code&gt;next-cloudinary&lt;/code&gt;. The card URLs are already complete transformation URLs stored in the database. Plain &lt;code&gt;next/image&lt;/code&gt; with &lt;code&gt;unoptimized&lt;/code&gt; handles layout, sizing, and lazy-loading, while Cloudinary stays responsible for the media. That's one fewer abstraction between the app and the transformation pipeline.&lt;/p&gt;




&lt;h2&gt;
  
  
  Moderation on upload
&lt;/h2&gt;

&lt;p&gt;If you accept user images, you need moderation, because some fraction of "selfies" won't be selfies. The DIY version is a vision API plus a queue, retries, and another set of credentials. Cloudinary handles it as part of the upload instead.&lt;/p&gt;

&lt;p&gt;Every signed upload carries an AWS Rekognition moderation string:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight properties"&gt;&lt;code&gt;&lt;span class="py"&gt;aws_rek&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s"&gt;explicit_nudity:0.4:suggestive:0.4:violence:0.4&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After the upload, Cloudinary runs moderation asynchronously and POSTs the verdict to my webhook, which verifies the signature, reads the status, updates the row in Supabase, and deletes anything rejected. The user watches their card flip from &lt;strong&gt;Pending&lt;/strong&gt; to &lt;strong&gt;Approved&lt;/strong&gt; (or get bounced) without refreshing, because that database write feeds a Realtime subscription. That's where Supabase comes in.&lt;/p&gt;




&lt;h2&gt;
  
  
  Supabase: the right key for the right job
&lt;/h2&gt;

&lt;p&gt;I use three Supabase clients on purpose, and keeping them separate avoids a common class of security bug.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Client&lt;/th&gt;
&lt;th&gt;Key&lt;/th&gt;
&lt;th&gt;Job&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;lib/supabase/server.ts&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Anon&lt;/td&gt;
&lt;td&gt;Server Components, Route Handlers, Server Actions (RLS enforced)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;lib/supabase/client.ts&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Anon&lt;/td&gt;
&lt;td&gt;Browser Realtime subscriptions only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;lib/supabase/admin.ts&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Service role&lt;/td&gt;
&lt;td&gt;Webhooks and privileged server work (bypasses RLS)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The service-role key bypasses Row Level Security, so it lives in one &lt;code&gt;server-only&lt;/code&gt; module. If it's accidentally imported into client code, the build fails rather than leaking the key. Two places use it intentionally: the moderation webhook you just saw (which has to delete any card) and battle resolution (the &lt;code&gt;battles&lt;/code&gt; table has &lt;code&gt;WITH CHECK (false)&lt;/code&gt; on insert, so results can't be written from the client). Everything else runs under normal RLS, which is easier to reason about than one client that's sometimes an admin and sometimes not.&lt;/p&gt;

&lt;h3&gt;
  
  
  Live updates without polling
&lt;/h3&gt;

&lt;p&gt;Two bits of UI update live: the leaderboard and moderation status. Both use the same pattern: subscribe to a table and let Postgres changes push to the client.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;channel&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;supabase&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;channel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;leaderboard&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;on&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;postgres_changes&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;event&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;*&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;schema&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;public&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;table&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;profiles&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;router&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;refresh&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
  &lt;span class="p"&gt;})&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;subscribe&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When a battle changes someone's XP, the leaderboard re-renders. When Cloudinary's webhook updates a card, the card page reacts. No polling and no WebSocket server to run yourself:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;External service → Webhook → Postgres → Supabase Realtime → Browser
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The same shape works for other async work: payments, AI jobs, background processing.&lt;/p&gt;




&lt;h2&gt;
  
  
  Building this with an agent
&lt;/h2&gt;

&lt;p&gt;Here's the "more on that" from the intro. The reason the stack choice mattered is that all three of Cloudinary, Supabase and Vercel expose MCP servers, so the agent can query the actual project rather than rely on training data. It can browse uploaded assets and test a transformation in Cloudinary, check the live schema and RLS policies in Supabase, and read deployment logs in Vercel. For a media-heavy app that's the difference between the agent guessing and the agent checking: instead of hardcoding a URL and refreshing a tab to see if a transformation worked, it verifies the result directly.&lt;/p&gt;

&lt;p&gt;The repo supports this with an &lt;code&gt;AGENTS.md&lt;/code&gt; (architecture rules, conventions, and which dependencies move fast enough that it should fetch current docs) and vendored skills under &lt;code&gt;.agents/skills/&lt;/code&gt; for Supabase and Postgres, so it works from current guidance when writing migrations.&lt;/p&gt;

&lt;p&gt;Nothing here is agent-specific, really. The same things that make the codebase easy for an agent to work in (clear boundaries, one place per concern, services it can query directly) are what make it easy for a person. The agent just makes it obvious when you've got those wrong.&lt;/p&gt;




&lt;h2&gt;
  
  
  Run it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/cloudinary-devs/kickoff-cards
&lt;span class="nb"&gt;cd &lt;/span&gt;kickoff-cards
pnpm &lt;span class="nb"&gt;install
cp&lt;/span&gt; .env.example .env.local
pnpm dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You'll need a free Cloudinary account with the AWS Rekognition add-on enabled (the free quota is plenty), a Supabase project with anonymous auth on, and the schema from &lt;code&gt;supabase/schema.sql&lt;/code&gt;. For local webhook testing, a Cloudflare tunnel does the job without an account:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cloudflared tunnel &lt;span class="nt"&gt;--url&lt;/span&gt; http://localhost:3000
&lt;span class="c"&gt;# paste the HTTPS URL into CLOUDINARY_WEBHOOK_URL&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Full walkthrough is in &lt;code&gt;docs/getting-started.md&lt;/code&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  What carries over
&lt;/h2&gt;

&lt;p&gt;Aside from the football, these are the patterns that apply to most apps handling user media:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Signed direct uploads.&lt;/strong&gt; The browser uploads to Cloudinary, the server only signs. The file never passes through your app.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One transformation builder.&lt;/strong&gt; Keep the transform logic in a single function rather than scattered across components.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Separate Supabase clients.&lt;/strong&gt; Anon, browser, and service-role as distinct responsibilities, so RLS isn't bypassed by accident.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Webhook + Realtime.&lt;/strong&gt; External service → webhook → database → Realtime → browser. No polling, and it generalises to moderation, payments, and background jobs.&lt;/p&gt;

&lt;p&gt;None of these are specific to a card game, or to this stack. They're just what fell out of giving each service one clear job and letting it do it.&lt;/p&gt;

&lt;p&gt;If you want to poke at the code, most of it lives in &lt;code&gt;lib/cloudinary/&lt;/code&gt; and &lt;code&gt;lib/supabase/&lt;/code&gt;. It's MIT-licensed, so take what's useful.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Cloudinary ❤️ developers&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ready to level up your media workflow? Start using Cloudinary for free and build better visual experiences today.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;👉 &lt;strong&gt;&lt;a href="https://link.cloudinary.com/uryzi" rel="noopener noreferrer"&gt;Create your free account&lt;/a&gt;&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>cloudinary</category>
      <category>nextjs</category>
      <category>supabase</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Cloudinary's New Image Generation API: One API, Multiple AI Models, and Built-in Asset Management</title>
      <dc:creator>Jen Looper</dc:creator>
      <pubDate>Wed, 08 Jul 2026 13:02:03 +0000</pubDate>
      <link>https://dev.to/cloudinary/cloudinarys-new-image-generation-api-one-api-multiple-ai-models-and-built-in-asset-management-3ldl</link>
      <guid>https://dev.to/cloudinary/cloudinarys-new-image-generation-api-one-api-multiple-ai-models-and-built-in-asset-management-3ldl</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;At conference booths, developers often ask whether we support image generation at Cloudinary, given our emphasis on media management. As of now, I can say "YES! yes, we do" - here's how!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Cloudinary's Image Generation API lets developers generate images from text prompts using multiple AI model families, then store the result as a managed Cloudinary asset for delivery, optimization, resizing, and transformation.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Original image copyright © REUTERS/ABC Affiliate WABC&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In this tutorial, we'll use Python to call the API, generate an image, and save the final result to Cloudinary.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you'll build
&lt;/h2&gt;

&lt;p&gt;A Python script that can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Generate an image from a text prompt&lt;/li&gt;
&lt;li&gt;Choose a model family like &lt;code&gt;flux&lt;/code&gt;, &lt;code&gt;recraft&lt;/code&gt;, &lt;code&gt;gpt-image&lt;/code&gt;, &lt;code&gt;ideogram&lt;/code&gt;, or &lt;code&gt;nano-banana&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Save generated output as a managed Cloudinary asset&lt;/li&gt;
&lt;li&gt;Print the final image URL, public ID, size, and file size&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;p&gt;First, follow &lt;a href="https://cloudinary.com/documentation/image_generation_addon" rel="noopener noreferrer"&gt;the instructions on Cloudinary docs&lt;/a&gt; to install the image generation add-on to your account. While you're in the Cloudinary console, make note of your API key, secret and the cloud name where you want assets to be stored.&lt;/p&gt;

&lt;p&gt;Install the Python dependency:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;requests
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Export your Cloudinary credentials:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;CLOUDINARY_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"your-api-key"&lt;/span&gt;
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;CLOUDINARY_API_SECRET&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"your-api-secret"&lt;/span&gt;
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;CLOUDINARY_CLOUD_NAME&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"your-cloud-name"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here's your &lt;a href="https://gist.github.com/jlooper/4ef0ac33a6bd6e943d953f523d606412" rel="noopener noreferrer"&gt;script&lt;/a&gt;. Save it as 'generate.py'.&lt;/p&gt;

&lt;h2&gt;
  
  
  Generate your first AI image
&lt;/h2&gt;

&lt;p&gt;Run the script with a prompt:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 generate.py &lt;span class="s2"&gt;"A medieval monk"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Farplam1tplas8pfkhdaf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Farplam1tplas8pfkhdaf.png" alt=" " width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This image was generated with the default Flux model&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The script sends a request to Cloudinary's Image Generation API:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;payload&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;prompt&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;model&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;family&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;model_family&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;tier&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;tier&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;target&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;target_type&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;managed_asset&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;public_id&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;public_id&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then it calls the API using HTTP Basic Auth:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;resp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;IMAGE_GEN_BASE&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;/generate/&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;cloud_name&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;/text_to_image&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;auth&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;CLOUDINARY_API_KEY&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
        &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;CLOUDINARY_API_SECRET&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;90&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Choose an AI image model
&lt;/h2&gt;

&lt;p&gt;This is the fun part. You can pick the image generation model that best suits your use case. For example, I find that nano-banana works well with images that include text.&lt;/p&gt;

&lt;p&gt;You can switch model families without changing the rest of your application code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 generate.py &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="s2"&gt;"A futuristic Tokyo skyline at sunset"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--model&lt;/span&gt; flux &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--tier&lt;/span&gt; premium
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Supported model families include:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;flux
gpt-image
ideogram
recraft
nano-banana
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe9vz84u8iq56c3vs7lfv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe9vz84u8iq56c3vs7lfv.png" alt="Another monk" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This was the same prompt, done with Ideogram model&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That makes it easier to test different visual styles while keeping one integration path.&lt;/p&gt;

&lt;h2&gt;
  
  
  Save generated images as Cloudinary assets
&lt;/h2&gt;

&lt;p&gt;The important part of the request is this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;target&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;target_type&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;managed_asset&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;public_id&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;public_id&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This tells Cloudinary to save the generated image as a managed asset on your account, instead of returning only a temporary output.&lt;/p&gt;

&lt;p&gt;After generation, the script prints something like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Image ready!
Public ID: generated/fox-hiking
URL: https://res.cloudinary.com/...
Size: 1024×1024 px
File size: 840 KB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once the image is in Cloudinary, you can resize it, optimize it, crop it, transform it, and deliver it through Cloudinary's CDN. Wicked fast and easy!&lt;/p&gt;

&lt;h2&gt;
  
  
  Full usage examples
&lt;/h2&gt;

&lt;p&gt;Generate a new image:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 generate.py &lt;span class="s2"&gt;"Marie de France playing pool"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuv5iwudlfmr3567cibqm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuv5iwudlfmr3567cibqm.png" alt="Marie de France" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I love this image! Marie de France was a 12th century author of some famous french literature that I particularly like. I don't think she ever played pool, though. Also this pool table is awesomely 'AI-pilled"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Use a premium model:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 generate.py &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="s2"&gt;"A cinematic product photo of a sneaker floating over water"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--model&lt;/span&gt; flux &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--tier&lt;/span&gt; premium
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why this is useful
&lt;/h2&gt;

&lt;p&gt;Most image generation APIs return an output.&lt;/p&gt;

&lt;p&gt;Cloudinary's Image Generation API returns an output that can immediately become part of your media pipeline.&lt;/p&gt;

&lt;p&gt;That means developers can generate an image and then use the same platform to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Store it&lt;/li&gt;
&lt;li&gt;Transform it&lt;/li&gt;
&lt;li&gt;Optimize it&lt;/li&gt;
&lt;li&gt;Resize it&lt;/li&gt;
&lt;li&gt;Deliver it&lt;/li&gt;
&lt;li&gt;Reuse it across applications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For apps that already manage media with Cloudinary, AI image generation becomes part of the existing workflow instead of a separate one-off process. The pipeline just got way simplified for you!&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;This Python script is small, but it covers the core production workflow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Authenticate with Cloudinary&lt;/li&gt;
&lt;li&gt;Send a prompt to the Image Generation API&lt;/li&gt;
&lt;li&gt;Choose a model family and tier&lt;/li&gt;
&lt;li&gt;Save the result as a managed asset&lt;/li&gt;
&lt;li&gt;Return a usable image URL&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you're building developer tools, e-commerce workflows, campaign generators, or AI-powered creative apps, this approach gives you both image generation and image delivery in the same pipeline.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Cloudinary ❤️ developers&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ready to level up your media workflow? Start using Cloudinary for free and build better visual experiences today.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;👉 &lt;strong&gt;&lt;a href="https://link.cloudinary.com/urmty" rel="noopener noreferrer"&gt;Create your free account&lt;/a&gt;&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>ai</category>
      <category>nanobanana</category>
      <category>codenewbie</category>
      <category>images</category>
    </item>
    <item>
      <title>Your model returns a file. Production needs an asset.</title>
      <dc:creator>Nick Bradley</dc:creator>
      <pubDate>Mon, 06 Jul 2026 13:40:43 +0000</pubDate>
      <link>https://dev.to/cloudinary/your-model-returns-a-file-production-needs-an-asset-17ac</link>
      <guid>https://dev.to/cloudinary/your-model-returns-a-file-production-needs-an-asset-17ac</guid>
      <description>&lt;p&gt;Your agent calls an AI image or video model (OpenAI, Google, Runway, fal) and, a few seconds later, gets back a URL or a blob of base64. Feels like the job is done. It isn't. That raw output will probably expire, it's the wrong size and format for wherever it's headed, it carries no record of what made it, and nobody has checked it against your brand. And because it's an agent, there's no human standing by to fix any of that.&lt;/p&gt;

&lt;p&gt;The disappearing URL gets all the attention, but it's only the first of several steps between "the model responded" and "I can ship this." Here's the whole path.&lt;/p&gt;

&lt;p&gt;What this covers: what happens when generated media expires across the major APIs, what "production-ready" actually requires (persist, transform, deliver, brand, find), and how to collapse that pipeline into one step.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step zero: the output is built to disappear
&lt;/h2&gt;

&lt;p&gt;Generated media is ephemeral by default, and the details vary more than you'd expect:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;OpenAI:&lt;/strong&gt; image models like &lt;code&gt;gpt-image-2&lt;/code&gt; return base64 bytes, no hosted URL at all, so you own storage from the first response. Sora video files last ~48 hours (download URLs ~1 hour), and the Sora video &lt;strong&gt;API is being sunset in September 2026&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google:&lt;/strong&gt; the current image models, &lt;strong&gt;Nano Banana 2 (Gemini 3.1 Flash Image)&lt;/strong&gt; and &lt;strong&gt;Nano Banana Pro (Gemini 3 Pro Image)&lt;/strong&gt;, return bytes inline through the Gemini API. For video, &lt;strong&gt;Veo 3.1&lt;/strong&gt; output is kept &lt;strong&gt;two days&lt;/strong&gt; behind the Files API, then deleted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runway:&lt;/strong&gt; Gen-4 image and video output URLs expire in roughly &lt;strong&gt;24–48 hours&lt;/strong&gt;; the docs tell you plainly to download and self-host.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This isn't a bug. These are inference platforms, not asset hosts, and serving files forever is expensive. The trap is that "save it before it vanishes" quietly became &lt;em&gt;your&lt;/em&gt; job, and most teams only find out when a link 404s in production.&lt;/p&gt;

&lt;h3&gt;
  
  
  Persistence alone isn't the finish line
&lt;/h3&gt;

&lt;p&gt;The landscape is shifting, to be fair. &lt;strong&gt;fal.ai now offers fal Assets&lt;/strong&gt;, where generations persist instead of expiring, and platforms like Leonardo keep outputs indefinitely. Even routing layers like &lt;strong&gt;OpenRouter's Unified Image API&lt;/strong&gt; give you one endpoint across dozens of models, though as a router it stores nothing, so persistence is still yours to solve.&lt;/p&gt;

&lt;p&gt;But solving expiry only solves step zero. A file that lives forever in one vendor's library is still unoptimised, unbranded, scattered across whichever providers you happen to use, and only as findable as that vendor's UI. The hard part was never just &lt;em&gt;keeping&lt;/em&gt; the bytes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why autonomous agents make media persistence harder
&lt;/h2&gt;

&lt;p&gt;When a person generates an image in a web UI, they're right there to download it, crop it, eyeball the brand, and drop it where it belongs. Agentic workflows delete that entire safety net.&lt;/p&gt;

&lt;p&gt;An agent runs in the background. It calls a model, gets a result, and moves on: the output lands in a state object or a database row, and nobody looks until much later. Good agent-state design even says to store large artifacts as files and keep only the path in state. Sound advice, but it assumes the file is somewhere permanent &lt;em&gt;and&lt;/em&gt; usable. A raw model URL is neither. So every step a human would have done by hand now has to happen automatically, at generation time. That's the actual job.&lt;/p&gt;

&lt;h2&gt;
  
  
  What "production-ready" actually means
&lt;/h2&gt;

&lt;p&gt;Strip it back to what has to be true before generated media can ship:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Persisted:&lt;/strong&gt; captured the instant it's created, so nothing depends on an expiring URL.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optimised &amp;amp; transformed:&lt;/strong&gt; the right format and size for each destination. A 4 MB PNG becomes a 40 KB WebP thumbnail, a social crop, an AVIF for modern browsers. Video is harder: transcoding to MP4/WebM, an adaptive HLS/DASH stream, a poster frame, often a trimmed cut, all from one master.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Delivered:&lt;/strong&gt; served fast from a CDN, video streamed adaptively rather than shipped whole from one region.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;On-brand:&lt;/strong&gt; checked against brand rules before a customer sees it. An agent generating customer-facing media with no brand guardrail is a real risk, not a hypothetical.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Findable:&lt;/strong&gt; stored with its metadata: prompt, model, use-case, tags, and for video things like duration and captions. An agent that can't search its own output regenerates the same thing twice.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Miss any one of these and you don't have an asset; you have a raw output and a to-do list.&lt;/p&gt;

&lt;h3&gt;
  
  
  This is really an asset pipeline
&lt;/h3&gt;

&lt;p&gt;Every one of those requirements already exists in traditional media workflows. AI generation hasn't removed the pipeline, it has simply automated the first step. Agents make that more obvious because there's no human left to bridge the gap manually.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building the media pipeline yourself
&lt;/h2&gt;

&lt;p&gt;The pattern everyone reaches for looks simple:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;generate → download the bytes → push to your object store → serve from there&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The store is usually S3, Cloudflare R2, or Supabase, and the mechanics are well-trodden. But persisting the bytes is the easy ~60%. What's left on your plate:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Glue code on every generation path&lt;/strong&gt;, with retries for when the URL expires mid-download (worse for large video files).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A transformation service&lt;/strong&gt; (Lambda + sharp, imgix) and, for video, &lt;strong&gt;a transcoding pipeline&lt;/strong&gt; (FFmpeg or managed) for streamable renditions and poster frames.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A CDN&lt;/strong&gt; in front, with adaptive streaming for video.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A brand check&lt;/strong&gt;, which most pipelines just skip.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A metadata store&lt;/strong&gt; you build and maintain so assets stay findable.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can absolutely assemble this, and if storage cost dominates and your transform needs are light, R2-plus-a-Worker is a sensible call. Just be honest that you're now operating a small media pipeline, not a bucket.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two pipelines, one call
&lt;/h2&gt;

&lt;p&gt;The model step is identical either way. What differs is everything &lt;em&gt;after&lt;/em&gt; it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu0si4mowxea0fr4cz2ja.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu0si4mowxea0fr4cz2ja.png" alt="Two pipelines: the DIY chain of services versus a single managed step" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The generation call below is deliberately abstracted: whether &lt;code&gt;generateMedia()&lt;/code&gt; wraps OpenAI, Google, Runway, fal, or an OpenRouter route, you're left holding the same thing: an ephemeral URL you now have to productionise.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The DIY way:&lt;/strong&gt; download, race the expiry, persist, then start the rest of the pipeline.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;S3Client&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;PutObjectCommand&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;@aws-sdk/client-s3&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;s3&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;S3Client&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;region&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;AWS_REGION&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;modelOutputUrl&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;generateMedia&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="c1"&gt;// any provider; ephemeral&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;modelOutputUrl&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;            &lt;span class="c1"&gt;// race the clock&lt;/span&gt;
&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;ok&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`Model URL expired: &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;status&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;bytes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;Buffer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;arrayBuffer&lt;/span&gt;&lt;span class="p"&gt;());&lt;/span&gt;

&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;s3&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;PutObjectCommand&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;Bucket&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;S3_BUCKET&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;Key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`generations/&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;now&lt;/span&gt;&lt;span class="p"&gt;()}&lt;/span&gt;&lt;span class="s2"&gt;.png`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;Body&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;ContentType&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;image/png&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}));&lt;/span&gt;

&lt;span class="c1"&gt;// Still TODO, separately: transform/transcode, CDN, brand check, metadata store…&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The pluggable way:&lt;/strong&gt; hand the same URL to a media pipeline and get a production asset back in one call. (This example uses Cloudinary, but the shape is what matters.)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;v2&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nx"&gt;cloudinary&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;cloudinary&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// configured from CLOUDINARY_URL&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;asset&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;cloudinary&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;uploader&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;upload&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;generateMedia&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;folder&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;agent-generations&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;context&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;modelName&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;            &lt;span class="c1"&gt;// searchable metadata&lt;/span&gt;
  &lt;span class="na"&gt;eager&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[{&lt;/span&gt; &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;400&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;400&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;crop&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;fill&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="na"&gt;fetch_format&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;auto&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;quality&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;auto&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="p"&gt;}],&lt;/span&gt; &lt;span class="c1"&gt;// optimised derivative&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="nx"&gt;asset&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;secure_url&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;          &lt;span class="c1"&gt;// permanent original, CDN-delivered&lt;/span&gt;
&lt;span class="nx"&gt;asset&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;eager&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nx"&gt;secure_url&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// optimised WebP thumbnail&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It fetches the bytes (no expiry race in your code), stores a permanent original, derives renditions on demand, and tags it with its metadata. Pass &lt;code&gt;resource_type: "video"&lt;/code&gt; and the eager transforms become an adaptive stream and a poster frame instead of image crops. Same call for an image from one provider or a clip from another, and the agent ends up holding one stable, branded, findable URL, no per-model recipe required.&lt;/p&gt;

&lt;h2&gt;
  
  
  Or generate straight into your asset platform
&lt;/h2&gt;

&lt;p&gt;If the generator and the asset platform are the same system, there's no ephemeral URL to rescue in the first place. That's the idea behind Cloudinary's new &lt;a href="https://cloudinary.com/documentation/image_generation_addon" rel="noopener noreferrer"&gt;&lt;strong&gt;Image Generation API&lt;/strong&gt;&lt;/a&gt;: a single &lt;code&gt;text_to_image&lt;/code&gt; endpoint across best-in-class model families (FLUX.2, Nano Banana, GPT Image, Recraft, Ideogram), much like the routing layer from earlier, except the output lands as a managed asset rather than a disappearing link.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://api.cloudinary.com/v2/generate/&amp;lt;CLOUD_NAME&amp;gt;/text_to_image &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-u&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;API_KEY&amp;gt;:&amp;lt;API_SECRET&amp;gt;"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{
    "prompt": "a golden retriever wearing a tiny astronaut helmet",
    "model":  { "family": "flux", "tier": "premium" },
    "target": { "target_type": "managed_asset" }
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The response is a permanent &lt;code&gt;secure_url&lt;/code&gt; plus the &lt;code&gt;asset_id&lt;/code&gt; and &lt;code&gt;public_id&lt;/code&gt; you use everywhere else in Cloudinary. The image is born persisted, optimisable, and ready to deliver; generation and production collapse into one step. (Omit &lt;code&gt;model&lt;/code&gt; for the Nano Banana default; &lt;code&gt;target&lt;/code&gt; defaults to a short-lived temporary asset if you'd rather not persist.)&lt;/p&gt;

&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;The honest version: if all you need is the cheapest bucket, R2 wins on raw storage cost, and Supabase now bundles basic transforms and a CDN. Reach for a full media platform when the &lt;em&gt;whole&lt;/em&gt; job matters (persist, transform, deliver, keep on-brand, organise) and you'd rather make one call than orchestrate five.&lt;/p&gt;

&lt;p&gt;But the broader lesson outlives any product choice. &lt;strong&gt;In an agentic system, a generated file is an intermediate value, not a deliverable.&lt;/strong&gt; The model is a component, not the finish line. Treat the path from raw output to production asset as a real pipeline (whether you build it from buckets, workers, transcoders and a metadata table, or hand it to something that does all five) and your agents stop storing links to nothing.&lt;/p&gt;




&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Cloudinary ❤️ developers&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ready to level up your media workflow? Start using Cloudinary for free and build better visual experiences today.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;👉 &lt;strong&gt;&lt;a href="https://link.cloudinary.com/uq5u6" rel="noopener noreferrer"&gt;Create your free account&lt;/a&gt;&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>I Stopped Choosing Image Models Manually</title>
      <dc:creator>Ebony Louis</dc:creator>
      <pubDate>Tue, 30 Jun 2026 16:40:40 +0000</pubDate>
      <link>https://dev.to/cloudinary/i-stopped-choosing-image-models-manually-48p7</link>
      <guid>https://dev.to/cloudinary/i-stopped-choosing-image-models-manually-48p7</guid>
      <description>&lt;p&gt;Every few weeks there's a new image model everyone says you should be using: FLUX, Recraft, Ideogram, GPT Image. Each one has different strengths, different tradeoffs, and another decision for developers to make before they've even written a line of code.&lt;/p&gt;

&lt;p&gt;So when I started experimenting with &lt;a href="https://cloudinary.com/documentation/image_generation_addon?utm_source=dev-dot-to&amp;amp;utm_content=imagegen-models-via-console#generating_images_via_the_console" rel="noopener noreferrer"&gt;Cloudinary's new Image Generation API&lt;/a&gt;, I caught myself doing something familiar:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="nf"&gt;generate_image&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;flux&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then I realized I shouldn't be choosing the model at all.&lt;/p&gt;

&lt;p&gt;I've spent the last few years building AI agents that decide what actions to take based on context. They choose tools, call APIs, verify their own work. So I stopped making this decision myself.&lt;/p&gt;




&lt;h2&gt;
  
  
  The problem with hardcoding models
&lt;/h2&gt;

&lt;p&gt;Most examples, including the ones you'll find in documentation, explicitly choose a model. That makes perfect sense for a quickstart, but production applications don't receive the same prompt over and over again.&lt;/p&gt;

&lt;p&gt;One request might be "create a photorealistic product shot." Another might be "design a conference poster with large readable typography." Another might be "generate a hand drawn sketchnote from these lecture notes." You probably wouldn't use the same model for all three. Different models have genuinely different strengths. Some are better at photorealism, others produce stronger illustrations, others handle typography more effectively.&lt;/p&gt;

&lt;p&gt;So instead of asking which model I should hardcode, I started asking whether my agent should decide instead.&lt;/p&gt;




&lt;h2&gt;
  
  
  My first attempt was simple
&lt;/h2&gt;

&lt;p&gt;I wrote a &lt;code&gt;choose_model()&lt;/code&gt; function that matches keywords in the prompt to model strengths:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;choose_model_simple&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;prompt_lower&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lower&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nf"&gt;any&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;prompt_lower&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;text&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;poster&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;logo&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;typography&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;sign&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]):&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;family&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;ideogram&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;tier&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;standard&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;reason&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Prompt likely needs strong text handling.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nf"&gt;any&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;prompt_lower&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;photo&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;realistic&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;portrait&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;cinematic&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]):&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;family&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;flux&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;tier&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;premium&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;reason&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Prompt is photorealistic, so Flux is a strong fit.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nf"&gt;any&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;prompt_lower&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;illustration&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;sketchnote&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;diagram&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;vector&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]):&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;family&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;recraft&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;tier&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;standard&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;reason&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Prompt sounds illustration-heavy.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;family&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;nano-banana&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;tier&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;standard&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;reason&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;No specific requirement detected; using the default.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It works for obvious cases. But it breaks the moment prompts get ambiguous, and prompts are almost always a little ambiguous.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9dfda73gxf84vv5lbdob.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9dfda73gxf84vv5lbdob.png" alt="keyword router" width="800" height="171"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The keyword router explains why it selected Ideogram before calling Cloudinary.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Why keyword matching isn't enough
&lt;/h2&gt;

&lt;p&gt;Try this prompt: "A sketchnote of my lecture on photorealistic rendering techniques."&lt;/p&gt;

&lt;p&gt;A keyword router sees "photorealistic" and picks Flux. But the output you actually want is an illustration. The word photorealistic describes the &lt;em&gt;subject&lt;/em&gt;, not the &lt;em&gt;style&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;A keyword router matches words. Your agent understands intent. It understands that the output should be a sketchnote, not a photorealistic rendering.&lt;/p&gt;




&lt;h2&gt;
  
  
  Swapping in Claude
&lt;/h2&gt;

&lt;p&gt;Replacing the keyword router with Claude is one function change:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;choose_model_claude&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;anthropic&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Anthropic&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;claude-sonnet-4-6&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;max_tokens&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;256&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;system&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"""&lt;/span&gt;&lt;span class="s"&gt;You are a model router for an image generation pipeline.
Given a prompt, return ONLY a JSON object:
{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;family&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;: &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;...&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;, &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;tier&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;: &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;...&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;, &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;reason&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;: &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;One sentence.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;}
Available families: flux, ideogram, recraft, gpt-image, nano-banana.&lt;/span&gt;&lt;span class="sh"&gt;"""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Prompt: &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"'&lt;/span&gt;&lt;span class="p"&gt;}],&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;loads&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strip&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The keyword router makes a decision by matching keywords. Claude reasons about the intent of the request before choosing a model.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzndkm5vu0uz4tzpz38ff.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzndkm5vu0uz4tzpz38ff.png" alt="diagram" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Notice what changed. The agent isn't generating the image, it isn't replacing Cloudinary. It's making a routing decision. Cloudinary remains the execution layer while the agent decides which model best fits the request. Because Cloudinary exposes multiple model families through the same API, the router only has to decide &lt;strong&gt;what&lt;/strong&gt; to use, not &lt;strong&gt;how&lt;/strong&gt; to call it.&lt;/p&gt;

&lt;p&gt;This example uses a small routing script to make that decision explicit, but the same idea applies to larger agent workflows. If you're already building agents, model selection can become just another reasoning step before the API call. I wrote it as a standalone script because it's easier to understand, easier to experiment with, and easier to adapt to your own projects.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I actually learned
&lt;/h2&gt;

&lt;p&gt;The model choice matters more than I expected. The same prompt can produce very different results depending on which model you pick, and those differences aren't subtle. Text rendering in particular is still surprisingly hard. Generating a beautiful image is relatively easy, but generating a beautiful image with readable text is a different problem entirely. &lt;/p&gt;

&lt;p&gt;What I found most interesting was that the routing decision itself was the interesting part, not the generation. Once you separate "which model should I use" from "call the API," that first question becomes something an agent can reason about rather than something you have to answer in advance every time.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Cloudinary?
&lt;/h2&gt;

&lt;p&gt;I wasn't looking for another image model. I was looking for a consistent interface to multiple image models. Without that, swapping models means learning new APIs, new authentication, and new response shapes.&lt;/p&gt;

&lt;p&gt;With Cloudinary's Image Generation API, the router just returns a family name. Everything else stays the same.&lt;/p&gt;

&lt;p&gt;Generated images also land directly in Cloudinary as managed assets, immediately available for transformation and delivery without me needing to do any extra steps.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;p&gt;If you'd like to experiment with this pattern, I've shared the complete routing script as a GitHub Gist.&lt;/p&gt;

&lt;p&gt;The script uses Cloudinary's Image Generation API to select a model, generate the image, and save it as a managed asset.&lt;/p&gt;




&lt;p&gt;To get started:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;View the &lt;a href="https://gist.github.com/EbonyLouis/cafc39bf5b438b38585e639df16d6477" rel="noopener noreferrer"&gt;routing script (GitHub Gist)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Read the &lt;a href="https://cloudinary.com/documentation/image_generation_addon?utm_source=dev-dot-to&amp;amp;utm_content=imagegen-models-via-console#generating_images_via_the_console" rel="noopener noreferrer"&gt;Image Generation docs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Browse the &lt;a href="https://link.cloudinary.com/uq5vj" rel="noopener noreferrer"&gt;API reference&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Where I think this is going
&lt;/h2&gt;

&lt;p&gt;Every few weeks there's another model everyone says you should be using.&lt;/p&gt;

&lt;p&gt;I don't think any of us will be choosing most of them manually.&lt;/p&gt;

&lt;p&gt;We'll be spending more time teaching our agents how to choose instead.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Cloudinary ❤️ developers&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ready to level up your media workflow? Start using Cloudinary for free and build better visual experiences today.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;👉 &lt;strong&gt;&lt;a href="https://link.cloudinary.com/uqvzi" rel="noopener noreferrer"&gt;Create your free account&lt;/a&gt;&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Automate Your Media at Scale: 6 Cloudinary Workflows You Can Import Into n8n Today</title>
      <dc:creator>Eitan Peer</dc:creator>
      <pubDate>Wed, 17 Jun 2026 12:58:22 +0000</pubDate>
      <link>https://dev.to/cloudinary/automate-your-media-at-scale-6-cloudinary-workflows-you-can-import-into-n8n-today-22m1</link>
      <guid>https://dev.to/cloudinary/automate-your-media-at-scale-6-cloudinary-workflows-you-can-import-into-n8n-today-22m1</guid>
      <description>&lt;p&gt;Media is where automation pipelines quietly fall apart.&lt;/p&gt;

&lt;p&gt;This post walks through six importable n8n workflows, built on the Cloudinary community node, that hand those media steps back to the pipeline.&lt;/p&gt;

&lt;p&gt;You've wired up a beautiful no-code flow — a new product lands in your PIM, a webhook fires, records sync. Then someone has to &lt;em&gt;resize the hero image for the storefront, cut the launch video into a square for the feed and a vertical for Reels, export a poster frame, and add captions for accessibility.&lt;/em&gt; So the "automated" pipeline stops and waits for a human with Photoshop and a video editor.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.npmjs.com/package/n8n-nodes-cloudinary" rel="noopener noreferrer"&gt;Cloudinary community node for n8n&lt;/a&gt; just closed that gap. The latest release turns Cloudinary's transformation, delivery, and video player engine into native n8n steps, so media work becomes just another node in the flow.&lt;/p&gt;

&lt;p&gt;Below are &lt;strong&gt;six ready-to-import example workflows&lt;/strong&gt; — two clicks to load — designed to run on a free Cloudinary account, subject to &lt;a href="https://cloudinary.com/pricing" rel="noopener noreferrer"&gt;usage limits&lt;/a&gt; (credits, video processing, and some add-ons count against your plan). Each one is self-describing (every workflow ships with a sticky-note README inside n8n) and contains &lt;strong&gt;no credentials&lt;/strong&gt; — you add your own. Each one below links straight to its JSON.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;💾 &lt;strong&gt;One-time setup gotcha worth knowing up front:&lt;/strong&gt; after you import a workflow and pick your Cloudinary credential on the first node, &lt;strong&gt;press Cmd/Ctrl+S to save before running.&lt;/strong&gt; That single save persists the credential to every Cloudinary node in the flow at once — so a full &lt;strong&gt;Execute Workflow&lt;/strong&gt; run finds credentials everywhere. Skip the save and the run can fail node-after-node with &lt;em&gt;"Node does not have any credentials set,"&lt;/em&gt; even though the credential looks selected. (More in Add your Cloudinary credentials.)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What you'll build
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;One master video cut for every social platform&lt;/li&gt;
&lt;li&gt;Uniform, AI-filled catalog images at scale&lt;/li&gt;
&lt;li&gt;A paste-in responsive srcset&lt;/li&gt;
&lt;li&gt;An embeddable, adaptive video player&lt;/li&gt;
&lt;li&gt;An automated media-library governance audit&lt;/li&gt;
&lt;li&gt;Accessible video with AI-generated captions&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's new in the Cloudinary n8n node
&lt;/h2&gt;

&lt;p&gt;The release adds three things that matter for automation:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. A Transform resource that builds delivery URLs — with no upload and no API call.&lt;/strong&gt; Optimize, Resize and Crop with an additional conversion option for images and trimming and thumbnails for video. Each operation returns a finished &lt;code&gt;secure_url&lt;/code&gt; &lt;em&gt;and&lt;/em&gt; a reusable transformation string. Because they're pure URL construction, they're instant and free of round-trips.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Transformations that compose three ways.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Compose: Combine Transformations&lt;/strong&gt; chains several steps (trim → crop → optimize) inside a single node.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Continue From Transformation&lt;/strong&gt; chains steps &lt;em&gt;across&lt;/em&gt; nodes — wire one node's transformation output into the next node's input and they compound into one URL.&lt;/li&gt;
&lt;li&gt;And the same transformation string drops straight into the &lt;strong&gt;Video Player&lt;/strong&gt; widget.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3. Advanced media features — no code required:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Generative Fill&lt;/strong&gt; — extend an image to a new shape with AI-painted background instead of cropping.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Video Player&lt;/strong&gt; widget — generate an embeddable player with HLS adaptive streaming (and an MP4 progressive fallback), a poster, picture-in-picture, and &lt;strong&gt;on-demand AI captions, transcripts, and chapters&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Asset Search&lt;/strong&gt; — paginate through all matching assets, one n8n item per asset, for governance and audits.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now let's put them to work.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. One source video → a cut for every platform
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The problem:&lt;/strong&gt; marketing ships one master video. It needs a 9:16 for TikTok/Reels, a 1:1 for the feed, and a 16:9 for YouTube — each trimmed, each with a poster frame, each optimized. Today that's a manual export-fest.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The workflow:&lt;/strong&gt; &lt;a href="https://product-demos-res.cloudinary.com/raw/upload/v1781532950/ax/01-social-video-variations.json" rel="noopener noreferrer"&gt;01-social-video-variations.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Upload the master once, then three &lt;strong&gt;Compose: Combine Transformations&lt;/strong&gt; nodes each build a single delivery URL that &lt;strong&gt;trims → crops to the platform's aspect ratio (with auto-focus to keep the subject in frame) → auto-optimizes&lt;/strong&gt;. A matching &lt;strong&gt;Video: Thumbnail&lt;/strong&gt; generates each poster. A final Code node collects everything into a tidy list of &lt;code&gt;{platform, video_url, poster_url}&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgvvnvnqze7l4h2iq1e5q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgvvnvnqze7l4h2iq1e5q.png" alt="The workflow canvas showing the fan-out from Upload Source Video to the three platform variants and their posters." width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The win:&lt;/strong&gt; one trigger produces every platform's asset, ready to hand to a social scheduler or CMS. Add a platform by copying a node and changing one aspect ratio.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Bulk product photos → uniform, AI-filled catalog images
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The problem:&lt;/strong&gt; product photography arrives in every shape and on every background. Your storefront wants identical, square, optimized product images for thousands of SKUs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The workflow:&lt;/strong&gt; &lt;a href="https://product-demos-res.cloudinary.com/raw/upload/v1781533869/ax/02-ecommerce-image-pipeline.json" rel="noopener noreferrer"&gt;02-ecommerce-image-pipeline.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For each product, the flow ingests the photo, then runs &lt;strong&gt;Image: Crop with Generative Fill&lt;/strong&gt; — instead of cropping the product, Cloudinary &lt;em&gt;extends&lt;/em&gt; the canvas to a perfect 1200×1200 square and &lt;strong&gt;paints a matching background with AI&lt;/strong&gt; (guided by a prompt like &lt;em&gt;"clean seamless studio background"&lt;/em&gt;). It then chains a &lt;strong&gt;Convert → WebP&lt;/strong&gt; step onto that same transformation. Out comes one catalog-ready URL per product.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Feitanpeer-res.cloudinary.com%2Fimage%2Fupload%2Fc_pad%2Cw_1200%2Ch_1200%2Cb_white%2Fbo_3px_solid_rgb%3A888888%2Fl_n8n_blog%3Aproducts%3Aanalog-watch%2Fb_gen_fill%2Cc_pad%2Cw_1200%2Ch_1200%2Fbo_3px_solid_rgb%3A888888%2Ffl_layer_apply%2Cg_west%2Cx_1206%2Fb_white%2Cco_rgb%3A222222%2Cl_text%3AArial_56_bold%3A%25C2%25A0Original%25C2%25A0%2Ffl_layer_apply%2Cg_north_west%2Cx_40%2Cy_40%2Fb_white%2Cco_rgb%3A222222%2Cl_text%3AArial_56_bold%3A%25C2%25A0Generative%2520Fill%25C2%25A0%2Ffl_layer_apply%2Cg_north_west%2Cx_1246%2Cy_40%2Ff_auto%2Fq_auto%2Fn8n_blog%2Fproducts%2Fanalog-watch" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Feitanpeer-res.cloudinary.com%2Fimage%2Fupload%2Fc_pad%2Cw_1200%2Ch_1200%2Cb_white%2Fbo_3px_solid_rgb%3A888888%2Fl_n8n_blog%3Aproducts%3Aanalog-watch%2Fb_gen_fill%2Cc_pad%2Cw_1200%2Ch_1200%2Fbo_3px_solid_rgb%3A888888%2Ffl_layer_apply%2Cg_west%2Cx_1206%2Fb_white%2Cco_rgb%3A222222%2Cl_text%3AArial_56_bold%3A%25C2%25A0Original%25C2%25A0%2Ffl_layer_apply%2Cg_north_west%2Cx_40%2Cy_40%2Fb_white%2Cco_rgb%3A222222%2Cl_text%3AArial_56_bold%3A%25C2%25A0Generative%2520Fill%25C2%25A0%2Ffl_layer_apply%2Cg_north_west%2Cx_1246%2Cy_40%2Ff_auto%2Fq_auto%2Fn8n_blog%2Fproducts%2Fanalog-watch" alt="An off-center product photo on the left, the square AI-filled result on the right." width="2412" height="1206"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The win:&lt;/strong&gt; consistent, optimized product imagery with zero designer time — and it scales to your whole catalog by swapping the input list for a Cloudinary Search or a PIM lookup.&lt;/p&gt;

&lt;p&gt;Generative Fill is a generative-AI effect: it uses a special transformation count, is subject to your &lt;a href="https://cloudinary.com/pricing" rel="noopener noreferrer"&gt;plan limits&lt;/a&gt;, and may render asynchronously on the first request. &lt;a href="https://cloudinary.com/users/register_free" rel="noopener noreferrer"&gt;Create a free account&lt;/a&gt; to try it.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. One image → a responsive srcset you can paste into any page
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The problem:&lt;/strong&gt; you're still hand-exporting @1x/@2x assets, and shipping desktop-sized images to phones.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The workflow:&lt;/strong&gt; &lt;a href="https://product-demos-res.cloudinary.com/raw/upload/v1781533869/ax/03-responsive-srcset.json" rel="noopener noreferrer"&gt;03-responsive-srcset.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Point it at one source image and a list of widths. It builds an &lt;strong&gt;Image: Resize&lt;/strong&gt; URL per width (using &lt;em&gt;Limit&lt;/em&gt; fit so it never upscales), chains &lt;strong&gt;Optimize&lt;/strong&gt; (&lt;code&gt;f_auto&lt;/code&gt;/&lt;code&gt;q_auto&lt;/code&gt;) onto each so Cloudinary serves AVIF/WebP/JPEG per browser at the right quality, and assembles a ready-to-paste &lt;code&gt;&amp;lt;img srcset=…&amp;gt;&lt;/code&gt; block.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6tyo41izoak8s5h3dkw1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6tyo41izoak8s5h3dkw1.png" alt="The Build srcset HTML node output, showing the generated img srcset markup." width="799" height="257"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The win:&lt;/strong&gt; crisp Retina displays &lt;em&gt;and&lt;/em&gt; lightweight mobile loads from a single asset — with the markup generated for you. Change a breakpoint by editing one array.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. A source video → a polished, embeddable player
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The problem:&lt;/strong&gt; putting a real video player on a landing page or CMS usually means a JS build step and a streaming setup.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The workflow:&lt;/strong&gt; &lt;a href="https://product-demos-res.cloudinary.com/raw/upload/v1781599646/ax/04-embeddable-video-player.json" rel="noopener noreferrer"&gt;04-embeddable-video-player.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The flow trims a preview cut, grabs a matching poster frame (chained onto the trim), and generates a &lt;strong&gt;Video Player&lt;/strong&gt; embed with &lt;strong&gt;HLS adaptive streaming and an MP4 progressive fallback&lt;/strong&gt;, picture-in-picture, playsinline, and muted autoplay-on-scroll. It outputs both an &lt;code&gt;embed_url&lt;/code&gt; and a responsive &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; snippet.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fclj8hz7j1o504lhyt5j6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fclj8hz7j1o504lhyt5j6.png" alt="The rendered Cloudinary Video Player in a browser, with the controls and poster visible." width="800" height="554"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The win:&lt;/strong&gt; a production-grade, adaptive player as a paste-in snippet — no front-end code.&lt;/p&gt;

&lt;p&gt;The workflow feeds the player the &lt;em&gt;trim&lt;/em&gt; transformation, not an &lt;em&gt;optimize&lt;/em&gt; one — adaptive streaming (HLS/DASH) can't be combined with a format-pinned transform (&lt;code&gt;f_auto:video&lt;/code&gt;). Helpfully, the node catches that exact conflict and tells you how to fix it.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Audit and govern a sprawling library — automatically
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The problem:&lt;/strong&gt; at scale, media libraries rot. Untagged assets, oversized files, content nobody owns. Cleaning it up by hand doesn't happen.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The workflow:&lt;/strong&gt; &lt;a href="https://product-demos-res.cloudinary.com/raw/upload/v1781533869/ax/05-asset-governance-audit.json" rel="noopener noreferrer"&gt;05-asset-governance-audit.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Asset → Search Assets&lt;/strong&gt; with &lt;em&gt;Return All&lt;/em&gt; paginates through all matching assets (it handles pagination and surfaces rate-limit errors clearly), emitting one n8n item per asset with its tags. The template is scoped to &lt;code&gt;tags=n8n-blog&lt;/code&gt; so it's safe to run as-is — change or remove that expression (e.g. &lt;code&gt;folder:products/*&lt;/code&gt;, or leave it empty) to scan more broadly, up to your whole library. A Code node applies your governance rules — here, &lt;em&gt;flag anything untagged or over 1 MB&lt;/em&gt;. Flagged assets get a &lt;code&gt;needs-review&lt;/code&gt; tag appended (existing tags preserved); everything rolls up into an audit report you can send to Slack or email.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8ls0b0pij5oebglnuqw2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8ls0b0pij5oebglnuqw2.png" alt="The Audit Report workflow canvas." width="800" height="434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The win:&lt;/strong&gt; continuous, policy-driven hygiene that works identically on 50 assets or 50,000. Swap the tag action for structured-metadata updates or (carefully) deletes.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Accessible video with AI-generated captions — no .vtt files
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The problem:&lt;/strong&gt; captions are often required by accessibility standards and regulations (such as WCAG, the ADA, and the European Accessibility Act), and a global audience needs subtitles in several languages. Authoring caption files for every video, by hand, doesn't scale.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The workflow:&lt;/strong&gt; &lt;a href="https://product-demos-res.cloudinary.com/raw/upload/v1781599628/ax/06-accessible-video-player.json" rel="noopener noreferrer"&gt;06-accessible-video-player.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is the workflow that shows what Cloudinary's video features can do. The &lt;strong&gt;Video Player&lt;/strong&gt; node ships an accessibility-first config — keyboard controls on, &lt;strong&gt;no autoplay-with-sound&lt;/strong&gt;, playsinline, chapters button visible — plus an &lt;strong&gt;AI-Generated Content&lt;/strong&gt; section that's just a set of toggles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Generate Captions&lt;/strong&gt; → the player &lt;strong&gt;auto-generates a transcript&lt;/strong&gt; and shows it as toggleable captions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generate Title / Description / Chapters&lt;/strong&gt; → AI-generated metadata and chapter markers for navigation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are &lt;strong&gt;enabled by default&lt;/strong&gt; on most accounts, so there's nothing to switch on. The player only generates content that doesn't already exist, returning a 202 while it works and caching the result. Nobody writes a caption file: no code is needed to generate captions — the workflow's Code node only formats the player embed snippet.&lt;/p&gt;

&lt;p&gt;Need subtitles in other languages? Set &lt;strong&gt;Subtitle Languages&lt;/strong&gt; (e.g. &lt;code&gt;es&lt;/code&gt;, &lt;code&gt;fr-FR&lt;/code&gt;) for auto-translated tracks. Translation uses the &lt;strong&gt;Google Translate add-on&lt;/strong&gt;: register for it (free tier available) on the &lt;a href="https://console.cloudinary.com/settings/addons" rel="noopener noreferrer"&gt;Cloudinary Add-ons page&lt;/a&gt;, then enable it under &lt;strong&gt;Settings → Security → Unsigned add-on transformations&lt;/strong&gt;. The original-language captions above need no add-on.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx09c4vqzzrylyv22u2yp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx09c4vqzzrylyv22u2yp.png" alt="The player with the auto-generated captions toggled on and the language menu open." width="800" height="399"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The win:&lt;/strong&gt; videos with dialogue can get captions, chapters, and optional translated tracks automatically — as part of the same flow that published them, with no caption files to author.&lt;/p&gt;

&lt;p&gt;Auto-generation lives in the player's JS config (not iframe URL params), so this workflow outputs a &lt;code&gt;player.source(...)&lt;/code&gt; snippet for the &lt;a href="https://cloudinary.com/documentation/cloudinary_video_player" rel="noopener noreferrer"&gt;Cloudinary Video Player SDK&lt;/a&gt;. On most accounts the unsigned actions for generating video details, transcripts, and chapters are enabled by default — see the &lt;a href="https://cloudinary.com/documentation/video_player_customization" rel="noopener noreferrer"&gt;customization docs&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to import these workflows
&lt;/h2&gt;

&lt;p&gt;Every workflow is a single &lt;code&gt;.json&lt;/code&gt; file — each section above links straight to it. Importing one takes a few seconds.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Install the Cloudinary node (once)
&lt;/h3&gt;

&lt;p&gt;Follow &lt;a href="https://docs.n8n.io/integrations/community-nodes/installation/verified-install/#install-a-community-node" rel="noopener noreferrer"&gt;these instructions&lt;/a&gt; to install the Cloudinary community node (&lt;code&gt;n8n-nodes-cloudinary&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fufskmpi32nq7lg28p1wv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fufskmpi32nq7lg28p1wv.png" alt="The " width="766" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Import the workflow
&lt;/h3&gt;

&lt;p&gt;Open the workflows list, click the &lt;strong&gt;⋯&lt;/strong&gt; menu (top-right) → &lt;strong&gt;Import from File…&lt;/strong&gt;, and select one of the &lt;code&gt;.json&lt;/code&gt; files. (You can also drag the file onto the canvas.)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxf905bk6t4llrl856cwk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxf905bk6t4llrl856cwk.png" alt="The workflow ⋯ menu open, with Import from File… highlighted." width="762" height="986"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The workflow opens with its sticky-note README already on the canvas explaining what every node does.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Add your Cloudinary credentials
&lt;/h3&gt;

&lt;p&gt;The templates contain &lt;strong&gt;no connection details&lt;/strong&gt; — they're yours to add.&lt;/p&gt;

&lt;p&gt;First, create the credential once: in the &lt;strong&gt;Credentials&lt;/strong&gt; sidebar → &lt;strong&gt;Add Credential&lt;/strong&gt; → &lt;strong&gt;Cloudinary API&lt;/strong&gt;, and paste your &lt;strong&gt;Cloud name&lt;/strong&gt;, &lt;strong&gt;API Key&lt;/strong&gt;, and &lt;strong&gt;API Secret&lt;/strong&gt; from the &lt;a href="https://console.cloudinary.com/settings/api-keys" rel="noopener noreferrer"&gt;Cloudinary Console → API Keys&lt;/a&gt;. Save it. Now it's offered in the dropdown on every Cloudinary node, in this template and every one you import later.&lt;/p&gt;

&lt;p&gt;Then, on the imported workflow, open the &lt;strong&gt;first&lt;/strong&gt; Cloudinary node and pick that credential from the &lt;strong&gt;Credential&lt;/strong&gt; dropdown. n8n back-fills the other nodes that share it — you'll see &lt;em&gt;"Added this credential to N other node(s)."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;💾 &lt;strong&gt;Then save before you run — this is the important bit.&lt;/strong&gt; Press &lt;strong&gt;Cmd/Ctrl+S&lt;/strong&gt; right after picking the credential. The save persists the binding to every Cloudinary node at once, so a full &lt;strong&gt;Execute Workflow&lt;/strong&gt; run finds credentials everywhere.&lt;/p&gt;

&lt;p&gt;If you &lt;em&gt;don't&lt;/em&gt; save first, the full run can fail one node at a time with &lt;strong&gt;"Node does not have any credentials set"&lt;/strong&gt; — even though the credential clearly looks selected on the node. (Tell-tale sign: running a node on its own with &lt;strong&gt;Execute step&lt;/strong&gt; works, but &lt;strong&gt;Execute Workflow&lt;/strong&gt; fails.) A save fixes it in one shot.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Run it
&lt;/h3&gt;

&lt;p&gt;Click &lt;strong&gt;Test workflow&lt;/strong&gt;. The first few workflows upload a public Cloudinary demo asset into &lt;em&gt;your&lt;/em&gt; account so everything downstream resolves against your cloud — so they run out of the box, then become yours the moment you point them at your own media.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to take it next
&lt;/h2&gt;

&lt;p&gt;These six are starting points, not end points. Because every Transform op emits a reusable &lt;code&gt;transformation&lt;/code&gt; string and every node speaks plain n8n JSON, you can drop these media steps into &lt;em&gt;any&lt;/em&gt; pipeline:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Trigger the social-variations flow from a &lt;strong&gt;webhook&lt;/strong&gt; when a new video lands in your CMS.&lt;/li&gt;
&lt;li&gt;Feed the e-commerce pipeline from a &lt;strong&gt;Google Sheet&lt;/strong&gt; or your &lt;strong&gt;PIM&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Schedule the governance audit to run nightly and post the report to &lt;strong&gt;Slack&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Chain the player + AI-captions flow onto the end of any video upload.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Install the node, import a workflow, and let the media steps run themselves.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which Cloudinary feature are you missing in the n8n integration?&lt;/strong&gt; We're actively expanding the node — tell us what you'd build next by &lt;a href="https://github.com/cloudinary/n8n-nodes-cloudinary/issues/new" rel="noopener noreferrer"&gt;opening an issue on GitHub&lt;/a&gt; or reaching out through &lt;a href="https://support.cloudinary.com/hc/en-us/requests/new" rel="noopener noreferrer"&gt;Cloudinary Support&lt;/a&gt;.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Cloudinary ❤️ developers&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ready to level up your media workflow? Start using Cloudinary for free and build better visual experiences today.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;👉 &lt;strong&gt;&lt;a href="https://link.cloudinary.com/uqET9" rel="noopener noreferrer"&gt;Create your free account&lt;/a&gt;&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;👉 &lt;strong&gt;Get the node:&lt;/strong&gt; &lt;a href="https://www.npmjs.com/package/n8n-nodes-cloudinary" rel="noopener noreferrer"&gt;&lt;code&gt;n8n-nodes-cloudinary&lt;/code&gt; on npm&lt;/a&gt;&lt;br&gt;
👉 &lt;strong&gt;Request a feature / report a bug:&lt;/strong&gt; &lt;a href="https://github.com/cloudinary/n8n-nodes-cloudinary/issues" rel="noopener noreferrer"&gt;GitHub issues&lt;/a&gt;&lt;br&gt;
👉 &lt;strong&gt;How to import a workflow:&lt;/strong&gt; &lt;a href="https://docs.n8n.io/workflows/export-import/" rel="noopener noreferrer"&gt;n8n's import &amp;amp; export guide&lt;/a&gt;&lt;/p&gt;

</description>
      <category>tooling</category>
      <category>n8n</category>
      <category>video</category>
      <category>a11y</category>
    </item>
    <item>
      <title>What Makes An Agent Loop Useful?</title>
      <dc:creator>Ebony Louis</dc:creator>
      <pubDate>Fri, 12 Jun 2026 19:32:34 +0000</pubDate>
      <link>https://dev.to/cloudinary/what-makes-an-agent-loop-useful-d5e</link>
      <guid>https://dev.to/cloudinary/what-makes-an-agent-loop-useful-d5e</guid>
      <description>&lt;p&gt;Over the last few days, my feed has been filled with posts about agent loops.&lt;/p&gt;

&lt;p&gt;The message is usually some variation of the same idea: stop prompting agents one step at a time and start designing systems that can act, evaluate their work, and continue toward a goal on their own. The future isn't us prompting agents all day. It's us designing loops that can keep making progress while we're doing something else, or even while we're asleep.&lt;/p&gt;

&lt;p&gt;That's old news.&lt;/p&gt;

&lt;p&gt;What I didn't understand was which &lt;strong&gt;parts&lt;/strong&gt; of the loop actually mattered.&lt;/p&gt;

&lt;p&gt;Was it the &lt;em&gt;model&lt;/em&gt;? The &lt;em&gt;tools&lt;/em&gt;? The &lt;em&gt;memory&lt;/em&gt;? The &lt;em&gt;trigger&lt;/em&gt;? The fact that it could run unattended?&lt;/p&gt;

&lt;p&gt;Most of the examples I found explained the concept. Few explained how to think about designing one. And even fewer showed what happened when things went wrong.&lt;/p&gt;

&lt;p&gt;So instead of reading another post about loops, I decided to build a simple one.&lt;/p&gt;

&lt;p&gt;Using Claude Code, &lt;a href="https://link.cloudinary.com/uqCfY" rel="noopener noreferrer"&gt;Cloudinary Skills&lt;/a&gt;, and &lt;a href="https://link.cloudinary.com/uqCkv" rel="noopener noreferrer"&gt;Cloudinary MCP servers&lt;/a&gt;, I created a media optimization loop with a simple objective: reduce delivery weight for image assets by at least 20%.&lt;/p&gt;

&lt;p&gt;There was only one question left to answer:&lt;/p&gt;

&lt;h2&gt;
  
  
  What Makes a Loop Useful?
&lt;/h2&gt;

&lt;p&gt;Not every automation is a loop.&lt;/p&gt;

&lt;p&gt;A useful loop needs a few things working together:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsw74q33yphlaub6xz0lm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsw74q33yphlaub6xz0lm.png" alt="Useful loop" width="800" height="696"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If one of those pieces is missing, the loop will start to break down.&lt;/p&gt;

&lt;p&gt;Without a trigger, nothing starts. Without a goal, it doesn't know what success looks like. Without knowledge, the agent guesses. Without actions, it can only make recommendations. Without memory, every run starts from scratch. Without verification, it's very difficult to know whether the loop is actually making progress or simply producing output that looks reasonable.&lt;/p&gt;

&lt;p&gt;That last point ended up becoming the most important lesson of the entire project. Of the eight pieces in that circle, one short chain running through the middle of it is what actually determines whether the loop succeeds. We'll dive more into that later.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Goal Layer
&lt;/h2&gt;

&lt;p&gt;Everything started with a simple goal:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Reduce image delivery weight by at least 20%&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That objective determined what success looked like and ultimately drove every decision the loop made.&lt;/p&gt;

&lt;p&gt;At first that sounds obvious. It wasn't. Later in the project I discovered that a surprisingly large amount of loop behavior comes down to how clearly you define the goal in the first place.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Knowledge Layer
&lt;/h2&gt;

&lt;p&gt;The agent needed both Cloudinary knowledge and knowledge about how the loop itself should operate.&lt;/p&gt;

&lt;p&gt;I didn't want it guessing transformation syntax, trying to remember optimization best practices from training data, or inventing its own workflow every time it ran.&lt;/p&gt;

&lt;p&gt;To solve that, I used &lt;a href="https://link.cloudinary.com/uqCfY" rel="noopener noreferrer"&gt;Cloudinary Skills&lt;/a&gt; alongside a custom loop skill.&lt;/p&gt;

&lt;p&gt;The Cloudinary Skills acted as the domain knowledge layer. In this case, the transformation focused skill provided guidance on optimization strategies, transformation syntax, and Cloudinary best practices so the agent could make informed decisions without relying on memory or assumptions.&lt;/p&gt;

&lt;p&gt;The custom loop skill defined the workflow itself. It told the agent how to read the goal, inspect memory, evaluate results, update state, and decide whether the loop should continue or stop.&lt;/p&gt;

&lt;p&gt;Instead of telling the agent exactly what to do at every step, I gave it both reusable Cloudinary knowledge and a reusable workflow. The loop could then reason about the problem, take action, evaluate the outcome, and decide what to do next.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Action Layer
&lt;/h2&gt;

&lt;p&gt;Knowledge alone isn't enough. If the loop is going to do real work, it needs the ability to interact with your environment. That's where &lt;a href="https://link.cloudinary.com/uqCkv" rel="noopener noreferrer"&gt;Cloudinary MCP servers&lt;/a&gt; came in.&lt;/p&gt;

&lt;p&gt;The &lt;em&gt;Asset Management MCP&lt;/em&gt; server allowed the loop to discover image assets larger than 1 MB, inspect their metadata, and prioritize the biggest optimization opportunities first.&lt;/p&gt;

&lt;p&gt;The &lt;em&gt;Environment Configuration MCP&lt;/em&gt; server allowed the loop to create reusable named transformations when it identified optimization patterns that could be applied across multiple assets. Rather than repeatedly generating the same transformation logic, the loop could register and reuse optimization strategies across future runs.&lt;/p&gt;

&lt;p&gt;Together, the Skills and MCP servers gave the loop both knowledge and action. The Skills helped the agent reason about what should happen. The MCP servers allowed it to actually do it.&lt;/p&gt;

&lt;p&gt;What struck me most wasn't any individual MCP call. It was watching the loop move from reasoning to action. It wasn't simply recommending optimizations anymore. It could inspect my Cloudinary account, identify opportunities, and make changes based on what it found.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Memory Layer
&lt;/h2&gt;

&lt;p&gt;The loop also needed a way to remember what it had already done. I used a simple memory file that tracked:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Assets already evaluated&lt;/li&gt;
&lt;li&gt;Previous run summaries&lt;/li&gt;
&lt;li&gt;Named transformations that had been created&lt;/li&gt;
&lt;li&gt;Current loop status&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This allowed future runs to pick up where earlier runs left off rather than starting from scratch every time. The agent could see what had already been processed and focus only on remaining work.&lt;/p&gt;

&lt;p&gt;With the goal, knowledge, action, and memory layers in place, the loop could do real work and remember what it had done. What it couldn't yet do was tell whether that work was any good.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Evaluation Layer (Where I Got It Wrong)
&lt;/h2&gt;

&lt;p&gt;The first version of the loop looked successful.&lt;/p&gt;

&lt;p&gt;It analyzed assets, generated optimization strategies, and reported an average savings of nearly 68%. If I had stopped there, I probably would have considered the project finished.&lt;/p&gt;

&lt;p&gt;The problem was that those savings were estimates. The loop wasn't actually verifying its work. It was looking at dimensions, formats, and known optimization patterns and making educated guesses about how much optimization should be possible. The numbers looked reasonable.&lt;/p&gt;

&lt;p&gt;Here's what was actually going on. My original loop instructions told the agent to evaluate whether an optimization met the savings target, but never specified &lt;em&gt;how&lt;/em&gt;. So the agent did what any reasonable agent would do when given an ambiguous instruction: it estimated. It knew the typical savings associated with common optimization strategies and used that knowledge to produce a confident sounding number.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The fix wasn't a smarter model. It was a more precise instruction. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I added one section to the loop command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;## Step 8 — Evaluate results&lt;/span&gt;

For each asset processed, determine:
&lt;span class="p"&gt;-&lt;/span&gt; Estimated or measured optimized size (bytes)
&lt;span class="p"&gt;-&lt;/span&gt; Percent savings = (original - optimized) / original × 100
&lt;span class="p"&gt;-&lt;/span&gt; Did this asset meet the target savings threshold?
&lt;span class="p"&gt;-&lt;/span&gt; Confidence level: high (measured), medium (estimated from known asset type),
  low (estimated with significant uncertainty)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. I didn't tell the agent how to measure anything. I just told it that "estimated" and "measured" were different things, and that it needed to label which one it was giving me.&lt;/p&gt;

&lt;p&gt;That single instruction changed the entire run. The agent started actually fetching the optimized URLs and comparing real byte sizes against the originals, because it now had to be honest about which category its number fell into.&lt;/p&gt;

&lt;h2&gt;
  
  
  Verification Changed Everything
&lt;/h2&gt;

&lt;p&gt;Here's the same batch of assets, estimated savings versus measured savings, after I added the evaluation step:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fce52fwp5qjj1ocq2edf2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fce52fwp5qjj1ocq2edf2.png" alt="asset results" width="799" height="434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Almost nothing landed where the estimate said it would.&lt;/p&gt;

&lt;p&gt;The kitten GIF is the headline number: predicted at 70%, measured at 0%. I dug into it and found the test request wasn't negotiating WebP correctly, which caused Cloudinary's automatic format selection to fall back to GIF delivery. The optimization strategy wasn't wrong. The measurement exposed a gap between what should happen and what actually happened on that request.&lt;/p&gt;

&lt;p&gt;But the GIF isn't the real story. Look at &lt;code&gt;food/spices&lt;/code&gt;: estimated at 30%, measured at 61.3%. Look at &lt;code&gt;breakfast&lt;/code&gt;: estimated at 53%, measured at 77.3%. These weren't close. The agent's estimates were off by 5 to 31 percentage points, in both directions, across almost every asset in the batch.&lt;/p&gt;

&lt;p&gt;That's the part that actually changed how I think about this. The estimates weren't &lt;em&gt;imprecise&lt;/em&gt;. They were &lt;em&gt;unreliable&lt;/em&gt;, and not in a way you could correct for with a fudge factor, because sometimes the real number was way better than predicted and sometimes it was worse. Without &lt;em&gt;verification&lt;/em&gt;, there was no way to know which assets fell into which bucket. The loop would have reported a single confident average and moved on, and I would have believed it.&lt;/p&gt;

&lt;p&gt;With the Step 8 instruction in place, the loop now generates optimized Cloudinary URLs, requests the transformed assets, measures the actual delivered byte sizes, and compares those against the originals, flagging low confidence results so I know where to look first.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Loop Was Right. I Was Wrong.
&lt;/h2&gt;

&lt;p&gt;After the first run with real measurements, the loop reported that seven eligible assets still remained.&lt;/p&gt;

&lt;p&gt;My first reaction was, why didn't it keep going?&lt;/p&gt;

&lt;p&gt;I went back and looked at the goal. The goal wasn't:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Optimize every asset larger than 1MB.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It was:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Reduce delivery weight by 20%.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Those sound similar. They produce completely different behavior.&lt;/p&gt;

&lt;p&gt;By the time the loop stopped, the measured average savings across the assets it had processed was already well past 20%. The goal had been met. From the loop's perspective, the work was done. Processing the remaining seven assets wouldn't have made the result any more true.&lt;/p&gt;

&lt;p&gt;The loop wasn't confused. I was.&lt;/p&gt;

&lt;p&gt;I had written down one goal and was carrying around a different one in my head. The loop followed the one that was actually written down, the one it could check against a real number. It stopped exactly when it was supposed to.&lt;/p&gt;

&lt;p&gt;A loop will faithfully pursue the goal you define, not the goal you intended.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Chain That Was Actually Doing the Work
&lt;/h2&gt;

&lt;p&gt;Looking back, the GIF that measured 0% and the seven assets the loop left alone are the same lesson told twice.&lt;/p&gt;

&lt;p&gt;Earlier I showed the eight pieces a useful loop needs: &lt;em&gt;trigger&lt;/em&gt;, &lt;em&gt;goal&lt;/em&gt;, &lt;em&gt;knowledge&lt;/em&gt;, &lt;em&gt;action&lt;/em&gt;, &lt;em&gt;evaluation&lt;/em&gt;, &lt;em&gt;memory&lt;/em&gt;, &lt;em&gt;decision&lt;/em&gt;, &lt;em&gt;repeat&lt;/em&gt;. That's the architecture, the parts you need to assemble. But it's not the part that actually drives progress toward the goal. That part is smaller:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq5hy1vhdqr5vmtmzdauz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq5hy1vhdqr5vmtmzdauz.png" alt="Verified progress" width="800" height="654"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If the eight pieces is the architecture, this is the engine. Everything else in this project, the trigger, the Skills, the MCP servers, the memory file, exists to support this chain. But this is the part that makes something a loop instead of a script that runs once and reports back.&lt;/p&gt;

&lt;p&gt;A script can do the Action step. Only a loop can do &lt;em&gt;Measure&lt;/em&gt; → &lt;em&gt;Verify&lt;/em&gt; → &lt;em&gt;Decide&lt;/em&gt;, and use the answer to decide whether to repeat. The measurement gave the loop a number in the same units as the goal. Verification was the comparison between that number and the target. Decision was what the loop did with the answer, stop, because the goal was met, even though work remained.&lt;/p&gt;

&lt;p&gt;Take away the measurement, and the loop has nothing to verify. Take away verification, and the decision is just a guess wearing a confident tone. Take away the decision, and you have an agent that acts but never knows when to stop.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Loop, In Practice
&lt;/h2&gt;

&lt;p&gt;Stepping back, here's what each layer actually was in this project:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Trigger&lt;/strong&gt;: a command I run manually in Claude Code&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Goal&lt;/strong&gt;: a markdown file stating the target savings percentage&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Knowledge&lt;/strong&gt;: Cloudinary Skills and a custom loop skill, so the agent didn't have to guess either Cloudinary best practices or the workflow itself&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Action&lt;/strong&gt;: Cloudinary MCP servers, so the agent could inspect and modify a real account&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory&lt;/strong&gt;: a JSON file tracking what's been done and what's left&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Evaluation&lt;/strong&gt;: a comparison between the original and optimized byte sizes, measured against the goal&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decision&lt;/strong&gt;: the agent comparing the evaluation result to the goal and deciding to stop, continue, or flag for review&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of these layers are exotic. A markdown file, a JSON file, and two categories of tooling Cloudinary already publishes. What made it a loop wasn't the sophistication of any single piece, it was that each layer fed the next one something real, and that the chain in the middle, &lt;em&gt;Measure&lt;/em&gt; → &lt;em&gt;Verify&lt;/em&gt; → &lt;em&gt;Decide&lt;/em&gt;, was actually wired up.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Didn't Build (Yet)
&lt;/h2&gt;

&lt;p&gt;This is intentionally a small loop. It doesn't use subagents, worktrees, or orchestration frameworks.&lt;/p&gt;

&lt;p&gt;Those things help loops scale, run faster, or handle more complexity, but they aren't what make something a loop in the first place.&lt;/p&gt;

&lt;p&gt;The trigger is also still manual. I start the loop by running a command in Claude Code, and in a production version I'd likely replace that with a schedule or an event such as a new asset upload.&lt;/p&gt;

&lt;p&gt;In other words, this isn't yet the "run while I sleep" version of a loop that many people are talking about. It's a deliberately small implementation designed to answer a simpler question:&lt;/p&gt;

&lt;p&gt;What actually matters when you're designing a loop?&lt;/p&gt;

&lt;p&gt;If you'd like to explore the implementation yourself, I've shared the files used in this experiment:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://gist.github.com/EbonyLouis/68b3a8a42af2fbb0787d89abbfffa395" rel="noopener noreferrer"&gt;optimization-loop.md&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gist.github.com/EbonyLouis/2ae368b7ec32940850d2b9b3bf786bd7" rel="noopener noreferrer"&gt;goal.md&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gist.github.com/EbonyLouis/965493dd96fd32089d41df87f1e3c07f" rel="noopener noreferrer"&gt;loop-memory.json&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Closing Thoughts
&lt;/h2&gt;

&lt;p&gt;Going into this project, I wanted to understand what actually matters when you're designing an agent loop.&lt;/p&gt;

&lt;p&gt;I thought the answer might be the model, the tools, the memory layer, or the fact that the loop could run unattended.&lt;/p&gt;

&lt;p&gt;What I learned was that those things matter, but mostly because they support something else.&lt;/p&gt;

&lt;p&gt;A useful loop needs a clear goal, a way to measure progress against that goal, and a way to decide what to do next based on the result.&lt;/p&gt;

&lt;p&gt;The GIF that measured 0% savings and the seven assets the loop left untouched both pointed to the same lesson: a loop is only as useful as its ability to determine whether it's actually making progress toward the objective it was given.&lt;/p&gt;

&lt;p&gt;Everything else, including tools, MCP servers, Skills, subagents, and orchestration, helps a loop scale. What makes it useful is its ability to measure progress against a goal and use that information to decide what to do next.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Cloudinary ❤️ developers&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ready to level up your media workflow? Start using Cloudinary for free and build better visual experiences today.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;👉 &lt;strong&gt;&lt;a href="https://link.cloudinary.com/uqvzi" rel="noopener noreferrer"&gt;Create your free account&lt;/a&gt;&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>agentloops</category>
      <category>agentskills</category>
    </item>
    <item>
      <title>5 Projects, 2 Weeks, 1 Goal: Building a More Sustainable Web</title>
      <dc:creator>eugene musebe</dc:creator>
      <pubDate>Tue, 02 Jun 2026 11:59:23 +0000</pubDate>
      <link>https://dev.to/cloudinary/5-projects-2-weeks-1-goal-building-a-more-sustainable-web-2gc8</link>
      <guid>https://dev.to/cloudinary/5-projects-2-weeks-1-goal-building-a-more-sustainable-web-2gc8</guid>
      <description>&lt;p&gt;Developers talk about sustainability all the time. They talk about it at conferences, in Twitter threads, and in GitHub issue comments. What they do less often is &lt;em&gt;build&lt;/em&gt; something about it.&lt;/p&gt;

&lt;p&gt;That's what we asked our Cloudinary Creators community to do.&lt;/p&gt;

&lt;p&gt;April is widely celebrated as Earth Month, so it felt like the right moment to point that energy at something developers actually have control over: the weight of the web. Digital weight is a real problem, and optimization is still too often treated as an afterthought. We launched the Mini-Hack: Build a Mindful Digital Future, a two-week challenge centered on one idea: the web is heavier than it needs to be, and smarter media delivery is part of the fix.&lt;/p&gt;

&lt;p&gt;We wanted to see how developers would use Cloudinary to make digital experiences faster, lighter, and more sustainable across real contexts. No grand prize. No months-long runway. Just two weeks, a focused build, and a Cloudinary swag pack for every valid submission.&lt;/p&gt;

&lt;p&gt;The response was better than we expected. In just two weeks, creators built five projects around one shared goal: making digital experiences faster, lighter, and more mindful. A wardrobe. A marketing pipeline. A GitHub Action. An exam-week side project. That range mattered, and it proved the point of the Mini-Hack: sustainability becomes more useful when it shows up as working code.&lt;/p&gt;

&lt;h2&gt;
  
  
  What We Asked For
&lt;/h2&gt;

&lt;p&gt;The brief was deliberately tight. Pick one focused idea. Build it. Show us what you've got.&lt;/p&gt;

&lt;p&gt;Submissions could be a working build with a live demo or repo, a short walkthrough video, or a blog post featuring a specific Cloudinary use case. The theme areas were lighter delivery, asset reuse, sustainability, and storytelling around climate awareness. Earth Month, translated into things you can actually ship.&lt;/p&gt;

&lt;p&gt;Two weeks. Simple as that.&lt;/p&gt;

&lt;h2&gt;
  
  
  What They Built
&lt;/h2&gt;

&lt;p&gt;Five projects came in. All of them different. All of them more thoughtful than a standard hackathon entry tends to be.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;EcoLens&lt;/strong&gt; came from someone who was in the middle of exam week and still shipped. The idea started from something painfully relatable: vibe-coded apps full of unoptimized image.png files that make websites slow for no reason. EcoLens lets you paste a website URL or a GitHub repo link, and it scans for media assets, showing you original vs. optimized sizes, bandwidth savings, and CO₂ reduction estimates, all powered by Cloudinary. The really interesting part is the four ways it lets you act on those results: a one-script-tag SDK method, an npm package for local projects, a GitHub PR flow that opens a pull request with optimized changes, and an AI-guided flow that generates prompts for Cursor, Claude, or Copilot. Stack: Next.js, TypeScript, Supabase, Cloudinary AI transformations, and Vercel.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc56ixqi8gxqfpdh82bv2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc56ixqi8gxqfpdh82bv2.png" width="800" height="399"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Check it out:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://ecolens-cloudinary.vercel.app/" rel="noopener noreferrer"&gt;Live demo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.npmjs.com/package/ecolens" rel="noopener noreferrer"&gt;npm&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;EcoCloset&lt;/strong&gt; tackled the problem from an entirely different angle: your wardrobe. The insight is straightforward but easy to miss: most fast-fashion waste happens because people forget what they already own. EcoCloset uses Cloudinary AI to strip backgrounds from clothing photos and build a clean digital lookbook of what's already in your closet. The idea being that if you can actually &lt;em&gt;see&lt;/em&gt; your wardrobe before you hit checkout, you buy less duplicate stuff. It's a sustainability tool that works by improving your own visibility into what you already have.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9jllu4g0f40l1r5m1iam.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9jllu4g0f40l1r5m1iam.png" width="799" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Check it out:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://ecoclo.netlify.app/" rel="noopener noreferrer"&gt;Live demo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Eco Image Optimizer&lt;/strong&gt; kept things intentionally simple. Upload an image, run Cloudinary's &lt;code&gt;f_auto&lt;/code&gt; and &lt;code&gt;q_auto&lt;/code&gt; optimizations, and see the difference: original file size versus optimized, bandwidth savings, and estimated CO₂ reduction, side by side. No complex setup, no steep learning curve. Just a clear, practical demonstration that smarter media delivery has a measurable environmental impact, and that it doesn't have to be complicated to matter.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxubjch1z0w9u2jzi3u3x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxubjch1z0w9u2jzi3u3x.png" width="799" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Check it out:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://eco-image-optimizer.vercel.app/" rel="noopener noreferrer"&gt;Live demo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/Jmos-Mbugua/eco-image-optimizer" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Green-pipe&lt;/strong&gt; went in a completely different direction and built for the developer tooling layer. It's a CLI tool and GitHub Action that scans any repository for media assets, optimizes them through Cloudinary, and generates a pull request with the results alongside a bandwidth and carbon report. The builder tested it against multiple real repositories, including the Kubernetes repository, and the numbers made a point all on their own. The project doesn't have a UI. It doesn't need one. It lives where developers already are.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Check it out:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.npmjs.com/package/green-pipe" rel="noopener noreferrer"&gt;npm&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;PromptForge AI&lt;/strong&gt; approached the sustainability problem from the marketing workflow side. The premise: most marketing teams store the same asset in a dozen different formats and sizes, generating storage waste and carbon emissions for no real reason. PromptForge generates a complete marketing kit from a single prompt, then uses Cloudinary to dynamically transform one source asset into every required format. One file. Every format you need. None of the duplication you don't.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4mt04vgwtzfu9ahdu1jz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4mt04vgwtzfu9ahdu1jz.png" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Check it out:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://dev.to/joyston_ccd43d53e268ec635/building-promptforge-ai-smarter-lighter-more-sustainable-marketing-3ldh"&gt;Blog post&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/Joystonm/PromptForge" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://promptforgegreen.vercel.app" rel="noopener noreferrer"&gt;Live demo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Judging Session
&lt;/h2&gt;

&lt;p&gt;On May 15th, we took it to LinkedIn Live.&lt;/p&gt;

&lt;p&gt;Our Official Cloudinary Creators pitched their projects in a live 30-minute session, with &lt;strong&gt;Sanjay Sarathy, VP of Developer Experience &amp;amp; Self-Service at Cloudinary&lt;/strong&gt;, sitting in as guest judge. It wasn't a polished product demo event. It was builders talking through real decisions, real tradeoffs, and real results. Jen Looper and other community members tuned in to watch.&lt;/p&gt;

&lt;p&gt;We did not rank the projects or select a single winner. Each submission brought a different approach to the same challenge, and each one showed real thought, effort, and practical use of Cloudinary. For this Mini-Hack, recognition was less about choosing a first place and more about celebrating what every creator managed to build in just two weeks.&lt;/p&gt;

&lt;p&gt;You can catch the recording here → &lt;a href="https://www.linkedin.com/posts/join-us-on-friday-to-watch-some-of-our-official-ugcPost-7460697818618494976-B7aK/" rel="noopener noreferrer"&gt;Watch the judging session&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What These Two Weeks Proved
&lt;/h2&gt;

&lt;p&gt;A two-week mini-hack with a sustainability constraint produced a CLI tool that works on the Kubernetes repo, a wardrobe app that reframes consumption, a PR automation tool, a marketing asset optimizer, and an image audit platform with four distinct developer workflows.&lt;/p&gt;

&lt;p&gt;That's a lot of ground to cover for a two-week community event with a swag pack as the prize.&lt;/p&gt;

&lt;p&gt;The thread connecting all five projects is the same: digital weight is a real problem, optimization is often an afterthought, and Cloudinary is useful enough that people keep finding new contexts to apply it in. A wardrobe. A marketing pipeline. A GitHub Action. An exam-week side project. That range matters. And it's a fitting way to mark Earth Month: not with a pledge, but with working code.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;We're doing it again in June.&lt;/p&gt;

&lt;p&gt;We're not ready to share all the details yet, but if these two weeks are any indication, it's going to be worth your time. Stay tuned, and if you want to make sure you don't miss the announcement, keep an eye on the community and our social channels.&lt;/p&gt;

&lt;p&gt;The web is still heavier than it needs to be. There's more to build.&lt;/p&gt;

&lt;h2&gt;
  
  
  Want to Be a Creator?
&lt;/h2&gt;

&lt;p&gt;Every project you just read about came from someone in our community who decided to build instead of just talk. You can be next.&lt;/p&gt;

&lt;p&gt;Here's where to start. &lt;/p&gt;

&lt;p&gt;Learn more about the Cloudinary Creators program and what it offers at &lt;a href="https://cloudinary.com/developers/community" rel="noopener noreferrer"&gt;https://cloudinary.com/developers/community&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;Join the conversation, get build feedback, and hear about the next Mini-Hack first in our Discord community at &lt;a href="https://discord.com/invite/D8ddQj6KnH" rel="noopener noreferrer"&gt;https://discord.com/invite/D8ddQj6KnH&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;When you're ready to go deeper, work through the Cloudinary Creators curriculum at &lt;a href="https://training.cloudinary.com/pages/c2c" rel="noopener noreferrer"&gt;https://training.cloudinary.com/pages/c2c&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Two weeks was all it took last time. See what you can build with yours.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Cloudinary ❤️ developers&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ready to level up your media workflow? Start using Cloudinary for free and build better visual experiences today.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;👉 &lt;strong&gt;&lt;a href="https://link.cloudinary.com/uqnvw" rel="noopener noreferrer"&gt;Create your free account&lt;/a&gt;&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>webdev</category>
      <category>sustainability</category>
      <category>cloudinary</category>
      <category>community</category>
    </item>
    <item>
      <title>Your AI Agent Knows Cloudinary. Sort Of.</title>
      <dc:creator>Ebony Louis</dc:creator>
      <pubDate>Fri, 15 May 2026 17:01:40 +0000</pubDate>
      <link>https://dev.to/cloudinary/your-ai-agent-knows-cloudinary-sort-of-5cog</link>
      <guid>https://dev.to/cloudinary/your-ai-agent-knows-cloudinary-sort-of-5cog</guid>
      <description>&lt;p&gt;AI agents are incredible right up until they confidently generate something completely wrong and move on like nothing happened.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Ran Into
&lt;/h2&gt;

&lt;p&gt;Over the past year, I've spent a huge amount of time working with tools like Claude Code, Cursor, and Goose, and one pattern keeps showing up: the code &lt;em&gt;looks&lt;/em&gt; correct until you actually run it.&lt;/p&gt;

&lt;p&gt;That was one of the first things I ran into after joining &lt;a href="https://cloudinary.com" rel="noopener noreferrer"&gt;Cloudinary&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I asked my agent to help me set up a simple Cloudinary integration in an application I was testing. The prompt itself was straightforward: &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;generate a transformation URL, optimize an image, resize it to 800px wide, and apply automatic quality and format optimization.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The output looked convincing enough that I almost trusted it. Which, honestly, was the problem. The transformation syntax wasn't following best practices, the SDK imports were outdated, and some delivery URL parameters would have behaved unpredictably in production. It didn't fail loudly. It failed quietly, which is worse.&lt;/p&gt;

&lt;p&gt;That’s exactly why we built the &lt;a href="https://link.cloudinary.com/uqCf0" rel="noopener noreferrer"&gt;Cloudinary Skills Pack&lt;/a&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the Cloudinary Skills Pack Does
&lt;/h2&gt;

&lt;p&gt;The Cloudinary Skills Pack turns your AI agent into a Cloudinary expert with up to date workflows, documentation context, and implementation patterns built in.&lt;/p&gt;

&lt;p&gt;Instead of relying entirely on scattered examples pulled from docs, forums, blog posts, and old repositories, the agent can use skills that understand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cloudinary transformation syntax&lt;/li&gt;
&lt;li&gt;current SDK usage patterns&lt;/li&gt;
&lt;li&gt;delivery URL workflows&lt;/li&gt;
&lt;li&gt;media optimization best practices&lt;/li&gt;
&lt;li&gt;documentation-aware implementation guidance&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The current Skills Pack includes three skills:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Skill&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;cloudinary-docs&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Pulls relevant documentation context directly from the latest Cloudinary docs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;cloudinary-transformations&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Converts natural language requests into valid Cloudinary image and video transformation URLs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;cloudinary-react&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Provides modern React SDK integration patterns and troubleshooting guidance&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;💡 The cloudinary-docs and cloudinary-transformations skills are framework and language agnostic. Whether you're working with React, Next.js, or Vue on the frontend, or Node.js, Python, PHP, Android, iOS, or React Native on the backend, these skills work across your entire stack. The React skill exists specifically for teams using the Cloudinary React SDK.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What Changed When I Tested It
&lt;/h2&gt;

&lt;p&gt;After installing the &lt;a href="https://link.cloudinary.com/uqCf0" rel="noopener noreferrer"&gt;Skills Pack&lt;/a&gt;, I reran the exact same prompts.&lt;/p&gt;

&lt;p&gt;The difference was immediate.&lt;/p&gt;

&lt;h3&gt;
  
  
  Documentation Answers Became More Reliable
&lt;/h3&gt;

&lt;p&gt;One of the biggest improvements was documentation accuracy.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Prompt:&lt;/strong&gt; "How do I sign a Cloudinary delivery URL to make it secure?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;Without the skill:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhon54r4r1niwehuattvy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhon54r4r1niwehuattvy.png" alt="Before: Goose explaining URL signing concept without cloudinary-docs skill" width="800" height="701"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;With the skill:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1jwk19tq5zkgukpak1lj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1jwk19tq5zkgukpak1lj.png" alt="After: Goose returning working Node.js implementation with cloudinary-docs skill installed" width="800" height="701"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Without&lt;/strong&gt; the skill, my agent explained the concept of signing but missed the actual implementation. &lt;strong&gt;With&lt;/strong&gt; the &lt;code&gt;cloudinary-docs&lt;/code&gt; skill installed, it pulled context directly from the latest Cloudinary documentation and returned working Node.js code and a CLI command I could run immediately.&lt;/p&gt;

&lt;p&gt;That distinction matters more than it sounds. Incorrect answers around delivery URLs and signing workflows often don't fail immediately. They become production issues later when security constraints start to matter.&lt;/p&gt;




&lt;h3&gt;
  
  
  Transformation URLs Became Production Ready
&lt;/h3&gt;

&lt;p&gt;The clearest improvement showed up in transformation generation.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Prompt:&lt;/strong&gt; "Write me a Cloudinary transformation URL that resizes an image to 800px wide, uses face aware cropping, and applies automatic format and quality optimization."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;Without the skill:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7m45u53vtqc2r33ras1a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7m45u53vtqc2r33ras1a.png" alt="Before: Goose generating transformation URL with c_thumb without cloudinary-transformations skill" width="800" height="368"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;With the skill:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvghcfsll94jup904h7tm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvghcfsll94jup904h7tm.png" alt="After: Goose generating correct transformation URL with c_fill and g_face with cloudinary-transformations skill installed" width="800" height="614"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Without&lt;/strong&gt; the skill, my agent used &lt;code&gt;c_thumb&lt;/code&gt; instead of &lt;code&gt;c_fill&lt;/code&gt; for the crop mode. Technically the URL worked. Realistically it was one "why is this image cropped like that?" debugging session away from ruining my afternoon. &lt;strong&gt;With&lt;/strong&gt; the &lt;code&gt;cloudinary-transformations&lt;/code&gt; skill installed, it returned the correct crop mode, face aware gravity, and proper optimization parameters on the first attempt.&lt;/p&gt;

&lt;p&gt;This is also where the framework agnostic nature of the Skills Pack becomes important. The transformation skill works independently of React and improves Cloudinary workflows no matter what frontend framework or backend stack you are using.&lt;/p&gt;




&lt;h3&gt;
  
  
  The React SDK Imports Were Correct
&lt;/h3&gt;

&lt;p&gt;One of the workflows I tested used the Cloudinary React SDK, which is where the &lt;code&gt;cloudinary-react&lt;/code&gt; skill came in.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Prompt:&lt;/strong&gt; "Show me how to set up Cloudinary in a React app and display an optimized image using the Cloudinary React SDK."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;Without the skill:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzvhbxphwtrodx3ghxz9y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzvhbxphwtrodx3ghxz9y.png" alt="before" width="799" height="382"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;With the skill:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftn731nxszohcgngms2ac.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftn731nxszohcgngms2ac.png" alt="after" width="800" height="303"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Without&lt;/strong&gt; the skill, my agent recommended the deprecated &lt;code&gt;cloudinary-react&lt;/code&gt; package. The code looked believable enough that I probably would have copied it directly into my project if my terminal hadn't immediately humbled me. &lt;strong&gt;With&lt;/strong&gt; the skill installed, it recommended the correct &lt;code&gt;@cloudinary/react&lt;/code&gt; and &lt;code&gt;@cloudinary/url-gen&lt;/code&gt; packages and set up the right environment variables for Vite.&lt;/p&gt;

&lt;p&gt;Instead of debugging the generated integration, I could immediately continue building.&lt;/p&gt;




&lt;h2&gt;
  
  
  MCP Servers and Skills Solve Different Problems
&lt;/h2&gt;

&lt;p&gt;One thing became very clear while testing this.&lt;/p&gt;

&lt;p&gt;There's a growing conversation around whether skills are necessary if you already have MCP servers configured for your coding agent. After spending the last year heavily working with agents and skills, I don't think these are competing ideas at all.&lt;/p&gt;

&lt;p&gt;They solve different problems.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;MCP Servers&lt;/th&gt;
&lt;th&gt;Skills&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Give agents tools and actions&lt;/td&gt;
&lt;td&gt;Give agents workflows and implementation knowledge&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Execute operations&lt;/td&gt;
&lt;td&gt;Teach best practices and platform specific patterns&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Help agents do something&lt;/td&gt;
&lt;td&gt;Help agents do it correctly&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A Cloudinary MCP server can help an agent create a named transformation in your account.&lt;/p&gt;

&lt;p&gt;The skill helps the agent understand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;when named transformations are the better architectural choice&lt;/li&gt;
&lt;li&gt;how transformation syntax should be structured&lt;/li&gt;
&lt;li&gt;which optimization patterns are recommended&lt;/li&gt;
&lt;li&gt;how to avoid common implementation mistakes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The two approaches complement each other. MCP servers extend what an agent can do, while skills improve how accurately the agent understands a platform.&lt;/p&gt;

&lt;p&gt;That distinction clicked for me very quickly because I spent the last few years working on Goose, where skills are a core part of how agents learn reusable workflows. Once I started testing Cloudinary integrations through that same lens, the value became obvious almost immediately.&lt;/p&gt;




&lt;h2&gt;
  
  
  AI Agents Need Platform Context
&lt;/h2&gt;

&lt;p&gt;The biggest shift happening right now is that AI agents are quickly becoming the interface developers use to interact with platforms.&lt;/p&gt;

&lt;p&gt;That changes the responsibility for developer platforms too.&lt;/p&gt;

&lt;p&gt;It's no longer enough to expose APIs and publish documentation. Platforms now need ways to teach agents:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;platform specific syntax&lt;/li&gt;
&lt;li&gt;implementation workflows&lt;/li&gt;
&lt;li&gt;SDK patterns&lt;/li&gt;
&lt;li&gt;optimization best practices&lt;/li&gt;
&lt;li&gt;architectural recommendations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's what skills enable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# run in your terminal&lt;/span&gt;

npx skills add cloudinary-devs/skills
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Full installation options, marketplace plugins, and setup instructions are available in the &lt;a href="https://cloudinary.com/documentation/cloudinary_llm_mcp#skills_installation" rel="noopener noreferrer"&gt;Cloudinary Skills Guide →&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We're continuing to expand the Cloudinary Skills Pack with new skills and capabilities over time, so stay tuned for more. And if you have feedback or ideas you'd like to see supported, we'd love to hear from you in the &lt;a href="https://github.com/cloudinary-devs/skills/issues" rel="noopener noreferrer"&gt;GitHub repo&lt;/a&gt;.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Cloudinary ❤️ developers&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ready to level up your media workflow? Start using Cloudinary for free and build better visual experiences today.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;👉 &lt;strong&gt;&lt;a href="https://link.cloudinary.com/uo8oM" rel="noopener noreferrer"&gt;Create your free account&lt;/a&gt;&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>productivity</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
