# anil-matcha/awesome-generative-ai-apps architecture

> Architecture diagram of the GitHub repository anil-matcha/awesome-generative-ai-apps, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/anil-matcha/awesome-generative-ai-apps
- Repository: https://github.com/anil-matcha/awesome-generative-ai-apps

## Overview

This repository is a catalog of independent, white-label generative-AI products and tools, not one integrated application. Its principal SaaS pattern is user authentication, credit-funded AI work, asynchronous result handling, and persistent job history, with Stripe billing as a separate purchase path. The tree also includes a local-inference studio and a YouTube-shorts pipeline. Relationships for the shared SaaS pattern are documented in the README; several product branches are represented by their listed route paths because their implementations were not sampled.

Main entry points: [`video_generation/AI-Youtube-Shorts-Generator/shorts_generator/pipeline.py`](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/video_generation/AI-Youtube-Shorts-Generator/shorts_generator/pipeline.py) (Shorts Pipeline), [`image_generation`](https://github.com/anil-matcha/awesome-generative-ai-apps/tree/main/image_generation) (Image Apps), [`ai_agents/my-podcast/src/app/api/checkout/route.js`](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/app/api/checkout/route.js) (Credit Purchase), [`ai_agents/my-podcast/src/lib/stripe.js`](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/lib/stripe.js) (Stripe Billing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_saas["AI SaaS Templates"]
  node_auth["Google OAuth<br/>[auth.js]"]
  node_purchase["Credit Purchase<br/>[route.js]"]
  node_stripe["Stripe Billing<br/>[stripe.js]"]
  node_billing["Credit Billing<br/>[billing.js]"]
  node_usercredits["Credit Account<br/>[user.js]"]
  node_postgres[("PostgreSQL Data<br/>[prisma.js]")]
end

subgraph group_creative["Creative Products"]
  node_imageapps["Image Apps"]
  node_beautyapps["Beauty Apps"]
  node_staging["Room Staging<br/>[route.js]"]
end

subgraph group_content["Content Products"]
  node_podcast["Podcast Creation<br/>[route.js]"]
  node_knowledge["Knowledge Base<br/>[route.js]"]
  node_resume["Resume Generation<br/>[route.js]"]
  node_geo["Search Visibility<br/>[route.js]"]
end

subgraph group_platforms["AI Platforms"]
  node_openstudio["Generative AI Studio"]
  node_localclient["Local Inference Client"]
  node_localmodels["Local Model Catalog<br/>[localModels.js]"]
end

subgraph group_video["Video Workflow"]
  node_shorts["Shorts Pipeline<br/>[pipeline.py]"]
  node_highlights["Highlight Selection<br/>[highlights.py]"]
  node_transcription["Video Transcription<br/>[transcriber.py]"]
  node_clipper["Shorts Cropping<br/>[clipper.py]"]
end

node_user(("Product User"))
node_muapi{{"MuAPI Models"}}

node_user -->|"signs in"| node_auth
node_user -->|"buys credits"| node_purchase
node_purchase -->|"starts checkout"| node_stripe
node_stripe -->|"confirms payment"| node_billing
node_user -->|"requests generation"| node_imageapps
node_user -->|"requests generation"| node_beautyapps
node_user -->|"submits room image"| node_staging
node_user -->|"requests audio"| node_podcast
node_user -.->|"uses knowledge base"| node_knowledge
node_user -->|"requests resume"| node_resume
node_user -->|"checks visibility"| node_geo
node_imageapps -->|"requests AI work"| node_muapi
node_beautyapps -->|"requests AI work"| node_muapi
node_staging -->|"submits generation"| node_muapi
node_podcast -->|"submits prediction"| node_muapi
node_resume -->|"submits generation"| node_muapi
node_geo -->|"submits analysis"| node_muapi
node_usercredits -.->|"persists balances"| node_postgres
node_imageapps -.->|"stores job history"| node_postgres
node_openstudio -->|"calls inference"| node_localclient
node_localclient -->|"looks up model"| node_localmodels
node_user -.->|"manages local models"| node_openstudio
node_user -.->|"provides video"| node_shorts
node_shorts -->|"transcribes source"| node_transcription
node_shorts -->|"selects highlights"| node_highlights
node_shorts -->|"crops clips"| node_clipper

click node_auth "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/lib/auth.js"
click node_purchase "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/app/api/checkout/route.js"
click node_stripe "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/lib/stripe.js"
click node_billing "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/lib/services/billing.js"
click node_usercredits "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/lib/services/user.js"
click node_postgres "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/lib/prisma.js"
click node_imageapps "https://github.com/anil-matcha/awesome-generative-ai-apps/tree/main/image_generation"
click node_beautyapps "https://github.com/anil-matcha/awesome-generative-ai-apps/tree/main/beauty_fashion"
click node_staging "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/home_real_estate/ai-real-estate-stager/src/app/api/stage/route.js"
click node_podcast "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/app/api/podcast/route.js"
click node_knowledge "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/ai-knowledge-base/src/app/api/kb/route.js"
click node_resume "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/writing_content/ai-resume-builder/src/app/api/generation/route.js"
click node_geo "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/writing_content/geo-checker/src/app/api/generation/route.js"
click node_openstudio "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/platforms/Open-Generative-AI/src/components/LocalModelManager.js"
click node_localclient "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/platforms/Open-Generative-AI/src/lib/localInferenceClient.js"
click node_localmodels "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/platforms/Open-Generative-AI/src/lib/localModels.js"
click node_shorts "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/video_generation/AI-Youtube-Shorts-Generator/shorts_generator/pipeline.py"
click node_highlights "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/video_generation/AI-Youtube-Shorts-Generator/shorts_generator/highlights.py"
click node_transcription "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/video_generation/AI-Youtube-Shorts-Generator/shorts_generator/transcriber.py"
click node_clipper "https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/video_generation/AI-Youtube-Shorts-Generator/shorts_generator/clipper.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_auth,node_purchase,node_stripe,node_billing,node_usercredits,node_postgres,node_user toneBlue
class node_imageapps,node_beautyapps,node_staging toneAmber
class node_podcast,node_knowledge,node_resume,node_geo,node_muapi toneMint
class node_openstudio,node_localclient,node_localmodels toneRose
class node_shorts,node_highlights,node_transcription,node_clipper toneIndigo
```

## Components

### AI SaaS Templates

- [Google OAuth](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/lib/auth.js): `ai_agents/my-podcast/src/lib/auth.js`
- [Credit Purchase](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/app/api/checkout/route.js): `ai_agents/my-podcast/src/app/api/checkout/route.js`
- [Stripe Billing](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/lib/stripe.js): `ai_agents/my-podcast/src/lib/stripe.js`
- [Credit Billing](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/lib/services/billing.js): `ai_agents/my-podcast/src/lib/services/billing.js`
- [Credit Account](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/lib/services/user.js): `ai_agents/my-podcast/src/lib/services/user.js`
- [PostgreSQL Data](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/lib/prisma.js): `ai_agents/my-podcast/src/lib/prisma.js`

### Creative Products

- [Image Apps](https://github.com/anil-matcha/awesome-generative-ai-apps/tree/main/image_generation): `image_generation`
- [Beauty Apps](https://github.com/anil-matcha/awesome-generative-ai-apps/tree/main/beauty_fashion): `beauty_fashion`
- [Room Staging](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/home_real_estate/ai-real-estate-stager/src/app/api/stage/route.js): `home_real_estate/ai-real-estate-stager/src/app/api/stage/route.js`

### Content Products

- [Podcast Creation](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/my-podcast/src/app/api/podcast/route.js): `ai_agents/my-podcast/src/app/api/podcast/route.js`
- [Knowledge Base](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/ai_agents/ai-knowledge-base/src/app/api/kb/route.js): `ai_agents/ai-knowledge-base/src/app/api/kb/route.js`
- [Resume Generation](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/writing_content/ai-resume-builder/src/app/api/generation/route.js): `writing_content/ai-resume-builder/src/app/api/generation/route.js`
- [Search Visibility](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/writing_content/geo-checker/src/app/api/generation/route.js): `writing_content/geo-checker/src/app/api/generation/route.js`

### AI Platforms

- [Generative AI Studio](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/platforms/Open-Generative-AI/src/components/LocalModelManager.js): `platforms/Open-Generative-AI/src/components/LocalModelManager.js`
- [Local Inference Client](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/platforms/Open-Generative-AI/src/lib/localInferenceClient.js): `platforms/Open-Generative-AI/src/lib/localInferenceClient.js`
- [Local Model Catalog](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/platforms/Open-Generative-AI/src/lib/localModels.js): `platforms/Open-Generative-AI/src/lib/localModels.js`

### Video Workflow

- [Shorts Pipeline](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/video_generation/AI-Youtube-Shorts-Generator/shorts_generator/pipeline.py): `video_generation/AI-Youtube-Shorts-Generator/shorts_generator/pipeline.py`
- [Highlight Selection](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/video_generation/AI-Youtube-Shorts-Generator/shorts_generator/highlights.py): `video_generation/AI-Youtube-Shorts-Generator/shorts_generator/highlights.py`
- [Video Transcription](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/video_generation/AI-Youtube-Shorts-Generator/shorts_generator/transcriber.py): `video_generation/AI-Youtube-Shorts-Generator/shorts_generator/transcriber.py`
- [Shorts Cropping](https://github.com/anil-matcha/awesome-generative-ai-apps/blob/main/video_generation/AI-Youtube-Shorts-Generator/shorts_generator/clipper.py): `video_generation/AI-Youtube-Shorts-Generator/shorts_generator/clipper.py`

### Other components

- **Product User**
- **MuAPI Models**

## Connections

- Product User → Google OAuth: signs in (evidence: `README.md`)
- Product User → Credit Purchase: buys credits (evidence: `README.md`)
- Credit Purchase → Stripe Billing: starts checkout (evidence: `README.md`)
- Stripe Billing → Credit Billing: confirms payment (evidence: `README.md`)
- Product User → Image Apps: requests generation (evidence: `README.md`)
- Product User → Beauty Apps: requests generation (evidence: `README.md`)
- Product User → Room Staging: submits room image (evidence: `home_real_estate/ai-real-estate-stager/src/app/api/stage/route.js`)
- Product User → Podcast Creation: requests audio (evidence: `ai_agents/my-podcast/src/app/api/podcast/route.js`)
- Product User → Knowledge Base: uses knowledge base (evidence: `README.md`)
- Product User → Resume Generation: requests resume (evidence: `writing_content/ai-resume-builder/src/app/api/generation/route.js`)
- Product User → Search Visibility: checks visibility (evidence: `writing_content/geo-checker/src/app/api/generation/route.js`)
- Image Apps → MuAPI Models: requests AI work (evidence: `README.md`)
- Beauty Apps → MuAPI Models: requests AI work (evidence: `README.md`)
- Room Staging → MuAPI Models: submits generation (evidence: `home_real_estate/ai-real-estate-stager/src/app/api/stage/route.js`)
- Podcast Creation → MuAPI Models: submits prediction (evidence: `ai_agents/my-podcast/src/app/api/podcast/route.js`)
- Resume Generation → MuAPI Models: submits generation (evidence: `writing_content/ai-resume-builder/src/app/api/generation/route.js`)
- Search Visibility → MuAPI Models: submits analysis (evidence: `writing_content/geo-checker/src/app/api/generation/route.js`)
- Credit Account → PostgreSQL Data: persists balances (evidence: `README.md`)
- Image Apps → PostgreSQL Data: stores job history (evidence: `README.md`)
- Generative AI Studio → Local Inference Client: calls inference (evidence: `platforms/Open-Generative-AI/src/components/LocalModelManager.js`)
- Local Inference Client → Local Model Catalog: looks up model (evidence: `platforms/Open-Generative-AI/src/lib/localInferenceClient.js`)
- Product User → Generative AI Studio: manages local models
- Product User → Shorts Pipeline: provides video
- Shorts Pipeline → Video Transcription: transcribes source (evidence: `video_generation/AI-Youtube-Shorts-Generator/shorts_generator/pipeline.py`)
- Shorts Pipeline → Highlight Selection: selects highlights (evidence: `video_generation/AI-Youtube-Shorts-Generator/shorts_generator/pipeline.py`)
- Shorts Pipeline → Shorts Cropping: crops clips (evidence: `video_generation/AI-Youtube-Shorts-Generator/shorts_generator/pipeline.py`)
