<?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: vertovhq</title>
    <description>The latest articles on DEV Community by vertovhq (@vertovhq).</description>
    <link>https://dev.to/vertovhq</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%2Fuser%2Fprofile_image%2F4283577%2F306a6869-47f9-404d-959d-8012c6b10e06.png</url>
      <title>DEV Community: vertovhq</title>
      <link>https://dev.to/vertovhq</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vertovhq"/>
    <language>en</language>
    <item>
      <title>How We Built OmniFrame: Giving an AI Model Eyes, Ears, and Hands to Direct Video in Kiro</title>
      <dc:creator>vertovhq</dc:creator>
      <pubDate>Fri, 04 Dec 2026 21:30:14 +0000</pubDate>
      <link>https://dev.to/vertovhq/how-we-built-omniframe-giving-an-ai-model-eyes-ears-and-hands-to-direct-video-in-kiro-4402</link>
      <guid>https://dev.to/vertovhq/how-we-built-omniframe-giving-an-ai-model-eyes-ears-and-hands-to-direct-video-in-kiro-4402</guid>
      <description>&lt;p&gt;&lt;em&gt;Written as part of the **Kiroween Hackathon 2026&lt;/em&gt;* (Kiroween 2026 hackathon, Frankenstein category) by VertovHQ.*&lt;br&gt;
&lt;em&gt;Repository: &lt;a href="https://github.com/vertovhq/omniframe" rel="noopener noreferrer"&gt;github.com/vertovhq/omniframe&lt;/a&gt; · Demo video: &lt;a href="https://youtu.be/--RtqkM8sJM" rel="noopener noreferrer"&gt;Watch on YouTube&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;



&lt;p&gt;Most AI video tools hand the creative decisions to a hardcoded template and ask you to fill in a form. &lt;strong&gt;OmniFrame&lt;/strong&gt; flips that model: the LLM inside your IDE is the director and editor, and OmniFrame is a local MCP server that gives it &lt;strong&gt;eyes, ears, and hands&lt;/strong&gt; — returning real video frames, word-level transcripts, sound events, frame-exact Remotion renders, deterministic QA checks, and a ready-to-upload package.&lt;/p&gt;

&lt;p&gt;Our ~100-second Kiroween submission demo (&lt;code&gt;1920×1080&lt;/code&gt;, &lt;code&gt;30 fps&lt;/code&gt;, &lt;code&gt;-14.1 LUFS&lt;/code&gt;, &lt;code&gt;-1.2 dBTP&lt;/code&gt;) was itself directed, voiced, cut, QA-checked, and rendered with OmniFrame inside Kiro.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why v1 Failed — and Why We Deleted Every Creative Gate
&lt;/h2&gt;

&lt;p&gt;OmniFrame v2 exists because v1 fell into the classic trap of trying to legislate "good taste" in Python.&lt;/p&gt;

&lt;p&gt;In v1, every new edge case turned into another rigid heuristic: a 30% story-overlap cap, 30% digit-density limits, slop-word blacklists, and a 150-line rule book telling the model how to write. Worse, the tools returned raw file paths that the chat model couldn't actually see, and the renderer only knew fixed &lt;code&gt;dark&lt;/code&gt;/&lt;code&gt;light&lt;/code&gt; vertical templates. The output looked like predictable "neuroslop."&lt;/p&gt;

&lt;p&gt;So in v2 we deleted all of it (&lt;code&gt;validate_beats&lt;/code&gt;, &lt;code&gt;story_guide&lt;/code&gt;, &lt;code&gt;detect_genre&lt;/code&gt;, slop-word lists, and every percentage rule). Instead, we enforced one product rule in &lt;code&gt;.kiro/steering/product.md&lt;/code&gt;: &lt;strong&gt;the model makes every creative decision; OmniFrame never scores or gates a story, style, or originality.&lt;/strong&gt; Tools only perceive media and check objective technical faults (resolution, frame rate, integrated loudness, true peak, black gaps, frozen frames, and audio length).&lt;/p&gt;
&lt;h2&gt;
  
  
  The Frankenstein Stitch: Six Open Technologies, One Body
&lt;/h2&gt;

