UGC Content Studio — AI Media Generation Pipeline
The problem & product
Marketing teams need product and model variations without repeated manual shoots. I built a multimodal generation workflow spanning authenticated uploads, Google AI image/video requests, Cloudinary delivery, and relational project and credit records.
Architecture & engineering decisions
- Scoped project and generation endpoints to Clerk identity so each account works with its own project records.
- Orchestrated Google AI image/video requests and Cloudinary uploads while persisting processing states and media URLs.
- Implemented Prisma/PostgreSQL credit updates and restoration after generation failures, with error state retained on the project.
I implemented project-scoped generation, persisted image/video results, and credit restoration on generation failures across the creator workflow.



