# alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper architecture

> Architecture diagram of the GitHub repository alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper
- Repository: https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper

## Overview

VUZA is a browser-based tool for turning scripts or topics into downloadable videos, with optional stock-media sourcing and YouTube upload. The main flow runs from the web interface through the API’s generation orchestration: analyze and prompt scenes, obtain or generate media, create voiceover, then assemble and return a video and thumbnail. The README documents additional capabilities—including batch generation, URL summarization, styling, and multiple media sources—that are represented even where their implementation was not sampled. Several optional branches are therefore documented rather than source-verified.

Main entry points: [`app.py`](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/app.py) (Web API), [`static/script.js`](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/static/script.js) (Browser workflows), [`video_engine.py`](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/video_engine.py) (Video assembly), [`static/index.html`](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/static/index.html) (Creator interface)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Web interface"]
  node_web_ui["Creator interface<br/>[index.html]"]
  node_browser_logic["Browser workflows<br/>[script.js]"]
end

subgraph group_orchestration["Generation orchestration"]
  node_api["Web API<br/>[app.py]"]
  node_job_status["Job status<br/>[app.py]"]
  node_script_tools["Script and metadata AI"]
  node_scene_prompts["Scene prompts"]
  node_url_scraping["URL content extraction"]
  node_batch_jobs["Batch generation<br/>[app.py]"]
end

subgraph group_media["Media and AI services"]
  node_stock_search["Stock search dispatch<br/>[app.py]"]
  node_pinterest["Pinterest media"]
  node_pexels["Pexels media"]
  node_pixabay["Pixabay media"]
  node_ai_images["AI scene images<br/>[app.py]"]
end

subgraph group_production["Video production"]
  node_voiceover["Voice generation<br/>[video_engine.py]"]
  node_video_engine["Video assembly<br/>[video_engine.py]"]
  node_thumbnail["Thumbnail creation<br/>[video_engine.py]"]
  node_video_result["Video and thumbnail<br/>[app.py]"]
end

subgraph group_publishing["Publishing"]
  node_youtube["YouTube upload<br/>[youtube_utils.py]"]
end

node_creator(("Video creator"))
node_youtube_service["YouTube Data API"]

node_creator -->|"creates videos"| node_web_ui
node_web_ui -->|"renders controls"| node_browser_logic
node_browser_logic -->|"submits jobs"| node_api
node_browser_logic -->|"requests status"| node_api
node_api -->|"updates progress"| node_job_status
node_api -->|"requests analysis"| node_script_tools
node_api -->|"requests prompts"| node_scene_prompts
node_api -->|"extracts URL content"| node_url_scraping
node_api -->|"accepts multiple scripts"| node_batch_jobs
node_api -->|"dispatches media searches"| node_stock_search
node_stock_search -->|"searches Pinterest"| node_pinterest
node_stock_search -->|"searches Pexels"| node_pexels
node_stock_search -->|"searches Pixabay"| node_pixabay
node_api -->|"generates scene images"| node_ai_images
node_api -->|"generates speech"| node_voiceover
node_api -->|"assembles scenes"| node_video_engine
node_video_engine -->|"uses audio"| node_voiceover
node_api -->|"creates thumbnail"| node_thumbnail
node_video_engine -->|"produces video"| node_video_result
node_thumbnail -->|"produces thumbnail"| node_video_result
node_api -.->|"supports direct upload"| node_youtube
node_youtube -->|"uploads video"| node_youtube_service

