This morning on Resort Reels Factory we stopped leaning on paid Gemini credits, got a real Reel out of Colab-hosted Ollama, fixed AI overlay copy that looked like scene tags, wired agent tooling, then scrubbed private media out of a public git history.

The constraint

Resort Reels Factory is a local-first studio: FastAPI + React, content-addressed clip cache, beat-synced EDLs, FFmpeg renders to 1080×1920. Providers are pluggable (gemini | ollama | offline_template). The EDL is always a human-editable first draft.

Cloud credits ran out. We needed vision + text without rewriting the app.

Colab Ollama as a Gemini stand-in

Rather than fighting a weak local GPU, we ran qwen2.5vl:7b + qwen2.5:7b on a Colab T4 and exposed Ollama through a Cloudflare quick tunnel (notebooks/colab_ollama_tunnel.ipynb).

Windows notes that burned time:

  • Point OLLAMA_BASE_URL at the tunnel (no trailing slash), restart one uvicorn — stale workers kept serving old settings.
  • First vision call often hits Cloudflare 524 while the model loads; a retry after warm-up works.
  • Image clips need an is_image path in keyframe extraction (stills ≠ 10/50/90 video seeks).

After that, seven clips analyzed, an EDL generated, and an MP4 rendered end-to-end through the existing renderer — not a second pipeline.

The community is already building local short-form stacks with Ollama and FFmpeg (PeakCut self-host, faceless Shorts pipelines). Our angle is hospitality B-roll → editable EDL → verified 9:16 render, with offline recipes when the LLM is down.

Overlays that tell a story (not taxonomy)

First Ollama EDL burned words like Dining, Cozy, Architecture onto the Reel. Those are scene_tag / mood labels, not hooks.

Two layers fixed it:

  1. Prompt — give Ollama the same HOOK → PROOF → CTA contract Gemini already had; ban copying tags into overlay_text.
  2. Reconcile safety net — if the model still emits taxonomy (or “Serene spa”), replace with vibe-native phrases (POV: Hidden escape, blank fillers, Save this spot).

Weak 7B models need both the instruction and the post-check.

Agent skills + MCP without a second renderer

We added a workspace tooling layer under .agents/:

  • MCP: ffmpeg-skill (pinned, inspection-only: probe / check / cropdetect) + Playwright (isolated)
  • Skills: footage curator, reel director, render QA, brand style, FFmpeg quality-check wrapper

Rule we refused to break: external FFmpeg tools diagnose outputs; backend/renderer.py stays authoritative. PySceneDetect was evaluated on real B-roll and left off by default — most clips are single continuous takes, so fixed 10/50/90 keyframes still win.

The uncomfortable part: private media in a public repo

.gitignore said “don’t commit user assets.” History still held uploads, WhatsApp media, music, and renders (~GB scale).

Playbook (aligned with git filter-repo secret scrubbing and calm incident write-ups like Oops, I committed a secret):

  1. Backup data/ off-repo
  2. git filter-repo --invert-paths on data/uploads, outputs, cache, jobs, library, thumbnails
  3. Force-push rewritten main
  4. Restore local media from the backup
  5. Rotate any keys that lived in chat or .env even if they never hit git

No real API key was in history. The media was the incident.

What shipped

  • Colab Ollama path documented and smoke-tested
  • Storytelling overlay sanitizer + tests
  • Antigravity skills + restricted FFmpeg/Playwright MCP
  • Public history without private footage

Repo: https://github.com/arjankc/resort-reels-factory

If you’re wiring local vision models into an existing render pipeline, I’d love to hear what you use when Cloudflare tunnels time out on cold starts.