<?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: clarajbennett</title>
    <description>The latest articles on DEV Community by clarajbennett (@clarajbennett).</description>
    <link>https://dev.to/clarajbennett</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%2F4046048%2F1d4180f2-d87b-440e-bd6c-f0157757868d.png</url>
      <title>DEV Community: clarajbennett</title>
      <link>https://dev.to/clarajbennett</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/clarajbennett"/>
    <language>en</language>
    <item>
      <title>Character Consistency Across 24 Pages of a Generated Picture Book</title>
      <dc:creator>clarajbennett</dc:creator>
      <pubDate>Fri, 24 Jul 2026 19:36:08 +0000</pubDate>
      <link>https://dev.to/clarajbennett/character-consistency-across-24-pages-of-a-generated-picture-book-4i80</link>
      <guid>https://dev.to/clarajbennett/character-consistency-across-24-pages-of-a-generated-picture-book-4i80</guid>
      <description>&lt;p&gt;Generating one illustration of a child from a reference photo is easy now. Generating twenty-four of them — same child, same style, different scenes, no drift — is where it gets hard.&lt;/p&gt;

&lt;h2&gt;
  
  
  Drift is cumulative and sneaky
&lt;/h2&gt;

&lt;p&gt;Generate each page independently and every one is individually plausible. Put them in sequence and the child ages three years between page 4 and page 11, the hair changes length, the nose shape wanders.&lt;/p&gt;

&lt;p&gt;Nobody notices a single page. Everyone notices the book. Picture books are consumed as a sequence, so consistency errors compound in a way single-image metrics never capture.&lt;/p&gt;

&lt;h2&gt;
  
  
  Identity and style are separate problems
&lt;/h2&gt;

&lt;p&gt;Worth separating early, because the fixes are different:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Identity consistency&lt;/strong&gt; — is this recognisably the same child? Driven by the reference embedding and how strongly it is weighted per generation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Style consistency&lt;/strong&gt; — do all pages look like one illustrator drew them? Watercolour texture, line weight, palette, paper grain.&lt;/p&gt;

&lt;p&gt;Style is the easier of the two: fix the seed contribution for style, use identical style prompt fragments, and keep sampler settings constant. Identity is harder because it must survive pose, expression, and lighting changes across scenes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What holds up
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Fix everything you can.&lt;/strong&gt; Same base model version, same sampler, same step count, same style tokens across the whole book. Every free variable is a chance to drift. This sounds obvious and is routinely violated by pipelines that let per-page prompts specify their own parameters.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Regenerate the whole book, never one page.&lt;/strong&gt; If page 9 is wrong and you regenerate only page 9, it will not match its neighbours. Consistency is a property of the set, so the set is the unit of work. This has an ugly implication: a single bad page costs a full regeneration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Weight identity conditioning higher than feels necessary.&lt;/strong&gt; The failure mode where the child is unrecognisable is much worse than the one where poses are a bit stiff. Users forgive stiffness; they do not forgive "that is not my kid."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Constrain the scene vocabulary.&lt;/strong&gt; Wildly varying environments — underwater, then a spaceship, then a forest at night — drag lighting and palette around, which reads as style drift even when identity holds. A constrained palette across scenes hides a lot.&lt;/p&gt;

&lt;h2&gt;
  
  
  Evaluating a set, not an image
&lt;/h2&gt;

&lt;p&gt;Per-image quality metrics miss the entire problem. What actually correlates with "this looks like one book":&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Pairwise face embedding distance &lt;strong&gt;across all page pairs&lt;/strong&gt;, not just page-to-reference — variance matters more than the mean&lt;/li&gt;
&lt;li&gt;Palette distance between pages&lt;/li&gt;
&lt;li&gt;A human spot-check on the widest-apart pair, since that is where drift shows first&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The voice layer has the same problem, differently
&lt;/h2&gt;

&lt;p&gt;Reading aloud in a parent's voice from a short sample means the cloned voice must stay consistent across chapters recorded as separate synthesis calls. Same failure shape as illustration drift: each clip fine alone, the set inconsistent. Fixing speaker embedding and synthesis parameters across the whole book is the same discipline.&lt;/p&gt;

&lt;p&gt;This is what I work on at &lt;a href="https://storymine.app" rel="noopener noreferrer"&gt;StoryMine&lt;/a&gt; — one photo in, a watercolour keepsake book out, same face on every page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Caveat
&lt;/h2&gt;

&lt;p&gt;Everything here is empirical and model-specific. The failure modes have been stable; the mitigations change with every model generation, so treat the specifics as dated and the categories as durable.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>python</category>
      <category>design</category>
    </item>
  </channel>
</rss>
