# The block images are generated now

> Bought packs, then Google Images, then a licensing position I could not defend. In June I replaced every block image on the site with generated art.

- Author: Deyan Peev (https://deyanpeev.com)
- Published: 2025-06-07
- URL: https://deyanpeev.com/posts/the-block-images-are-generated-now

The first block images here came out of packs I bought from a few stock
platforms, which worked until I wanted a picture that wasn't in any of them.
After that I did what everyone does and pulled things off Google Images. That's
a licensing position I couldn't have defended for five minutes. A search result
is not a licence, and "it was on the internet" isn't one either. Neither
approach gave me art that matched the site anyway. The packs were generic and
the search results arrived in a different palette every time.

So this month I regenerated the lot.

The raster art comes from OpenAI's `gpt-image-1`, the model that went into the
API on 23 April and the one behind image generation in ChatGPT. I gave it the
site's own hex values and asked for the same composition rules on every pass,
so now there's a house style I can re-run. Stock never offered that.

Claude doesn't draw pixels, so Claude Opus 4 took the other half of the work
and wrote the covers as code. That is what
[`scripts/generate-post-covers.mjs`](https://github.com/deyanpeev/deyanpeev.com/blob/main/scripts/generate-post-covers.mjs)
is. Each cover is composed as SVG and rasterised with sharp, so the artwork can
be edited and diffed, and it's reproducable, instead of being a folder of opaque
bitmaps.

I won't overclaim the legal result. Whether a purely generated image is
copyrightable at all is unsettled, and the training-data lawsuits are still
running. But what I needed did change. No one else's licence is in the way, and
I can regenerate any of it on demand.
