Never-Fail AI Render Router
Never-Fail AI Render Router
An overnight render job with one vendor behind it comes back empty the first time that vendor hits a spend cap, runs out of balance or goes down. A quick second vendor in an if statement brings new problems: it drops your reference images, renders at a third of the size, or bills cash while the plan credits you already paid for expire.
This kit is the routing I run on my own pipelines, rebuilt for yours. A dated ladder file lists every rung (a model on a vendor) with its real size, whether it carries reference images and whether it can run unattended. The router spends plan credits that reset soonest first and cash last, inside each model. One command walks the chain with one prompt for every rung, skips the rungs that would drop your references, tags degraded files and holds them for review, and exits 0, 5 or 6 so your scheduler knows what happened. Jobs that must never switch engines fail closed, and a shared-folder queue hands work to the one machine that has the engine. Python 3.8+, standard library only, keys only from environment variables. Vendor facts checked December 1, 2026.
what’s inside
Never-Fail AI Render Router guide (PDF + Word): the rules, credit-first ordering, building your ladder, one prompt for every backend, references and degraded rungs, exit codes and the rung contract, install and fire drills, video tiers, fail-closed engines, the job queue, shared folders, staying inside each vendor’s rules, the morning report, checklists and a sample night
The render_router package (Python): routing, the chain, the publish check, fail-closed classes, the queue and per-machine paths
Sample ladder file and request templates (JSON + Python): seven image rungs and three video rungs, dated, a generic REST rung, templates for the Gemini API and the xAI API
Fire-drill ladder, mock rung and 21 tests (Python)
Vendor Ladder Workbook (Excel): reset dates, credits that expire unspent, cost per image on every rung, video cost by tier, dated vendor facts
Render Routing Flowchart (PDF): walk the chain, still a real stop, the morning report
Notion template (duplicate link): your rungs, the run log and the reset calendar
Terms of use (PDF), the first file in the download
who it’s for
Creators, small studios, in-house content teams and agencies running AI image or video generation on a schedule or in batches, across more than one vendor. You should be able to run a command in a terminal and edit a JSON file. You don’t need to write Python to use the router. Works on macOS, Linux or Windows.
file formats
PDF, DOCX, XLSX, Python (.py), JSON, Markdown, shell script, TOML, a Notion duplicate link, delivered as one zip. Fonts: Oswald and Open Sans, free from Google Fonts.
By buying you accept the terms of use: https://gallucci.net/terms
