AI UGC Video Generator SaaS Development

PromptResource

A system prompt outlines the technical specification for building an AI SaaS tool designed to produce UGC-style social media ads. Designed for integration into webconsulting.at/tools, it details a stack using Supabase, OpenRouter with Opus 4.5, and Fal.ai image and video models.

Key points

  1. Aims to generate 9:16 portrait video ads for platforms such as Meta and TikTok.
  2. Architecture relies on Supabase for Auth, RLS, database operations, and Edge Functions, with Stripe or Polar handling subscriptions.
  3. Third-party AI integrations include OpenRouter (Opus 4.5) for scriptwriting, Fal.ai, and Nano Banana Pro for avatar and lip-sync video generation.
  4. Four-step MVP creation workflow: scripting, explicit user approval, influencer generation, and lip-sync video rendering with TTS.
  5. Strict security and operational constraints: no free plan, mandatory credit cost confirmation, and backend-only execution of API keys.

Why it matters

The prompt serves as a blueprint for configuring complex multi-model AI applications. By defining security boundaries, database structures, and credit-based billing upfront, it illustrates how to brief AI coding assistants reliably.

Analysis

The prompt functions as an engineering specification designed to guide an AI agent through software development. Key prompting techniques include structured markdown hierarchy, strict negative and positive constraints (e.g. forbidding free plans and exposing API secrets), and procedural decomposition for both user workflow and deployment stages. It relies on a zero-shot, constraint-heavy approach rather than few-shot examples. Software engineers and product managers benefit from this format by minimising hallucinations and ensuring that generated code adheres strictly to existing architectural conventions and security requirements.

Prompt

# Project Overview
Build an AI-powered SaaS platform for generating UGC-style social media advertisements (Meta, TikTok, etc.). The platform must be integrated into the existing `webconsulting.at/tools` architecture.

## Tech Stack & Architecture
- **Frontend**: Responsive design utilizing existing styles in `/tools`.
- **Backend**: Supabase (Auth, RLS, User Management, Database, Edge Functions).
- **Payments**: Subscription-based model (Stripe/Polar integration).
- **Configuration**: API keys stored in environment variables/Supabase secrets (never expose in frontend).
- **Integrations**: 
  - Scripting: OpenRouter (Opus 4.5).
  - Image/Video Generation: Fal.ai (with Fal-token), Nano Banana Pro, and specialized video LLMs.

## Subscription Model
- No free plan: All users must hold a paid subscription.
- Transparency: Display specific credit costs per action to users for confirmation before execution.

## Page Structure
1. **Integration**: Access via the tools section and navigation dropdowns.
2. **Dashboard**: User metrics (remaining credits, video history, account status) and navigation to creation tools.
3. **Video Creation Workflow (MVP)**:
   - **Step 1 (Scripting)**: Input product description, audience, and hooks. Generate script via AI; allow user to edit/regenerate.
   - **Step 2 (Script Approval)**: User confirms text; proceed only after approval.
   - **Step 3 (Influencer Generation)**: Upload custom image or AI-generate influencer (must be 9x16 portrait ratio).
   - **Step 4 (Talking Head Video)**: Combine script + influencer image. Define voice characteristics (gender, tone, accent). Generate lip-sync video with built-in TTS (9x16 format).

## Technical Requirements
- **Schema**: `users`, `credits`, `videos`, `scripts` tables.
- **Security**: Strict RLS implementation; all logic handled via backend/Edge Functions.
- **UX**: Loading states, error feedback, multi-step progress indicators, and transparent credit consumption logging.

## Development Workflow
1. Create detailed implementation plan.
2. Extend `/tools` architecture to include new modules.
3. Implement/Reuse Supabase Auth and User Management.
4. Build and test video generation workflow (Steps 1-4).
5. Integrate payment gateway for mandatory subscription tiers.
6. Iterate based on performance and user feedback.

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • X post:Daniel

    Automating AI UGC Production with Opus 5.5 and Claude Code

    Daniel (@danclipping) outlines a workflow for building an automated AI User-Generated Content (UGC) pipeline using Opus 5.5 and Claude Code. The model functions as an orchestration layer and director handling research, scripts, prompts, and visual evaluation, while external tools manage video rendering and distribution.

    1.6kbookmarks209.2kviews

    AI & LLMs· Tutorial

  • Link:Alex Sprogis

    AI Engineering Accelerator: Systematic SaaS Development with Claude Code

    Alex Sprogis's AI Engineering Accelerator is a training course and pre-configured framework (AI Engineering Kit) designed to help founders and product teams build production-ready SaaS applications using Claude Code without manual coding.

    AI & LLMs· Resource

  • Repository:calesthio/OpenMontage

    OpenMontage: Open-Source Agentic Video Production System

    OpenMontage is an open-source video production framework designed to turn AI coding assistants such as Cursor or Claude into automated video production studios. Built with Python, it provides 12 production pipelines, over 100 tools, and 700+ skill and knowledge files connecting speech, image, and video generation services with programmatic editing engines.

    56.2kstarsPython

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.