End-to-End Autonomous 3D Pixar Animation & Viral Shorts Studio powered by Google Flow, Veo 3.1, Gemini 3.6 & Native macOS App.
Key Features β’ Architecture β’ Quickstart β’ Desktop App β’ Structure β’ License
πΉπ· TΓΌrkΓ§e DokΓΌmantasyon iΓ§in README_TR.md dosyasΔ±na gΓΆz atabilirsiniz.
Flow Studio is a next-generation, zero-marginal-cost content creation studio engineered for YouTube Shorts, Instagram Reels, and TikTok. Utilizing your existing Google Pro account via Chrome DevTools Protocol (CDP), Flow Studio automates the entire creative lifecycle:
- AI Prompt Engineering: Gemini 3.6 generates viral character storylines (Pixar-style baby animals, low-stimulation themes, fantasy creatures).
- Autonomous Veo 3.1 Generation: High-fidelity 4K 60FPS video synthesis via Google Flow / VideoFX with automated prompt submission and smart dialog confirmation.
- Smart Video Caching & Fast Retrieval: Automatic memory tracking prevents duplicate downloads; finished videos are fetched directly from CDN.
- ASMR Sound Engineering & 9:16 Post-Production: FFmpeg dynamic scaling, low-stimulation calming audio tracks, and normalization.
- Kuration HUD & 1-Click Publishing: Cyberpunk glassmorphism interface with integrated YouTube Data API v3 scheduler and uploader.
- Native Desktop & Mobile Synergy: Standalone macOS desktop app bundle (
.app) with custom Retina icon, plus Apple Shortcuts webhook support for remote triggers.
- Generates viral prompts tailored for high-retention 9:16 Shorts.
- 11+ built-in character presets (Baby Owl, Hedgehog, Otter, Penguin, Fox, Red Panda, Low Stimulation Bunny, Dragon, Pancake Bear, Elephant).
- Automated SEO metadata generation: Click-worthy titles, emoji-rich descriptions, and viral hashtag sets (
#Shorts #Pixar3D #RelaxingAnimation).
- Connects directly to Google Flow session via remote debugging port
9222. - Zero additional API costs: fully leverages your Google Pro subscription and Flow credit pool.
- Automatically handles terms/dialog popups ("Confirm and do not ask again").
- Live credit telemetry: reads real-time balance and visualizes remaining video capacity.
- Converts raw landscape video to lossless 1080x1920 9:16 portrait format.
- Mixes royalty-free calming ASMR background tracks with gentle fade-ins and fade-outs.
- Strict frame synchronization and audio normalization for high watch-time algorithms.
- Standalone double-clickable
Flow Studio.appbuilt with Apple Cocoapywebview(WKWebView). - Custom 3D neon glassmorphism Retina
.icnsapp icon (16x16 up to 1024x1024). - Automatic background Streamlit server lifecycle management and graceful shutdown.
- Dark theme (
#06080D), responsive glass cards, and neon progress indicators.
- Instant publishing or flexible future scheduling.
- Category tagging (
Film & Animation/Kids), custom privacy status (Public,Unlisted,Private). - Token refresh manager for secure, recurring uploads without re-authentication.
- Built-in lightweight HTTP webhook server on port
8503. - Trigger autonomous generation from your iPhone via Apple Shortcuts or "Hey Siri, Flow Studio".
flowchart TD
subgraph Input ["1. Trigger & Input"]
A1["macOS Desktop App (pywebview)"]
A2["Streamlit Web HUD (:8502)"]
A3["iPhone Apple Shortcuts (:8503)"]
end
subgraph AI_Core ["2. Prompt & Story Engine"]
B1["Gemini 3.6 Flash API"]
B2["Viral Character Presets & SEO Tags"]
end
subgraph Automation ["3. Google Flow Automation"]
C1["FlowCDPBot (Playwright CDP :9222)"]
C2["Google Flow / Veo 3.1 Web Interface"]
C3["Smart Dialogue Auto-Confirm"]
C4["High-Speed CDN Video Downloader"]
end
subgraph Video_Engine ["4. Post-Production Pipeline"]
D1["9:16 Vertical Cropping & Scaling"]
D2["ASMR Ambient Audio Mix & Normalize"]
D3["Metadata Tagging & Local Candidates Cache"]
end
subgraph Distribution ["5. Publishing & Output"]
E1["Interactive Curation Dashboard"]
E2["YouTube Data API v3 (Instant / Scheduled)"]
end
Input --> B1
B1 --> B2
B2 --> C1
C1 --> C2
C2 --> C3
C3 --> C4
C4 --> D1
D1 --> D2
D2 --> D3
D3 --> E1
E1 --> E2
flow-studio/
βββ AppIcon.icns # High-resolution macOS Retina application icon
βββ LICENSE # MIT Open-Source License
βββ README.md # English Documentation
βββ README_TR.md # TΓΌrkΓ§e DokΓΌmantasyon
βββ requirements.txt # Python dependencies
βββ run_desktop.py # macOS Cocoa WKWebView launcher
βββ setup_and_run.command # 1-Click macOS setup & run script
βββ start_dashboard.sh # Terminal dashboard launcher
βββ assets/
β βββ branding/ # Logos, icons, and UI preview assets
β βββ fonts/ # High-contrast bold typography
β βββ music/ # Calming ASMR loop audio tracks
β βββ sfx/ # Cartoon & sound effects library
βββ config/
β βββ settings.py # Environment and style configuration
βββ dashboard/
β βββ app.py # Cyberpunk HUD Streamlit dashboard
βββ scripts/
β βββ build_macos_app.sh # Script to compile native Flow Studio.app bundle
βββ src/
βββ api/
β βββ shortcuts_server.py # Apple Shortcuts webhook server (:8503)
βββ automation/
β βββ downloads_watcher.py # Real-time file system download monitor
β βββ flow_cdp_bot.py # Playwright Chrome DevTools Protocol automation
βββ generator/
β βββ google_labs_prompter.py # Gemini 3.6 prompt synthesizer
β βββ prompt_templates.py # Pixar 3D prompt presets
βββ media/
β βββ audio_manager.py # Sound engineering and volume leveling
βββ video_engine/
β βββ video_enhancer.py # FFmpeg 9:16 rendering and ASMR mix
βββ youtube/
βββ uploader.py # YouTube Data API v3 automated publisher
- Python: 3.11 or higher
- FFmpeg: Installed and available in PATH (
brew install ffmpegon macOS) - Google Chrome: Standard installation (for CDP automation)
- Google Account: With access to Google Flow / VideoFX
git clone https://github.com/efekkoc/FlowStudio.git
cd FlowStudiopython3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
playwright install chromiumCopy .env.example to .env:
cp .env.example .envFill in your Google Gemini API key:
GEMINI_API_KEY=your_gemini_api_key_here
YOUTUBE_CLIENT_SECRET_FILE=client_secrets.jsonCompile the standalone .app bundle onto your Desktop:
chmod +x scripts/build_macos_app.sh
./scripts/build_macos_app.shDouble-click Flow Studio.app on your Desktop or run:
python3 run_desktop.pychmod +x start_dashboard.sh
./start_dashboard.shNavigate to http://localhost:8502 in your browser.
- Open Google Cloud Console.
- Create a project and enable YouTube Data API v3.
- Configure the OAuth Consent Screen (User Type: External, add your YouTube channel email as a Test User).
- Create Credentials: Create Credentials > OAuth client ID > Desktop App.
- Download the credentials file and save it in the root folder as
client_secrets.json. - Run the authentication script once to generate your persistent
token.json:python3 auth_youtube.py
- No Passwords Stored: Flow Studio connects to your existing browser session via CDP. No Google credentials or passwords are ever captured or saved.
- Strict Git Exclusions:
.env,client_secrets.json,token.json, and browser user profiles are strictly ignored in.gitignore.
This project is open-source under the terms of the MIT License.
Crafted with β€οΈ by Turgut Efekan KoΓ§ (@efekkoc)
