Nothing persists until a human clicks Sign
For a mobile games client I built a staff portal that turns a JSON catalog into hundreds of game assets: icons, plants at five growth stages, creatures, backgrounds. Every rule it runs on was paid for first.
A mobile games client needed art at a scale nobody was going to hand-paint on the schedule: 54 icons, 107 plants drawn at five growth stages each, 25 companions, 32 creatures, 36 backgrounds, plus HUD pieces, weather, planters and cards. All of it in one house style, all of it feeding a Unity build that pulls approved files by content ID. Over three weeks starting on the last day of August I built them a staff portal that does this, and most of what it does well was learned by doing it badly first.
Catalog in, preview out
The input isn't a spreadsheet. It's a set of JSON catalogs, one per asset family, where every entry has an ID like plt.<crop>.<stage> and a status. Prompts are assembled from chunk packs, small reusable pieces of description, plus one "style beacon" image from the active style bar, passed to the model as a style-only reference. A lint rule flags wording like "thick stroke" that had proven to pull results off-model. Prompts are capped at 4,000 characters because the plant prompts blew past that and had to be compacted.
Generate returns a preview and persists nothing. That's the first rule, and it's in the code as persisted: false. A human clicks Sign, which mints a permanent version ID and records the style bar, the chunk pack, the provider and model, the reviewer and the timestamp. Only then does Unity see it. The static catalog is not the live approved state. The database is.
Style bleeds
The style beacon was the best idea and the worst bug. Reference an image for style and the model borrows shape too. Icons grew leaves from the style image. Plants copied the species and silhouette of the reference tulip. A whole batch came back looking like cardboard, clay and enamel. An early approach that passed the vector drawing as the main image was dropped within a day. For plants I ended up with five named approaches, from identity-lock to style-led, and the one that won was the artist sheet: the model draws the whole growth sequence at once, so the plant's identity holds across stages. Generate-all runs the bloom first so the finished look carries backward to seed and sprout, and a "ground to bloom" pass shifts each earlier stage so its footing lines up with the final one.
Transparency
Everything is generated on a flat pure-black plate and the black is removed afterwards. The first version made every near-black pixel transparent and punched holes in dark paint: a bell lost its clapper. The fix only clears black that touches the image border. The pull request before that one had claimed the transparency fix while never defining the helper function, so the preview modal crashed instead. Both are in the log because both shipped.
Paid runs
Bulk generation is serial, with an 800 millisecond gap between assets. The confirm dialog says how many paid runs you're about to start and deliberately shows no dollar amounts. Cancel stops new work and lets the current asset finish. The queue halts on any auth, billing or quota error, and there are no automatic retries, because a retry that re-spends is the one failure a portal like this can't have. That rule came from batches that ran against broken browser state and bad style IDs and paid for the privilege. Generate-all now checks its own state and refuses to start if anything is off.
The last bug of the month was quieter. Files Unity already had were being counted as signed, so the gap detection skipped exactly the assets it was supposed to fill, and duplicated control IDs meant one tab's Generate-all button did nothing at all. Both were fixed the day I merged Sign and Ship into one click.
Backgrounds went a different way. Generating each phase of a day cycle from the previous still drifted out of alignment. So each background is now one fifteen-second image-to-video clip, and the seven phase stills are frames pulled from it with ffmpeg. One video, no drift.
None of this is a spreadsheet and a for-loop. The pipeline is mostly a list of things a human isn't allowed to skip, written down after each time skipping them cost money.