Batch production

Reproducing last quarter's batch (and why you can't)

Seeds, model versions and prompt drift: the three things that make a batch unrepeatable, and the manifest that turns Seedream 5.5 into a rerun.

The autumn campaign arrives and someone says the sentence that starts this article: “we should do the spring set again, but with the new products.”

The spring set exists. It is 180 images in a shared drive, and they are excellent. What does not exist is the recipe — not the prompt, exactly; the whole machine that turned a table of products into those 180 files. The person who built it left in July. The chat window where the prompt lived has been scrolled past four hundred times. The model the run used is now two versions old, and its endpoint is deprecated.

This is the most common expensive problem in batch work, and it has nothing to do with image quality. It is a records problem that presents as a re-do.

Three ways a batch stops being repeatable

Loss channel What actually happened Can you recover it?
Prompt drift The prompt was edited in place, so the version that made the set no longer exists Only from a copy nobody kept
Version drift The model changed; same prompt, different output No. Re-anchor instead
Seed omission The seed was never recorded, or was recorded without the parameters it relies on No
Table rot The CSV changed since the run; SKUs were renumbered Partly, from delivered filenames
Post-processing loss Upscale and cutout settings lived in someone’s head Re-derive by eye, approximately

Look at that table and notice what is missing: none of it is a model problem. Every row is a bookkeeping problem, and every row costs the same thing — a full re-run plus a review pass, at whatever the current prices are.

The version drift row is the one people argue about. “Same prompt, same seed, new version, why is it different” has a technical answer that does not help: weights changed, and the sampling path with them. Pinning a version is the right response, and it is necessary, but it is not sufficient — see the warning below.

The manifest, which is smaller than you think

A run manifest is one file per run. It is not a project management artefact and nobody needs to read it until the day they desperately need it, which is the definition of a good record.

{
  "run": "2026-03-14-catalogue-spring",
  "template": { "id": "product-studio-v3", "hash": "b41c…" },
  "model": { "id": "…", "version": "…", "endpoint": "…" },
  "seed": 40221,
  "params": { "width": 2048, "height": 2048, "surface": "pale stone" },
  "refs": ["sha256:9f2a…", "sha256:71bd…"],
  "post": ["upscale:2x", "cutout:alpha", "resize:1200x1200"],
  "rows": 200,
  "approved": 188,
  "provider": "…",
  "at": "2026-03-14T09:12:00Z"
}

Every field earns its place by failing a different way if omitted. Drop the template hash and you cannot tell which of four near-identical templates made the set. Drop the reference hashes and you will not notice that the reference images were re-exported with different colour management in May. Drop the post-processing chain and the re-run will be sharpened differently from the originals, and the two sets will not sit next to each other in a grid.

The rows and approved fields are the ones people skip because they are not inputs. They are how you compute the first-pass rate of a run that has already happened — which is the number every cost estimate silently assumes.

The reproduce test: six frames, once a quarter

Once the manifest exists, verification is cheap.

Take six approved frames from the old run. Re-run them on the current model with the recorded parameters. Compare, in this order:

  1. Likeness, if there is a person or a specific product. This is the one that fails first after a version change.
  2. Colour and tone, on a neutral sample patch rather than by eye across two images on one monitor.
  3. Framing and subject scale, as a percentage of frame height.

If all three hold, the template is still valid and the rerun will sit next to the originals without anyone noticing. If one drifts, you fix the template now — when it costs six images — rather than after the batch, when it costs the batch.

Perceptual comparison, not file hashes. A file hash will always differ and tells you nothing about whether the image is still the same product; a 64-bit perceptual hash plus a likeness check tells you what you actually need.

The bug that makes this urgent: stale cache

Content-addressed caching is what makes cheap iteration possible — the cost piece covers the arithmetic. It also creates a specific failure that looks like success.

If the cache key includes the prompt and the seed but not the model version, then after a model update every request still hits the old key and returns the old output. Nothing errors. The cache performs beautifully. You are shipping last quarter’s render, and the only symptom is a feeling that the new model “does not look any different.”

We hit this in Seedwan. The fix is one line — put the model version in the key — and the reason it took a while to notice is that a cache with a 100 percent hit rate looks like excellent engineering from every dashboard angle.

key = hash({ model, modelVersion, prompt, seed, width, height, steps, refs })

When the version is already gone

Sometimes you arrive after the interesting decision has been made for you: the pinned version retired, the endpoint returns a 404 with a friendly deprecation link, and the set has to be rebuilt on whatever exists today.

That is a migration, not a re-run, and it has a procedure. It is not fun, but it is bounded.

  1. Re-anchor six frames per template. Pick the six that best represent the set — the hardest category, the most reflective product, the tightest crop. Regenerate them on the current model with the recorded parameters.
  2. Diff them against the approved versions, in the order the reproduce test uses: likeness, colour on a neutral patch, framing as a percentage.
  3. Decide what “close enough” means before you look, or you will decide it emotionally while looking. A useful threshold: if the six could sit in a grid with the old set without being picked out, the template survives.
  4. Adjust the template for the drift you can fix — usually colour temperature and contrast, occasionally the framing language. Model changes are rarely neutral; they usually move toward a house look.
  5. Accept the drift you cannot fix, and record it. The new set will not match the old one exactly, and pretending otherwise produces weeks of futile prompt work.

The output of a migration is not the old set. It is a new template version plus a documented break between two eras of the catalogue, and that break is fine as long as it falls on a season boundary rather than in the middle of a grid.

The version ids are less abstract than they sound, which is why they belong in the manifest rather than in a sentence someone remembers. On this catalogue they look like doubao-seedream-5-5-261028 and doubao-seedream-5-0-pro-260628: two models, two endpoints, and a date suffix that is the only part telling you which build answered. “We used Seedream” does not survive a year; the id does. And if the old set is on Seedream 5.0 Pro and the new one is going on Seedream 5.5, the migration is not a re-run at 26 credits — it is a different model at 10, with the drift that implies, which is worth knowing before the six-frame probe rather than after it.

What this buys you, in one sentence

The difference between a set you can re-run and a set you cannot is about twenty minutes of bookkeeping per run — and it is paid back the first time somebody says “do that again, but for the new range.”

The playbook treats this as stage one rather than paperwork, because a run without a manifest is not an asset. It is a photograph of an afternoon, and the afternoon cannot be recovered.

If your batch tool cannot tell you which model version, which seed and which template version produced a given file, then it is not producing batches. It is producing images that happen to be adjacent to each other in a folder.

Tests run by the Seedwan lab · Reviewed and edited by Michael · How we report