<?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: Wiro AI</title>
    <description>The latest articles on DEV Community by Wiro AI (wiro).</description>
    <link>https://dev.to/wiro</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%2Forganization%2Fprofile_image%2F15942%2Ff3130614-5332-4a5c-bb8c-fdb8bd5b2d13.png</url>
      <title>DEV Community: Wiro AI</title>
      <link>https://dev.to/wiro</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wiro"/>
    <language>en</language>
    <item>
      <title>Cutting our AI launch film to 9:16 without generating a single shot again</title>
      <dc:creator>Wiro AI</dc:creator>
      <pubDate>Tue, 24 Nov 2026 16:00:00 +0000</pubDate>
      <link>https://dev.to/wiro/cutting-our-ai-launch-film-to-916-without-generating-a-single-shot-again-11fb</link>
      <guid>https://dev.to/wiro/cutting-our-ai-launch-film-to-916-without-generating-a-single-shot-again-11fb</guid>
      <description>&lt;p&gt;We recently wrote about &lt;a href="https://dev.to/wiro/what-broke-when-we-made-a-106-second-founder-film-with-ai-models-50nn"&gt;what broke while we made a 1:46 launch film with AI models&lt;/a&gt;. Then we needed a vertical version for Instagram. The rule was simple: same edit, same timings, same audio. Nothing in the 16:9 film could change, and no shot was generated again.&lt;/p&gt;

&lt;p&gt;Today one script rebuilds all three vertical versions in about 40 minutes. Getting there took longer. Here is what mattered.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Rebuild the screen scenes, don't crop them
&lt;/h2&gt;

&lt;p&gt;A lot of the film is screen animation: model lists, cards, an agent's screen. Cropping the 16:9 render either cut the text off or left it too small to read on a phone. So every one of those scenes was laid out again for 1080x1920. Headlines break into two lines, cards stack top to bottom, and the five task cards at the desk pile up like phone notifications, newest on top.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Crop from 4K, not from 1080p
&lt;/h2&gt;

&lt;p&gt;A 9:16 window inside a 1080p frame is only 608 pixels wide. Stretched to 1080, it looks soft. We upscaled each live shot to 4K first, so the vertical window is 1215x2160 and only ever gets scaled down. Eleven clips cost $9.20 on &lt;a href="https://wiro.ai/models/pruna/p-video-upscale" rel="noopener noreferrer"&gt;pruna/p-video-upscale&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The 4K copy ages skin even more
&lt;/h2&gt;

&lt;p&gt;The rule from the main film still holds: skin comes from the raw clip, everything else from the sharpened copy. The 4K copy made skin look older than the 1080p one did, so skin never comes from it. We only borrow its fine detail along edges that already exist in the raw frame, like eyes, lips, jawline, hairline and collar. Pores and lines the upscaler invented stay out.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. A vision model finds the head and hands
&lt;/h2&gt;

&lt;p&gt;Our first try tracked the face by color. On the street shot it slid onto a brick wall, which is roughly skin colored. We switched to Gemini, asking for head and hand boxes every quarter second, about $2 for the whole film. Then each shot got its own framing rule. The street shot follows 60% of his sway. The desk shot opens on the keyboard and hands, holds for 0.7 seconds, then slides to his face over 2.5 seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Keep text away from Instagram's buttons
&lt;/h2&gt;

&lt;p&gt;Instagram covers about 250 pixels at the top, 400 at the bottom and 60 on each side. All text and the logo stay inside x 60-1020 and y 250-1520. A check script measures every text box in every third frame. Across the three renders that was 19,137 boxes, and none crossed the line.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Captions from the script, not from speech recognition
&lt;/h2&gt;

&lt;p&gt;The founder picked word-by-word captions with the spoken word highlighted. They are built from our own narration text and its real word timings, so nothing drifts or gets misheard. Each line splits into groups of up to three words, 94 groups in all. His one note: the black outline was too heavy. It is now thin and half transparent.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Two parts for Stories
&lt;/h2&gt;

&lt;p&gt;Stories stop at 60 seconds, so each version is also cut in two at 49.7 seconds, on a dark transition between two sentences. The audio is a straight copy of the 16:9 film's track. All 4,949 audio packets match.&lt;/p&gt;

&lt;h2&gt;
  
  
  What he said no to
&lt;/h2&gt;

&lt;p&gt;We tried a framed window over a blurred background so the desk shot could stay wide. His answer: full screen is better. Now every shot is full screen, and at the computer the frame leans toward the keyboard so his hands stay in view.&lt;/p&gt;

&lt;p&gt;The catch is that a 16:9 shot has no extra top or bottom. A full-screen vertical crop is always 1.78 times closer than the original. To show a shot wide in 9:16, you have to generate it again in 9:16. We priced that at $11 to $18 per shot with three candidates. He watched the vertical cut and kept it as it is.&lt;/p&gt;

