· 3 min read
A layout for Krea to start from
Covers now start from a rough layout picture, so they fit the cards, which only show the middle of each cover. It has dark sides, a blurred bar where each…
What we did
- Covers now start from a rough layout picture, so they fit the cards, which only show the middle of each cover. It has dark sides, a blurred bar where each title goes, and a block for the machine. Krea draws the cover over it, and the prompt hasn't changed.
- It's on by default in
pnpm covers draftand the picker, and I can turn it off. Its settings are saved with each draft and incover.yaml. - In the tests (9 posts, 4 seeds), all 36 titles fit with at least 15 px to spare. In the first comparison, none of the 8 covers made without a layout fit.
- I made drafts with the picker's button for the first time with the real Krea, and it worked.
What I learned
- Words say what to draw, but a picture is better at saying where. The early steps set the big shapes and the later ones add the detail. Skipping just the first step was enough for Krea to follow my layout and keep my style.
- Less control worked better. Skipping 2 steps made the machines simpler. With 3, the letters were blurry and my grey block showed.
- A rough layout is enough. Plain bars worked a little better than real title text, and they don't need a font.
- In a prompt, what comes first and gets the most words takes up the most space. Mine only mentioned the empty sides at word 499 of 581.
- One good seed doesn't prove anything. A prompt that fit 4 out of 4 covers with one seed fit only 5 out of 8 when I tried more.
Problems & fixes
- Describing the space first made everything tiny, or changed the style. A LoRA for negative space tilted the titles and changed the style too.
- Four machines still went past the card's edge, all with the same seed. A narrower block didn't help, so I kept the size and reject those drafts.
- In the final test, I measured how far the ivory titles and the neon reach. The neon measurement found the same wide machines I'd spotted by eye. I still check the spelling and small details myself, at full size.
- A restart deleted my first test images, because they were in
/tmp. The tests are now in a folder that survives restarts, but it isn't in Git.
Links
- Controlling "Zoom" With Words Alone, by Loraholic
- Krea: generative sliders
- SDEdit, the paper behind image-to-image
Next
- Make new drafts for the posts still waiting for a cover, and choose their covers.