An internal AI image and video studio for the creative team — seven generation models behind one composer, with client projects, spend controls, approvals and a UGC ad workflow. Written from a PRD, shipped to production.
The problem
Great models, no guardrails.
The creative team wanted AI image and video for ad concepts, but using it meant personal logins on consumer apps. Nobody could see what had been spent or for which client, finished assets lived in downloads folders, and there was no step between “generated” and “sent to client”.
Video in particular is expensive per clip — a single long, high-resolution render can cost more than a day's budget — so open access without controls was not an option.
Spend on personal accounts
No budget, no per-client cost
Assets scattered across laptops
Nothing reusable, nothing findable
Which model for which job?
Trial and error, paid per attempt
The solution
One studio, every model, every rupee tracked.
I wrote the PRD and architecture, then built the studio end to end. Every generation is priced before it runs, reserved against the company budget, queued, sent to the provider, and its output stored privately against a client and project — with an audit trail throughout.
Generation lifecycle
- ComposeModel · prompt · refs
- EstimatePriced up front
- ReserveAgainst budget
- GenerateQueued dispatcher
- StorePrivate bucket
- ApproveBefore clients see it
One Composer, Seven Models
Image and video models behind a single interface. Attaching a start or end frame quietly switches a video model to its image-to-video variant, so the team picks a model, not an endpoint.
Spend Controls
Every request is priced before it runs — including token-metered video models whose provider returns a formula rather than a price. Costs reserve against a company budget, and anything above a threshold asks for confirmation.
Roles and Access
Google Workspace sign-in, invite-only. Admins, creatives and viewers, optionally scoped to named clients. Assets stay hidden from viewers until approved.
UGC Ad Workflow
A playbook and script planner that breaks a UGC ad into clips: generate a consistent keyframe for each shot, then animate it — handing each prompt straight into the studio.
‘Which Model?’ Guide
A public guide rendered from the same model catalogue the app runs on, so limits and parameters never go stale — only the judgement is hand-written.
Edit and Iterate
Any generated image can be reopened as a reference for the next generation, with the original stored byte-for-byte and every output organised by client and project.
Judgement calls
What I learned shipping it.
- Simplified the architecture to fit the budget. The original design needed a separate queue server; I replaced it with a database-leased dispatcher so the whole product runs on one hosting platform at near-zero fixed cost.
- Tested live, not just in mocks. A paid QA pass across all seven models (about $1.40) caught a dispatcher that stalled under parallel load and a provider that returned receipts from a different host than it accepted jobs on — both fixed before the team relied on it.
- Fixed the problem users could not describe. The Generate button was disabled almost all day because it waited on a health signal that only a generation could produce. Redefined "offline" and made the button say exactly what was missing.
- Changed course when asked. Access went from domain auto-admit back to invite-only, and per-client budgets were removed in favour of one company budget, when the team found them more friction than control.
Tech stack
Production-grade, one platform.
Built with AI-assisted development from my own PRD. Integration tests drive the full path — client, project, generation, asset — as a non-admin user, and the provider guard is tested against lookalike hosts.
Outcomes
What actually changed.
7
AI models
Image + video, one interface
30
Client workspaces
Assets filed by client
100%
Spend tracked
Priced before it runs
~5s
Image turnaround
Submit to stored asset
- The creative team generates ad concepts in a company tool instead of personal accounts, with every rupee attributed to a client.
- Finished assets live in one private, searchable library rather than on individual laptops.
- The team has already used it to produce AI UGC video ads for a live client.
- Live at studio.digitaladvantagemedia.com behind company sign-in.