<?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: jlnkx5200-beep</title>
    <description>The latest articles on DEV Community by jlnkx5200-beep (@jlnkx5200beep).</description>
    <link>https://dev.to/jlnkx5200beep</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%2F4272134%2Fa4514357-2457-4a1b-8a4d-d8fcf6dbdee8.jpg</url>
      <title>DEV Community: jlnkx5200-beep</title>
      <link>https://dev.to/jlnkx5200beep</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jlnkx5200beep"/>
    <language>en</language>
    <item>
      <title>Stop sending every shot to a video model: compiling storyboards across Seedream, ComfyUI, MiniMax H3, and Remotion (~$0.56 for 15s 1080p)</title>
      <dc:creator>jlnkx5200-beep</dc:creator>
      <pubDate>Sun, 29 Nov 2026 10:57:25 +0000</pubDate>
      <link>https://dev.to/jlnkx5200beep/stop-sending-every-shot-to-a-video-model-compiling-storyboards-across-seedream-comfyui-minimax-40g</link>
      <guid>https://dev.to/jlnkx5200beep/stop-sending-every-shot-to-a-video-model-compiling-storyboards-across-seedream-comfyui-minimax-40g</guid>
      <description>&lt;p&gt;Most AI video workflows waste money in the same way: every single shot gets thrown at a text-to-video API, even when two-thirds of the timeline only needs a crisp still with real depth parallax. Change a transition or tweak timing, and you end up re-rolling everything. Worse, style, camera math, and API calls are usually tangled inside one script, so switching aesthetics means rewriting the pipeline.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;Video Forge&lt;/strong&gt; (&lt;code&gt;dsh-storyboard-forge&lt;/code&gt;, MIT, recently merged into &lt;code&gt;awesome-dsh-plugin&lt;/code&gt; PR #19602) as a DeepSeek Harness plugin to treat video generation like a compiler + deterministic renderer:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Markdown/JSON Storyboard -&amp;gt; Task DAG -&amp;gt; Split GPU/API Pools -&amp;gt; SHA-256 Cache -&amp;gt; RenderPlan JSON -&amp;gt; Remotion + Three.js&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd46u1xh108uglmg93o5q.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%2Fd46u1xh108uglmg93o5q.png" alt="Video Forge architecture overview" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How the 4 backends split the work
&lt;/h2&gt;

&lt;p&gt;One storyboard can mix all four providers. You pick one of 7 shot strategies (&lt;code&gt;seedream-static&lt;/code&gt;, &lt;code&gt;still-3d&lt;/code&gt;, &lt;code&gt;minimax-direct&lt;/code&gt;, &lt;code&gt;minimax-2k-repaint&lt;/code&gt;, &lt;code&gt;comfy-pipeline&lt;/code&gt;, &lt;code&gt;magi2-direct&lt;/code&gt;, &lt;code&gt;magi2-i2v&lt;/code&gt;), and the compiler routes each task:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Seedream 5.0 (Volcengine Ark)&lt;/strong&gt;: Stills and first frames (&lt;code&gt;5.0-flash&lt;/code&gt; default, ~¥0.22–0.30 / ~$0.03–0.04 per image).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local ComfyUI (8 GB consumer GPU)&lt;/strong&gt;: Depth estimation (Depth Anything V2), normals, alpha mattes, seamless tiling, and layer splitting via 11 custom nodes (&lt;code&gt;DshDepthEstimate&lt;/code&gt;, &lt;code&gt;DshNormalFromDepth&lt;/code&gt;, &lt;code&gt;DshAlphaMatte&lt;/code&gt;, &lt;code&gt;DshSeamlessTiling&lt;/code&gt;, &lt;code&gt;DshAssetInspect&lt;/code&gt;, &lt;code&gt;DshDepthRefine&lt;/code&gt;, &lt;code&gt;DshLayerSplit&lt;/code&gt;, &lt;code&gt;DshDepthModel&lt;/code&gt;, &lt;code&gt;DshTemplateInject&lt;/code&gt;, &lt;code&gt;DshForgeBridgeCall&lt;/code&gt;, &lt;code&gt;DshWorkflowManifest&lt;/code&gt;). Zero API spend.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MiniMax H3&lt;/strong&gt;: Text-to-video and &lt;code&gt;minimax-2k-repaint&lt;/code&gt;. Since H3 T2V caps at 768P, &lt;code&gt;minimax-2k-repaint&lt;/code&gt; generates a still first, feeds it back as the first frame, and asks H3 for a 2K pass—so upscaling happens inside the model rather than in &lt;code&gt;ffmpeg&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sand.ai MAGI-2&lt;/strong&gt;: Native 1080p image-to-video, 4–30s single shots, up to 20 reference images at flat price (&lt;code&gt;ark&lt;/code&gt; or &lt;code&gt;native&lt;/code&gt; mode).&lt;/li&gt;
&lt;/ul&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%2Fx4vdpvahxigdxtib4ueh.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%2Fx4vdpvahxigdxtib4ueh.png" alt="Video Forge 4-backend routing matrix" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Measured spend on a real 15s 1080p film
&lt;/h2&gt;

&lt;p&gt;On a 3-shot oriental-ink test film (&lt;em&gt;Ink Scroll&lt;/em&gt;, 1920×1080, 30 fps, 450 frames):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;3 × Seedream &lt;code&gt;5.0-flash&lt;/code&gt; stills: &lt;strong&gt;~¥0.9 (~$0.13)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;2 × local ComfyUI depth maps: &lt;strong&gt;¥0&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;1 × MiniMax H3 2K repaint (4 s): &lt;strong&gt;~¥3.2 (~$0.45)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Total real API spend: ~¥4 (~$0.56)&lt;/strong&gt; (Remotion render took 55.2 s at &lt;code&gt;--crf=18 --concurrency=2&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Engineering choices that actually mattered
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Split concurrency pools&lt;/strong&gt;: Local ComfyUI runs in a GPU pool (&lt;code&gt;concurrency = 1&lt;/code&gt;), remote APIs run in an API pool (&lt;code&gt;concurrency = 3&lt;/code&gt;). A heavy local depth job never stalls Seedream calls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Content-addressed cache&lt;/strong&gt;: Every asset is keyed by &lt;code&gt;sha256(provider + model + prompt + params)&lt;/code&gt;. Edit timing or camera curves without paying twice for stills or clips.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hard host/renderer boundary&lt;/strong&gt;: &lt;code&gt;src/&lt;/code&gt; never imports &lt;code&gt;three.js&lt;/code&gt; or talks about camera moves/styles (enforced by &lt;code&gt;scripts/check-quality.mjs&lt;/code&gt;). &lt;code&gt;remotion/src/&lt;/code&gt; (Remotion 4.0.484 + Three.js 0.180) only reads a &lt;code&gt;RenderPlan&lt;/code&gt; JSON and renders through 4 deterministic primitives + 6 data-only &lt;code&gt;StyleSpec&lt;/code&gt; presets (&lt;code&gt;cinematic-realism&lt;/code&gt;, &lt;code&gt;editorial-minimal&lt;/code&gt;, &lt;code&gt;anime-atmospheric&lt;/code&gt;, &lt;code&gt;cyber-neon&lt;/code&gt;, &lt;code&gt;oriental-ink&lt;/code&gt;, &lt;code&gt;video-first&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exact golden frames&lt;/strong&gt;: &lt;code&gt;node scripts/check-frames.mjs&lt;/code&gt; enforces &lt;code&gt;frame 0 maxDiff=0&lt;/code&gt; and &lt;code&gt;frame 24 maxDiff=0&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&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%2Fvpenjyc0hyo3g27gzek6.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%2Fvpenjyc0hyo3g27gzek6.png" alt="Video Forge pipeline and Ink Scroll render" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it with zero API keys &amp;amp; zero GPU
&lt;/h2&gt;

&lt;p&gt;There's a built-in mock provider that still runs the real compiler, scheduler, SHA-256 cache, &lt;code&gt;RenderPlan&lt;/code&gt;, and Remotion render:&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/jlnkx5200-beep/dsh-storyboard-forge.git
&lt;span class="nb"&gt;cd&lt;/span&gt; dsh-storyboard-forge
npm install &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; npm run build
node scripts/qa-mock.mjs
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or install via DeepSeek Harness:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dsh plugin add dsh-storyboard-forge --profile &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;PROFILE&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Honest caveats (v0.1.0)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;MAGI-2 is &lt;code&gt;pending_quota&lt;/code&gt;&lt;/strong&gt;: The provider adapter, contract, sanitizer, and unit tests are merged, and &lt;code&gt;POST /magi2/probe&lt;/code&gt; distinguishes &lt;code&gt;pending_quota&lt;/code&gt; from &lt;code&gt;invalid_key&lt;/code&gt;. Our Sand.ai account doesn't have generation quota yet, so MAGI-2 shots currently replay a draft take. Everything else runs end-to-end today.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local HTTP console auth&lt;/strong&gt;: As the &lt;code&gt;awesome-dsh-plugin&lt;/code&gt; maintainer noted when merging, the 11 local HTTP routes only check loopback + &lt;code&gt;Host&lt;/code&gt;/&lt;code&gt;Origin&lt;/code&gt; headers without DSH-level auth, so only run the console in a trusted local environment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audio field&lt;/strong&gt;: &lt;code&gt;RenderPlan.audio&lt;/code&gt; is parsed in the contract but not consumed by scenes yet; output audio comes from generated video clips.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tests&lt;/strong&gt;: 41 Node tests pass; 50 Python node tests pass with &lt;code&gt;torch&lt;/code&gt; installed (33 pass / 17 skip without &lt;code&gt;torch&lt;/code&gt; in CI).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If the "compile storyboard -&amp;gt; route to cheapest/best backend -&amp;gt; deterministic Remotion render" pattern is useful to you, a GitHub star helps a lot—and I'd love feedback on the ComfyUI nodes, presets, or next providers to wire:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/jlnkx5200-beep/dsh-storyboard-forge" rel="noopener noreferrer"&gt;https://github.com/jlnkx5200-beep/dsh-storyboard-forge&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>typescript</category>
      <category>remotion</category>
    </item>
  </channel>
</rss>