&lt;p&gt;All the models here ran through &lt;a href="https://wiro.ai" rel="noopener noreferrer"&gt;Wiro&lt;/a&gt;, our API for image, video, audio and language models.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;P.S.&lt;/strong&gt; We launch Wiro on Product Hunt on December 3. If you liked this post, come say hi there and tell us what you think: &lt;a href="https://www.producthunt.com/products/wiro-ai" rel="noopener noreferrer"&gt;Wiro AI on Product Hunt&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>showdev</category>
      <category>devjournal</category>
      <category>computervision</category>
    </item>
    <item>
      <title>What broke when we made a 106-second founder film with AI models</title>
      <dc:creator>Wiro AI</dc:creator>
      <pubDate>Sat, 21 Nov 2026 19:44:40 +0000</pubDate>
      <link>https://dev.to/wiro/what-broke-when-we-made-a-106-second-founder-film-with-ai-models-50nn</link>
      <guid>https://dev.to/wiro/what-broke-when-we-made-a-106-second-founder-film-with-ai-models-50nn</guid>
      <description>&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/jx1MJtBjIyg" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Last week we finished a 1:46 film for our Product Hunt launch. Our founder walks down a street, works late, talks to the camera. None of it was filmed. The voice is a clone, the shots are generated, and the screen animations are an HTML page rendered frame by frame.&lt;/p&gt;

&lt;p&gt;It took five versions and about 800 model runs. Most of the work went into things that looked fine in a single clip and fell apart in the cut. Here is what broke and what we did about it.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Cleaning the voice made it worse
&lt;/h2&gt;

&lt;p&gt;The first version used the cloned voice exactly as it came out, and it sounded good. In version 2 we time-stretched lines to fit the lips. In version 3 we cleaned the voice sample and ran EQ and a de-esser. Each step made it worse: first muffled, then echoey, then like a phone call.&lt;/p&gt;

&lt;p&gt;The fix was to stop touching it. The only change we kept is on the clone sample itself: the source recording had nothing above 11 kHz, so we added back that missing top band before cloning. Everything after generation stays raw.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Fit the video to the voice, not the voice to the video
&lt;/h2&gt;

&lt;p&gt;Talking shots never matched the narration's timing. Stretching the audio ruins it (see above), so we went the other way. Forced alignment gives word and character times for both the clip's own audio and our narration line, and we warp the video through those anchor points.&lt;/p&gt;

&lt;p&gt;One surprise: in the generated talking clips, the lips ran about 90 ms ahead of their own audio. We measured 34 mouth closures across 11 clips. We shift by about 60 ms and leave the lips slightly early, which reads as natural.&lt;/p&gt;

&lt;p&gt;We also generated 10 or more takes per talking shot and kept the one whose pace matched the line. A standing shot can hide a shortened pause. A walking shot cannot.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The upscaler aged the founder's skin
&lt;/h2&gt;

&lt;p&gt;Raw video was soft, so every shot went through an upscaler. It sharpened everything, including skin: lines, stubble shadow, a darker tone. The founder's note on version 4 was short. Hands and skin look old, wrinkled and too dark.&lt;/p&gt;

&lt;p&gt;Now we take skin-colored areas from the raw frame and keep the sharpened frame everywhere else, then lift the skin toward the face's measured brightness, capped at +24%, with eyes and brows protected. He picked the level from a sheet of four columns side by side. A warm brick wall in one shot got a little softer too. He looked at it and was fine with it.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. One music track, cut on bar lines
&lt;/h2&gt;

&lt;p&gt;We first built the music from a composition plan in chunks. It sounded like five different songs. Now it is one track from one prompt. We don't stretch it. Instead we moved the film's pauses onto the track's bar lines and removed whole 4-bar loops where it ran long.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Model-as-judge has blind spots
&lt;/h2&gt;

&lt;p&gt;We used a multimodal model to compare candidates. It was reliable on still images. In audio A/B tests it preferred whichever clip came first, so we only trusted results that held in both orders. It also rated a 400 ms lip-sync offset as "in sync", so lip sync got checked by eye, with frame strips at every m, p and b.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we'd keep for the next one
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A playbook from day one. Every note from the founder became a rule, so the next film starts from those rules instead of from zero.&lt;/li&gt;
&lt;li&gt;Every part of the project stored (clips, timings, music, the render page), so changing one scene doesn't mean redoing the film.&lt;/li&gt;
&lt;li&gt;Looking at frames, not at a summary of frames.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All the models ran through &lt;a href="https://wiro.ai" rel="noopener noreferrer"&gt;Wiro&lt;/a&gt;, our own API for image, video, audio and language models, which made it easy to swap one model for another halfway through.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;P.S.&lt;/strong&gt; We launch Wiro on Product Hunt on December 3. If you liked this post, come say hi there and tell us what you think: &lt;a href="https://www.producthunt.com/products/wiro-ai" rel="noopener noreferrer"&gt;Wiro AI on Product Hunt&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>showdev</category>
      <category>devjournal</category>
    </item>
    <item>
      <title>Quote first, charge on confirm: paid tool calls in an MCP server</title>
      <dc:creator>Wiro AI</dc:creator>
      <pubDate>Sat, 07 Nov 2026 21:55:11 +0000</pubDate>
      <link>https://dev.to/wiro/quote-first-charge-on-confirm-paid-tool-calls-in-an-mcp-server-25kl</link>
      <guid>https://dev.to/wiro/quote-first-charge-on-confirm-paid-tool-calls-in-an-mcp-server-25kl</guid>
      <description>&lt;p&gt;We build the MCP server for Wiro AI, an API platform where one account can run image, video, audio and LLM models, chain them into workflows and deploy hosted agents. Most of those actions cost money, and the thing calling our tools is a language model that can retry, guess or misread a reply.&lt;/p&gt;

