Ship the Captioner

packaging and shipping

Part of: Caption & Alt-Text Generator

Everything so far is a function: encode, prompt, call, parse, validate, estimate. Shipping means wiring those functions into one pipeline that takes a raw image and hands back a finished, accessible result. It also means knowing what "done" looks like for this tool. The full pipeline, end to end Six lessons of separate pieces (encoding, prompting, parsing, validating, hardening, cost) collapse into a handful of calls to functions you already wrote. That's what a finished product usually is: not new code, but old code assembled in the right order. What done means for this tool 1. It runs on a real image file end to end and returns both a caption and alt text. 2. A bad upload, a wrong type or an empty file, fails fast with a clear message instead of a stack trace from deep inside the API call. 3. A malformed model reply gets one retry before it falls back. It never crashes the tool. 4. Someone else can point it at their own photo and get a usable result without reading your source. When those four hold, this is a real deliverable, not a demo script. A minimal CLI wrapper It lands in your Portfolio Finishing this lesson completes the project. Like every build in this track, it saves t

Challenge: Ship the Captioner Report