CONTENT CREATION
On-demand caption-and-archive endpoint with Hugging Face and R2
Exposes a webhook that accepts an image URL, generates alt-text and a caption with Hugging Face, archives the image plus its metadata to R2, and returns the result in the response.
How it runs
The automated pipeline, trigger to output.
- TriggerInbound webhook with image URLHTTP webhook
- LogicValidate payload is a fetchable image
- ActionGenerate alt-text and caption via Hugging FaceHugging Face
- ActionArchive image + metadata JSON to R2Cloudflare R2
- OutputReturn generated text and R2 keys in responseHTTP webhook
What it does
Provides a synchronous HTTP endpoint your own apps can call with an image URL. It fetches the image, generates both short alt-text and a longer caption from a Hugging Face vision model, stores the original and a JSON metadata sidecar in Cloudflare R2, and returns the generated text and the R2 keys to the caller.
When to use it
You want captioning as a reusable internal service — a CMS upload hook, an internal tool, or a batch script can POST an image and get accessibility text back immediately, with a durable archived copy for audit.
How it works
- 1An inbound webhook receives a request containing the image URL.
- 2Validate the payload and reject anything that isn't a fetchable image.
- 3Call the Hugging Face image-to-text model twice (or with a prompt) to produce short alt-text and a descriptive caption.
- 4Store the source image and a JSON metadata file in R2 under a content-addressed key.
- 5Return the alt-text, caption, and R2 object keys in the webhook response.
Set it up
What you configure once, before turning it on.
- 1Connect HTTP webhookTrigger any URL on agent actions.
- 2Connect Hugging FaceModels, datasets, spaces — the open-source hub.
- 3Connect Cloudflare R2Object storage, S3-compatible.
- 4Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 5Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 6Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Content Creation workflows
Build a Dropbox B-roll library from exported blog drafts
Triggers when a new blog draft file lands in a Dropbox folder, generates a Replicate B-roll clip for each paragraph.
Generate B-roll clips when a blog post is marked Ready in Notion
Watches a Notion blog database for posts flipped to 'Ready', splits the body into paragraphs, and generates a short B-roll video clip for each paragraph with Replicate.
On-demand: turn a blog URL into narrated B-roll clips
Accepts a blog URL via webhook, scrapes the article, generates a B-roll clip per paragraph with Replicate and a voiceover with ElevenLabs.
On-Demand Screenshot Freshness Report from a Slack Command
A writer requests a freshness check in Slack for a specific docs page; the workflow inspects every screenshot on that page, scores each by age and version gap.
Sync a Figma master frame into localized hero renders
Pulls the current master hero frame and its text layers from Figma, generates a localized image variant for each locale defined in Airtable.
Research-driven localized hero banners tuned per market
An agent researches cultural and seasonal cues for each target market, adapts the master hero concept to fit local context, generates a tailored image per locale.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
