Drafting The CSV First: Why My Metadata Columns Come Before The Art
First batch dead on arrival. Adobe rejected every row. Reason: header wrong. Five columns, not four. I built 200 assets before checking the CSV spec. Stupid waste of a day.
Now I draft metadata before art touches disk. Column order fixed. Header exact. Art comes later. This post explains why.
The rejection that forced the change
Adobe Stock contributor upload uses CSV. Header must match exact field order. Mine did not. Every file bounced. Same for Vecteezy. Four columns there, different names, different order. Dreamstime wants fifteen columns. Three platforms, three schemas. One wrong header kills whole batch.
Fix: make_metadata.py writes header first, then rows. Header matches platform spec exactly. No guessing. No hand editing. Script fails loud if column count wrong.
Metadata is the contract, not decoration
Platforms reject bad metadata instantly. No human reviews art if CSV malformed. So metadata becomes gatekeeper. Art never reaches reviewer unless header correct.
This flips normal workflow. Most makers draw first, tag later. Wrong order. Draft CSV columns first. Filename, title, keywords, categories, release status. Fill rows as art produced. CSV becomes production plan, not afterthought.
Real numbers from this pipeline: 1,860 assets made. 1,077 ready or submitted. First paid sale: Digital Asset Factory, $2.80. Metadata script ran before any upload. Zero rejections from header errors after switch.
The tracker prevents the dumber failure
Double posting gets accounts flagged. Fast. Running batch twice because forgot what uploaded already. Classic solo maker mistake.
upload_tracker.py keeps ledger. Remembers what posted. Re-run safe. Shows pending items only. Mark done by filename.
python upload_tracker.py pending items.txt python upload_tracker.py done "asset-001.jpg" python upload_tracker.py status Standard library only. No database. Text file ledger. Works on 1 vCPU, 2 GB RAM box.
Why columns before art changes everything
Art generation has cost. AI image generation costs money per image. Every bad metadata row wastes that spend. Draft CSV first means art only generated for rows that pass validation.
Validation cheap. Art expensive. So validate first. This pipeline runs on 1 vCPU, 2 GB RAM, no GPU. Image generation happens elsewhere. Metadata validation happens here, free, before spending anything on art.
Process: fill CSV row. Validate against platform schema. Pass? Generate art. Fail? Fix row. No art wasted on bad metadata.
The folder layout that keeps this sane
Catalogue turns into junk drawer without fixed structure:
project/ assets/ output/ packs/ research/ scripts/ research/ stays forever. Scrape logs, notes, sources. Raw material for future products. Deleted mine once. Mistake. Never again.
output/ holds ready files plus metadata CSV. packs/ holds finished zips and covers. scripts/ holds the tools. Same layout every project. No thinking about where things go.
What the full system looks like
Four scripts form packaging layer. make_metadata.py builds CSVs. upload_tracker.py prevents double posts. md2pdf.py turns Markdown into styled PDF. pack_product.py zips files, renders 1280x720 cover and 600x600 thumbnail.
Two dependencies total: Pillow for covers, reportlab for PDFs. Metadata and tracker scripts need zero installs. Python stdlib only.
Full pipeline: ~19,000 lines. 300+ pages of research behind rules scripts enforce. 39 products packaged, 856 MB output. All on 1 vCPU, 2 GB RAM.
What I learned
Art is not the hard part. Making art is fun. The stall points are metadata, double posting, packaging, documentation. Boring stuff. Scripts fix boring stuff. Then art flows through.
Draft CSV first. Validate before generating. Track before uploading. Package with covers. Four habits, four scripts, working pipeline.
Built the full system from this work. Called it Digital Asset Factory. Contains the exact scripts that packaged 39 products and made first sale.
Building digital products? Free guides & kits for digital product sellers.