CONTENT CREATION

Publish enhanced photos to the CDN and notify the channel

When a raw image lands in an R2 staging bucket, it upscales and removes the background through Replicate, publishes the finished asset to a public R2 path.

CategoryContent Creation
Enginesim
Difficultyintermediate
Triggerevent
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNew object lands in R2 staging prefixCloudflareCloudflare R2
  • ActionUpscale image to delivery resolution with ReplicateReplicateReplicate
  • ActionRemove background with ReplicateReplicateReplicate
  • LogicVerify output is valid before publishing
  • ActionPublish asset to public R2 CDN prefixCloudflareCloudflare R2
  • OutputPost live CDN link to DiscordDiscordDiscord

What it does

Closes the loop from raw upload to public CDN asset. A photo dropped into a staging bucket is automatically enhanced, moved to the public delivery path, and announced with its live link so downstream teams know it is ready to embed.

When to use it

Use it when your storefront or app serves product images straight from an R2 CDN and you want new photos to go from raw to publish-ready without a manual upload or hand-off step.

How it works

  1. 1A new object in the R2 `staging/` prefix triggers the run.
  2. 2The image is upscaled to delivery resolution with Replicate.
  3. 3A Replicate background-removal call produces the clean transparent asset.
  4. 4A logic step verifies the output is valid and non-empty before publishing.
  5. 5The finished asset is written to the public `cdn/` prefix in R2 with cache-friendly metadata.
  6. 6The live CDN URL is posted to a Discord channel for the storefront team.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect Cloudflare R2Object storage, S3-compatible.
  2. 2
    Connect ReplicateImage, video, and model inference.
  3. 3
    Connect DiscordCommunity channels + voice + bots.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.