&lt;p&gt;To act as a full production body for a text/vision model, OmniFrame stitches together six completely different stacks behind one local MCP server:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Brain (MCP Client):&lt;/strong&gt; Any MCP-capable IDE model (&lt;code&gt;Kiro&lt;/code&gt;, &lt;code&gt;Cursor&lt;/code&gt;, &lt;code&gt;VS Code&lt;/code&gt;, &lt;code&gt;Antigravity&lt;/code&gt;, or &lt;code&gt;Claude Code&lt;/code&gt;) calls 14 MCP tools and receives JPEG contact sheets and exact frame crops inline via &lt;code&gt;tool_result&lt;/code&gt; images.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Eyes (&lt;code&gt;FFmpeg&lt;/code&gt; + &lt;code&gt;Pillow&lt;/code&gt;):&lt;/strong&gt; &lt;code&gt;watch_video&lt;/code&gt; and &lt;code&gt;get_frames&lt;/code&gt; run shot detection, build 6-tile contact sheets, and extract exact cropped frames so the model literally looks at footage and its own rendered stills before approving a final cut.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ears (&lt;code&gt;faster-whisper&lt;/code&gt; + &lt;code&gt;NumPy&lt;/code&gt; DSP):&lt;/strong&gt; Word-level ASR transcripts (&lt;code&gt;{w, s, e}&lt;/code&gt; timings), beat grids (&lt;code&gt;calculate_beat_grid&lt;/code&gt;), and audio onset events.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Voice &amp;amp; Sound (&lt;code&gt;ElevenLabs&lt;/code&gt;, &lt;code&gt;edge-tts&lt;/code&gt;, &lt;code&gt;Gemini TTS&lt;/code&gt;, &lt;code&gt;Freesound&lt;/code&gt; + Python DSP):&lt;/strong&gt; &lt;code&gt;synthesize_voiceover&lt;/code&gt; generates narration with word timings mastered to &lt;code&gt;-14 LUFS&lt;/code&gt; (with free &lt;code&gt;edge-tts&lt;/code&gt; fallback when no API keys are present), while &lt;code&gt;search_sfx&lt;/code&gt; pulls CC0 audio and &lt;code&gt;tools/synth.py&lt;/code&gt; synthesizes built-in &lt;code&gt;whoosh&lt;/code&gt;, &lt;code&gt;pop&lt;/code&gt;, and &lt;code&gt;hit&lt;/code&gt; sound effects in code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hands (&lt;code&gt;React&lt;/code&gt; + &lt;code&gt;Remotion&lt;/code&gt; + &lt;code&gt;Node.js&lt;/code&gt;):&lt;/strong&gt; &lt;code&gt;render_video&lt;/code&gt; drives a frame-exact Remotion engine supporting 9:16 and 16:9 plans, footage cutting with automatic VFR/non-H.264 proxies, word-timed captions, music ducking, and &lt;strong&gt;live-compiled custom TSX components&lt;/strong&gt; (&lt;code&gt;tools/components.py&lt;/code&gt;) built on an internal motion kit (&lt;code&gt;engine/src/kit/&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Technical QA &amp;amp; Packaging (&lt;code&gt;FFmpeg&lt;/code&gt; two-pass &lt;code&gt;loudnorm&lt;/code&gt; + &lt;code&gt;alimiter&lt;/code&gt;):&lt;/strong&gt; &lt;code&gt;qa_verify_video&lt;/code&gt; enforces hard technical thresholds and attaches frames for black/freeze issues; &lt;code&gt;export_package&lt;/code&gt; blocks on any hard failure and otherwise writes the final video, covers, and &lt;code&gt;post.md&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;All of this installs via &lt;code&gt;install.sh&lt;/code&gt; / &lt;code&gt;install.ps1&lt;/code&gt; (with &lt;code&gt;omniframe-install&lt;/code&gt; auto-configuring all 5 IDEs), &lt;code&gt;uvx --from git+https://github.com/vertovhq/omniframe omniframe&lt;/code&gt;, or the bundled &lt;a href="https://github.com/vertovhq/omniframe/tree/main/kiro-power" rel="noopener noreferrer"&gt;&lt;code&gt;kiro-power/&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  How We Built OmniFrame v2 in Kiro
&lt;/h2&gt;

&lt;p&gt;Rather than blind vibe-coding, we rebuilt OmniFrame v2 &lt;strong&gt;spec-first&lt;/strong&gt; inside Kiro and kept a factual per-task engineering record in &lt;a href="https://github.com/vertovhq/omniframe/blob/main/docs/BUILD_LOG.md" rel="noopener noreferrer"&gt;&lt;code&gt;docs/BUILD_LOG.md&lt;/code&gt;&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Specs (&lt;code&gt;.kiro/specs/omniframe/&lt;/code&gt;):&lt;/strong&gt; &lt;code&gt;requirements.md&lt;/code&gt;, &lt;code&gt;design.md&lt;/code&gt;, and &lt;code&gt;tasks.md&lt;/code&gt; were planned upfront in one session. Each task explicitly named the design sections to read, the exact files to touch, and concrete verification steps before marking &lt;code&gt;[x]&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Steering (&lt;code&gt;.kiro/steering/&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;product.md&lt;/code&gt; kept creative gates out and locked in the three core scenarios (reference -&amp;gt; new video, footage -&amp;gt; edited video, idea -&amp;gt; video from scratch).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;tech.md&lt;/code&gt; standardized tool contracts (return images via &lt;code&gt;tool_result&lt;/code&gt;, detach anything over ~20s via &lt;code&gt;run_or_detach&lt;/code&gt; + &lt;code&gt;job_status&lt;/code&gt;, keep tests offline with mocked HTTP).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;engine.md&lt;/code&gt; enforced Remotion determinism (never &lt;code&gt;Math.random()&lt;/code&gt; or &lt;code&gt;Date.now()&lt;/code&gt;, always &lt;code&gt;random(seed)&lt;/code&gt;) and layer ordering.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agent Hooks (&lt;code&gt;.kiro/hooks/&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;engine-typecheck-on-save.json&lt;/code&gt; triggers &lt;code&gt;tsc --noEmit -p engine&lt;/code&gt; every time a &lt;code&gt;.ts&lt;/code&gt;/&lt;code&gt;.tsx&lt;/code&gt; file under &lt;code&gt;engine/src&lt;/code&gt; is saved.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;tests-after-task.json&lt;/code&gt; runs &lt;code&gt;.venv/Scripts/python.exe -m pytest -q&lt;/code&gt; whenever a spec task completes.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP &amp;amp; Kiro Power:&lt;/strong&gt; &lt;code&gt;.kiro/settings/mcp.json&lt;/code&gt; wired OmniFrame straight into Kiro so we could dogfood every new tool directly from Kiro chat. &lt;code&gt;kiro-power/&lt;/code&gt; packages the same server and working guide as an installable Power.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model Routing &amp;amp; Real Credit Costs:&lt;/strong&gt; We used Claude Opus 5.5 for planning and diff audits, Claude Sonnet 5.5 for core architecture tasks, and Claude Haiku 5.5 for tightly specified, test-covered tasks. Measured directly from Kiro's chat footer: producing the first 15-second 9:16 video of a series took &lt;strong&gt;17 credits and 13 minutes on Sonnet&lt;/strong&gt;; the next video in the series reused elements from the style library and took &lt;strong&gt;2.03 credits and 12 minutes on Haiku&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Three Real Bugs Caught During Dogfooding
&lt;/h2&gt;

&lt;p&gt;Every complex pipeline looks clean on paper until you render real videos with it. Here are three concrete failures we hit and fixed while dogfooding inside Kiro:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Passing &lt;code&gt;-14.1 LUFS&lt;/code&gt; loudness while failing &lt;code&gt;-0.28 dBTP&lt;/code&gt; true peak:&lt;/strong&gt; On our first 86-second dogfood video, &lt;code&gt;qa_verify_video&lt;/code&gt; threw a hard failure even though integrated loudness hit &lt;code&gt;-14.1 LUFS&lt;/code&gt;. Two-pass &lt;code&gt;loudnorm&lt;/code&gt; alone didn't catch inter-sample peaks before AAC encoding. Adding &lt;code&gt;alimiter&lt;/code&gt; (&lt;code&gt;-2 dBFS&lt;/code&gt;, &lt;code&gt;level=disabled&lt;/code&gt;, &lt;code&gt;latency=true&lt;/code&gt;) after &lt;code&gt;loudnorm&lt;/code&gt; in &lt;code&gt;finalize_video&lt;/code&gt; dropped the exact same file from &lt;code&gt;-0.28 dBTP&lt;/code&gt; to &lt;code&gt;-1.82 dBTP&lt;/code&gt; while keeping &lt;code&gt;-14.06 LUFS&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cached Remotion bundles dropping &lt;code&gt;public/fonts/&lt;/code&gt; (and &lt;code&gt;pip install -e .&lt;/code&gt; hanging on 15,181 &lt;code&gt;node_modules&lt;/code&gt; files):&lt;/strong&gt; When reusing cached webpack bundles across renders, &lt;code&gt;InterDisplay-Black.otf&lt;/code&gt; occasionally 404'd because &lt;code&gt;fonts/&lt;/code&gt; was missing from the cached bundle's &lt;code&gt;public/&lt;/code&gt; directory. We added &lt;code&gt;_restore_public&lt;/code&gt; to re-link any missing public files before serving a cached bundle. Separately, Hatch's &lt;code&gt;force-include&lt;/code&gt; on &lt;code&gt;"engine"&lt;/code&gt; pulled in 15,181 &lt;code&gt;node_modules&lt;/code&gt; files and 156 MB of test baselines; scoping &lt;code&gt;force-include&lt;/code&gt; strictly to &lt;code&gt;src&lt;/code&gt;, &lt;code&gt;scripts&lt;/code&gt;, &lt;code&gt;public/fonts&lt;/code&gt;, &lt;code&gt;package.json&lt;/code&gt;, &lt;code&gt;package-lock.json&lt;/code&gt;, and &lt;code&gt;tsconfig.json&lt;/code&gt; cut install time to 13 seconds and the wheel to 1.5 MB.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Active-word caption scale overlap &amp;amp; PowerShell UTF-8 BOM crashes:&lt;/strong&gt; In phrase captions, scaling the active word to &lt;code&gt;1.08×&lt;/code&gt; caused long words to collide with the next word; reserving half of the word's scale growth as side margin in &lt;code&gt;engine/src/captions.tsx&lt;/code&gt; fixed it cleanly. On Windows, hand-edited JSON props written with PowerShell's UTF-8 BOM broke &lt;code&gt;JSON.parse&lt;/code&gt; in &lt;code&gt;engine/scripts/render.mjs&lt;/code&gt;, so we strip the BOM before parsing.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  Transparency &amp;amp; What's Next
&lt;/h2&gt;

&lt;p&gt;For full disclosure: OmniFrame grew out of ATLAS, a personal script written before the hackathon (all pre-existing ATLAS &lt;code&gt;skills/&lt;/code&gt; were removed from the repository). The first MCP prototype (v1) was built in ZCode at the start of the submission window (first commit &lt;code&gt;2026-11-04&lt;/code&gt;), and &lt;strong&gt;OmniFrame v2&lt;/strong&gt; — the entire current architecture, Remotion motion kit, 14 MCP tools, Kiro Power, and 500+ automated tests passing across Python 3.11–3.14 and Linux E2E CI — was rebuilt from scratch spec-first in Kiro.&lt;/p&gt;

&lt;p&gt;Next after Kiroween: remote MCP transport (Streamable HTTP with auth) for mobile workflows and AI-generated video clips via Google Flow (Veo).&lt;/p&gt;

&lt;p&gt;If you want an AI assistant that doesn't just write video scripts, but actually &lt;strong&gt;watches the cut, hears the voice, renders frame-by-frame, and verifies the master&lt;/strong&gt;, give OmniFrame a spin:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/vertovhq/omniframe.git
&lt;span class="nb"&gt;cd&lt;/span&gt; omniframe
bash install.sh   &lt;span class="c"&gt;# Windows: powershell -ExecutionPolicy Bypass -File install.ps1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>kiroween</category>
      <category>kiro</category>
      <category>mcp</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