&lt;p&gt;So the hardest design question was not which tools to expose. It was how to let an assistant spend money on a user's behalf without ever spending it by surprise. These are the patterns we ended up with. None of them are specific to our product, so they should carry over to any MCP server that touches billing.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. A known charge returns a quote, not a charge
&lt;/h2&gt;

&lt;p&gt;Some of our tools charge a fixed, known amount: deploying an agent, moving it to a higher plan, buying extra credits. Called without &lt;code&gt;confirm: true&lt;/code&gt;, these tools do nothing except return a quote: the amount in USD, what will happen and which wallet pays.&lt;/p&gt;

&lt;p&gt;The quote ends with a &lt;code&gt;nextAction&lt;/code&gt;: the same tool, the same arguments plus &lt;code&gt;confirm: true&lt;/code&gt; and &lt;code&gt;confirm_charge_usd&lt;/code&gt; set to the quoted amount, and a short reason. The assistant shows the quote, waits for a clear yes, and only then makes that call.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The server prices it again on confirm
&lt;/h2&gt;

&lt;p&gt;The confirmed call is not trusted blindly. The server works out the price again, and if it changed since the quote, nothing is charged and a new quote comes back. The assistant has to show the new number and ask again.&lt;/p&gt;

&lt;p&gt;For a prorated upgrade the exact amount is only known at charge time, so there &lt;code&gt;confirm_charge_usd&lt;/code&gt; means "the most the user agreed to pay". Skill changes cost nothing, so &lt;code&gt;apply_agent_skills&lt;/code&gt; skips the quote and acts on the first call.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Write the rules into the server instructions
&lt;/h2&gt;

&lt;p&gt;An MCP server can send instructions to the client, and we use them for the money rules. A few lines from ours:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Never set confirm: true on your own, and never reuse a yes for a different charge or change. A yes given before you showed the amount, such as "just upgrade me", does not cover it. For a batch, one yes covers exactly the list or total you showed.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The "just upgrade me" case matters because people often agree before they know the price, and a model will happily treat that as consent.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Deletions get the same shape
&lt;/h2&gt;

&lt;p&gt;The same two-step call covers anything you cannot take back: deleting a workflow or an agent, cancelling a plan, replacing a workflow's contents, disconnecting an account. The first call describes the change. Only &lt;code&gt;confirm: true&lt;/code&gt; makes it happen.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Long jobs: bounded waits and an explicit next step
&lt;/h2&gt;

&lt;p&gt;Model runs, workflow runs and agent replies can take minutes. Many clients cut off a tool call that blocks that long, and an assistant that sees a timeout tends to call the starting tool again. For a paid model run, that bills a second job.&lt;/p&gt;

&lt;p&gt;Our tools that wait stop after 45 seconds by default and return the job's state plus a &lt;code&gt;nextAction&lt;/code&gt;. This one comes straight from our server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"nextAction"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"tool"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"wait_for_task"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"arguments"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"tasktoken"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;task token&amp;gt;"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"reason"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Continue this exact task. Do not call run_model again."&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The reason is written for the model, and it says the important part out loud. If the client gave up before a result came back, the instructions tell the assistant to look the job up in the task list first, and to offer a new run only if it is not there.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Usage-priced work gets a one-line estimate
&lt;/h2&gt;

&lt;p&gt;Model runs are priced by usage (per request, second, token or output), so there is no exact quote to confirm. The rule here is softer: the assistant states the expected cost in one line before it runs, goes ahead when the user asked for exactly this work, and asks first for large or open-ended jobs and for runs the user did not ask for, such as a retry.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we would tell anyone building this
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Keep the price on the server. The model relays a quote; it never works one out.&lt;/li&gt;
&lt;li&gt;Make the next step structured. A &lt;code&gt;nextAction&lt;/code&gt; with a tool name and exact arguments is easier for a model to follow than a sentence like "please confirm".&lt;/li&gt;
&lt;li&gt;Treat a timeout as "unknown", not "failed". A retry after a timeout is the easiest way to pay twice.&lt;/li&gt;
&lt;li&gt;Write the money rules down in the server instructions, in plain words, including the cases that surprised you.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The server is open source under the MIT license: &lt;a href="https://github.com/wiroai/Wiro-MCP" rel="noopener noreferrer"&gt;https://github.com/wiroai/Wiro-MCP&lt;/a&gt;. The docs for the hosted version are at &lt;a href="https://wiro.ai/docs/wiro-mcp-server" rel="noopener noreferrer"&gt;https://wiro.ai/docs/wiro-mcp-server&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>api</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
