Using "underdrawings" for accurate text and numbers

(samcollins.blog)

38 points | by samcollins 2 days ago

4 comments

  • danpalmer 37 minutes ago
    I'm glad that we're making progress towards a deeper understanding of what LLMs are inherently good at and what they're inherently bad at (not to say incapable of doing, but stuff that is less likely to work due to fundamental limitations).

    There's similarity here with, for example, defining the architecture of software, but letting an LLM write the functions. Or asking an LLM to write you the SQL query for your data analysis, rather than asking it to do your data analysis for you.

    What I'd really like to see is a more well defined taxonomy of work and studies on which bits work well with LLMs and which don't. I understand some of this intuitively, but am still building my intuition, and I see people tripping up on this all the time.

  • sparuchuri 2 days ago
    This hack definitely falls in the “duh, why didn’t I think of that” category of tricks, but glad to now have it next time imagegen comes up short
  • samcollins 2 days ago
    I found a simple technique to get reliable text and numbers in AI generated images.

    I’m surprised the image models aren’t already doing this, so wanted to share since I’m finding this so useful

    • samcollins 1 hour ago
      TLDR: use SVG to outline image correctly first, then send that image with your text prompt to get Gemini 3.0 Pro to render with correct numbers and text
  • tracerbulletx 51 minutes ago
    Ive been doing charts for slides like this for a while. Noticed html viz was super reliable, but I could style it with diffusion model. Its very useful for data viz.