Fine-tuning Meta SAM 3 for narrative-aware copyspace: fixing AI picture book typography

andrew_n_carr · x · 2026-09-05

Engineer andrewncarr shares a toy project that turns an episode of a kids' show into a picture book: it picks good moments, writes a short adaptation, and lays prose over the frames.

The writing side got decent quickly, but typography never did — every spread looked like a PowerPoint slide with a text block dropped onto a screenshot in whatever corner had the fewest pixels.

He frames the problem as narrative-aware copyspace: can a segmentation model propose regions that are narratively appropriate for captions or dialogue? The answer turned out to be yes. His process:

A reproducible example of adapting a foundation segmentation model to a niche layout task, transferable to other text-placement-aware image workflows.

Original post →

More from coding & agent

coding & agent channel →