<?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: thiago silva</title>
    <description>The latest articles on DEV Community by thiago silva (@thiago_silva_a7bb753c8dc0).</description>
    <link>https://dev.to/thiago_silva_a7bb753c8dc0</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%2F3655710%2Fe751d24f-9b15-49f6-b278-e382b0373861.png</url>
      <title>DEV Community: thiago silva</title>
      <link>https://dev.to/thiago_silva_a7bb753c8dc0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thiago_silva_a7bb753c8dc0"/>
    <language>en</language>
    <item>
      <title>The cost curve of AI video generation is not what you expect</title>
      <dc:creator>thiago silva</dc:creator>
      <pubDate>Thu, 03 Dec 2026 10:46:38 +0000</pubDate>
      <link>https://dev.to/thiago_silva_a7bb753c8dc0/the-cost-curve-of-ai-video-generation-is-not-what-you-expect-342a</link>
      <guid>https://dev.to/thiago_silva_a7bb753c8dc0/the-cost-curve-of-ai-video-generation-is-not-what-you-expect-342a</guid>
      <description>&lt;p&gt;People assume cost scales with duration and resolution. In practice, the dominant term is variance.&lt;/p&gt;

&lt;h2&gt;
  
  
  The average is a lie
&lt;/h2&gt;

&lt;p&gt;If a clip costs X on average, but one in five needs four re-rolls, your effective cost is not X. It is X times the re-roll distribution, and that distribution has a long tail.&lt;/p&gt;

&lt;p&gt;This is the same trap as cloud egress. The headline number looks fine until the workload stops behaving like the benchmark.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the variance comes from
&lt;/h2&gt;

&lt;p&gt;Three sources, roughly in order of impact:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ambiguity in the prompt.&lt;/strong&gt; Every adjitative clause adds a branch the model can take differently.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scene complexity.&lt;/strong&gt; Crowds, hands, fast motion. Anything with many independent elements.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sequence requirements.&lt;/strong&gt; A single clip that looks good is cheap. Five that match is where the attempts multiply.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What to do about it
&lt;/h2&gt;

&lt;p&gt;Budget in re-rolls, not clips. Lock the cheap variables (palette, lens, aspect) so the expensive ones (motion, timing) have fewer ways to fail. And measure the distribution, not the mean — a tool with a slightly higher average and a much tighter tail is cheaper in practice.&lt;/p&gt;

&lt;p&gt;These numbers come from running &lt;a href="https://www.kling2-6.com" rel="noopener noreferrer"&gt;Kling 2.6 Studio&lt;/a&gt; day to day. Would be interested in how others model this.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Shipping an AI video tool taught me to stop writing long prompts</title>
      <dc:creator>thiago silva</dc:creator>
      <pubDate>Thu, 03 Dec 2026 10:46:17 +0000</pubDate>
      <link>https://dev.to/thiago_silva_a7bb753c8dc0/shipping-an-ai-video-tool-taught-me-to-stop-writing-long-prompts-1och</link>
      <guid>https://dev.to/thiago_silva_a7bb753c8dc0/shipping-an-ai-video-tool-taught-me-to-stop-writing-long-prompts-1och</guid>
      <description>&lt;p&gt;When I started building a text-to-video tool, I wrote prompts the way film schools describe shots: long, layered, cinematic.&lt;/p&gt;

&lt;p&gt;They produced beautiful stills and unusable sequences.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem with long prompts
&lt;/h2&gt;

&lt;p&gt;Every extra clause is another axis the model can interpret differently on the next run. If a prompt says "warm afternoon light, shallow depth of field, gentle camera drift" and the result is wrong, you cannot tell which of the three caused it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What replaced it
&lt;/h2&gt;

&lt;p&gt;Three short clauses, always in the same order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;subject and action&lt;/li&gt;
&lt;li&gt;camera behaviour&lt;/li&gt;
&lt;li&gt;lighting and palette&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That is it. The value is not that shorter prompts are better in isolation — it is that each clause is independently editable. You change one, keep two, and you learn something from the result.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it matters at scale
&lt;/h2&gt;

&lt;p&gt;At one clip a day you can afford to guess. At fifty, guessing compounds. The teams that ship consistently are not writing cleverer prompts, they are changing one variable at a time and keeping what worked as a reference frame rather than a description.&lt;/p&gt;

&lt;p&gt;I work on &lt;a href="https://www.kling2-6.com" rel="noopener noreferrer"&gt;Kling 2.6 Studio&lt;/a&gt;, so read this with the usual caveat — but the discipline transfers to any model in this space.&lt;/p&gt;

&lt;p&gt;Curious whether others have found the same, or whether longer prompts work better once you have a fixed reference frame.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Practical notes on shipping a text-to-video tool: prompts, audio, and the cost curve</title>
      <dc:creator>thiago silva</dc:creator>
      <pubDate>Thu, 03 Dec 2026 08:08:50 +0000</pubDate>
      <link>https://dev.to/thiago_silva_a7bb753c8dc0/practical-notes-on-shipping-a-text-to-video-tool-prompts-audio-and-the-cost-curve-jd5</link>
      <guid>https://dev.to/thiago_silva_a7bb753c8dc0/practical-notes-on-shipping-a-text-to-video-tool-prompts-audio-and-the-cost-curve-jd5</guid>
      <description>&lt;p&gt;I have been building an AI video tool for the past year, and most writing about text-to-video focuses on demo clips. Production is different. These are the notes I wish I had earlier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prompt structure beats prompt length
&lt;/h2&gt;

&lt;p&gt;Long cinematic prompts look impressive in screenshots and behave badly in practice. What worked for us was splitting a prompt into three parts: subject, camera behaviour, and lighting. Keeping them separate makes it possible to change one axis at a time, which is the difference between iterating and guessing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Audio in the same pass
&lt;/h2&gt;

&lt;p&gt;Most pipelines generate picture, then bolt on audio afterwards. That works until you need sync. Generating ambience and dialogue in the same pass cut our post-processing time noticeably, and the result feels less like two tracks glued together.&lt;/p&gt;

&lt;h2&gt;
  
  
  Shot-to-shot consistency is the real constraint
&lt;/h2&gt;

&lt;p&gt;Anyone can make one good five-second clip. Making five clips that look like the same scene is where the work is. We ended up constraining palette and lens behaviour across a sequence rather than trying to prompt for consistency per clip.&lt;/p&gt;

&lt;h2&gt;
  
  
  The cost curve is not linear
&lt;/h2&gt;

&lt;p&gt;Resolution and duration interact in ways that surprise you. Doubling duration is rarely double cost once you account for re-rolls; the variance, not the average, is what eats the budget.&lt;/p&gt;

&lt;p&gt;If you want to see the current state of this, the tool is at &lt;a href="https://www.kling2-6.com" rel="noopener noreferrer"&gt;Kling 2.6 Studio&lt;/a&gt;. It runs in the browser, which removed a whole class of local setup problems for us.&lt;/p&gt;

&lt;p&gt;Curious how other people are handling sequence consistency — that is still the part I find least solved.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>buildinpublic</category>
      <category>product</category>
      <category>startup</category>
    </item>
  </channel>
</rss>