click node_web_ui "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/static/index.html"
click node_browser_logic "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/static/script.js"
click node_api "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/app.py"
click node_job_status "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/app.py"
click node_script_tools "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/aesthetic_scraper.py"
click node_scene_prompts "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/aesthetic_scraper.py"
click node_url_scraping "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/aesthetic_scraper.py"
click node_batch_jobs "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/app.py"
click node_stock_search "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/app.py"
click node_pinterest "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/aesthetic_scraper.py"
click node_pexels "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/aesthetic_scraper.py"
click node_pixabay "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/aesthetic_scraper.py"
click node_ai_images "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/app.py"
click node_voiceover "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/video_engine.py"
click node_video_engine "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/video_engine.py"
click node_thumbnail "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/video_engine.py"
click node_video_result "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/app.py"
click node_youtube "https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/youtube_utils.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_web_ui,node_browser_logic toneBlue
class node_api,node_job_status,node_script_tools,node_scene_prompts,node_url_scraping,node_batch_jobs toneAmber
class node_stock_search,node_pinterest,node_pexels,node_pixabay,node_ai_images,node_youtube_service toneMint
class node_voiceover,node_video_engine,node_thumbnail,node_video_result toneRose
class node_youtube,node_creator toneIndigo
```

## Components

### Web interface

- [Creator interface](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/static/index.html): `static/index.html`
- [Browser workflows](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/static/script.js): `static/script.js`

### Generation orchestration

- [Web API](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/app.py): `app.py`
- [Job status](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/app.py): `app.py`
- [Script and metadata AI](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/aesthetic_scraper.py): `aesthetic_scraper.py`
- [Scene prompts](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/aesthetic_scraper.py): `aesthetic_scraper.py`
- [URL content extraction](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/aesthetic_scraper.py): `aesthetic_scraper.py`
- [Batch generation](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/app.py): `app.py`

### Media and AI services

- [Stock search dispatch](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/app.py): `app.py`
- [Pinterest media](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/aesthetic_scraper.py): `aesthetic_scraper.py`
- [Pexels media](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/aesthetic_scraper.py): `aesthetic_scraper.py`
- [Pixabay media](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/aesthetic_scraper.py): `aesthetic_scraper.py`
- [AI scene images](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/app.py): `app.py`

### Video production

- [Voice generation](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/video_engine.py): `video_engine.py`
- [Video assembly](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/video_engine.py): `video_engine.py`
- [Thumbnail creation](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/video_engine.py): `video_engine.py`
- [Video and thumbnail](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/app.py): `app.py`

### Publishing

- [YouTube upload](https://github.com/alirash3ed/vuza-free-ai-video-creator-and-pinterest-video-scraper/blob/main/youtube_utils.py): `youtube_utils.py`

### Other components

- **Video creator**
- **YouTube Data API**

## Connections

- Video creator → Creator interface: creates videos (evidence: `README.md`)
- Creator interface → Browser workflows: renders controls (evidence: `static/script.js`)
- Browser workflows → Web API: submits jobs (evidence: `static/script.js`)
- Browser workflows → Web API: requests status (evidence: `static/script.js`)
- Web API → Job status: updates progress (evidence: `app.py`)
- Web API → Script and metadata AI: requests analysis (evidence: `app.py`)
- Web API → Scene prompts: requests prompts (evidence: `app.py`)
- Web API → URL content extraction: extracts URL content (evidence: `README.md`)
- Web API → Batch generation: accepts multiple scripts (evidence: `README.md`)
- Web API → Stock search dispatch: dispatches media searches (evidence: `app.py`)
- Stock search dispatch → Pinterest media: searches Pinterest (evidence: `README.md`)
- Stock search dispatch → Pexels media: searches Pexels (evidence: `README.md`)
- Stock search dispatch → Pixabay media: searches Pixabay (evidence: `README.md`)
- Web API → AI scene images: generates scene images (evidence: `app.py`)
- Web API → Voice generation: generates speech (evidence: `README.md`)
- Web API → Video assembly: assembles scenes (evidence: `app.py`)
- Video assembly → Voice generation: uses audio (evidence: `video_engine.py`)
- Web API → Thumbnail creation: creates thumbnail (evidence: `app.py`)
- Video assembly → Video and thumbnail: produces video (evidence: `README.md`)
- Thumbnail creation → Video and thumbnail: produces thumbnail (evidence: `app.py`)
- Web API → YouTube upload: supports direct upload (evidence: `README.md`)
- YouTube upload → YouTube Data API: uploads video (evidence: `youtube_utils.py`)
