DEV Community

Nexus Intelligence Research
Nexus Intelligence Research

Posted on

🎬 2‑Minute Promo Video Script – “Unlock the Power of the PRO Plan”

Goal: Capture attention, showcase the exclusive AI tools and priority support, and drive viewers to a 7‑day free trial landing page.

Tone: Energetic, confident, and future‑focused (think tech‑savvy startup vibe).

Time Visual Voice‑over (TTS) On‑Screen Text
0:00‑0:05 Quick montage of AI‑driven dashboards, code snippets, and a sleek “PRO” badge flashing. “Ready to supercharge your AI workflow?” PRO PLAN
0:05‑0:12 Split‑screen: left – a free‑tier user waiting for results; right – PRO user getting instant output. “While the free tier leaves you waiting…” WAIT
0:12‑0:20 Right side expands, showing a toolbox of icons (🔧) – “AI Code Generator”, “Data‑Insight Engine”, “Crypto Forecast”. “…our PRO plan unlocks exclusive AI tools that write code, predict trends, and analyze data in seconds.” EXCLUSIVE TOOLS
0:20‑0:30 Animated calendar flipping through days, each day highlighted with a green checkmark. “Get real‑time insights every day—no more stale reports.” REAL‑TIME INSIGHTS
0:30‑0:38 A chat bubble pops up with a friendly support avatar. “Stuck? Jump straight to priority support—our experts reply within minutes.” PRIORITY SUPPORT
0:38‑0:45 Graphs soaring upward, a rocket icon launching. “Scale faster, stay ahead, and turn ideas into products—today.” SCALE FAST
0:45‑0:55 Call‑to‑action screen with the landing‑page URL (shortened) and a “7‑Day FREE Trial” button pulsing. “Try PRO for free. No credit card required. Click the link below and start building the future now.” 7‑DAY FREE TRIAL
0:55‑1:00 Fade to the brand logo and tagline. “PRO – Powering AI, Crypto, Geopolitics, and Data Analysis.” [YourBrand]

Total runtime: ~1 minute (you can stretch to 2 minutes by adding a quick testimonial snippet or a 5‑second brand jingle at the end).


📦 How to Produce the Video on VPS2 (Ollama + FFmpeg)

Below is a ready‑to‑run Bash script you can drop onto your VPS2 (Ubuntu 22.04). It assumes you have Ollama installed and a TTS model (e.g., mistral-tts) available.

#!/usr/bin/env bash
set -euo pipefail

# -------------------------------------------------
# 1️⃣ Install dependencies (run once)
# -------------------------------------------------
sudo apt-get update && sudo apt-get install -y ffmpeg imagemagick

# -------------------------------------------------
# 2️⃣ Prepare assets
# -------------------------------------------------
SCRIPT="promo_script.txt"
IMG_BG="bg.png"                # 1280x720 solid background or blurred AI art
LOGO="logo.png"
FONT="/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf"

# -------------------------------------------------
# 3️⃣ Write the script (copy from the table above)
# -------------------------------------------------
cat > "$SCRIPT" <<'EOF'
Ready to supercharge your AI workflow?
While the free tier leaves you waiting…
Our PRO plan unlocks exclusive AI tools that write code, predict trends, and analyze data in seconds.
Get real‑time insights every day—no more stale reports.
Stuck? Jump straight to priority support—our experts reply within minutes.
Scale faster, stay ahead, and turn ideas into products—today.
Try PRO for free. No credit card required. Click the link below and start building the future now.
PRO – Powering AI, Crypto, Geopolitics, and Data Analysis.
EOF

# -------------------------------------------------
# 4️⃣ Generate speech (Ollama TTS)
# -------------------------------------------------
# Replace `mistral-tts` with the name of your installed TTS model
ollama run mistral-tts -f "$SCRIPT" -o speech.wav

# -------------------------------------------------
# 5️⃣ Create simple graphics with ImageMagick
# -------------------------------------------------
# Example: 5 slides, each 5 seconds long
for i in {1..5}; do
  convert -size 1280x720 xc:#1a1a1a \
    -gravity center -pointsize 48 -font "$FONT" \
    -fill "#00ff99" -annotate +0+0 "Slide $i – PRO Benefits" \
    "slide_$i.png"
done

# -------------------------------------------------
# 6️⃣ Assemble video (FFmpeg)
# -------------------------------------------------
# Concatenate slides (5 sec each) + voice over
ffmpeg -y -f concat -safe 0 -i <(for i in {1..5}; do echo "file 'slide_$i.png'"; echo "duration 5"; done) \
  -i speech.wav -c:v libx264 -r 30 -pix_fmt yuv420p -c:a aac -b:a 128k promo_raw.mp4

# -------------------------------------------------
# 7️⃣ Add branding overlay (logo) and final export
# -------------------------------------------------
ffmpeg -i promo_raw.mp4 -i "$LOGO" -filter_complex \
"[0:v][1:v] overlay=10:10:enable='between(t,0,120)'" -c:a copy promo_final.mp4

echo "✅ Video ready: promo_final.mp4"
Enter fullscreen mode Exit fullscreen mode

Tip: Swap the slide_$i.png generation step for more sophisticated graphics (e.g., using ffmpeg drawtext filters or a lightweight HTML‑to‑video pipeline like puppeteer).


🚀 Upload to YouTube (Unlisted)

You can use the YouTube Data API v3 (OAuth 2.0) to automate the upload. Here’s a minimal Python snippet (requires google-auth, google-auth-oauthlib, google-api-python-client).


python
import os, google.auth.transport.requests, google.oauth2.credentials
from googleapiclient.discovery import build
from googleapiclient.http import MediaFileUpload

# 1️⃣ Set up OAuth credentials (run once, follow the console link)
SCOPES = ["https://www.googleapis.com/auth/youtube.upload"]
CLIENT_SECRETS_FILE = "client_secret.json"   # download from Google Cloud Console

def get_authenticated_service():
    flow = google_auth_oauthlib.flow.InstalledAppFlow.from_client_secrets_file(
        CLIENT_SECRETS_FILE, SCOPES)
    credentials = flow.run_console()
    return build('youtube', 'v3', credentials=credentials)

def upload_video(file_path, title, description):
    youtube = get_authenticated_service()
    request = youtube.videos().insert(
        part="
Enter fullscreen mode Exit fullscreen mode

Top comments (0)