Quickstart Guide
Get OpenShorts up and running in under 5 minutes using Docker Compose. This guide will walk you through the complete setup from installation to generating your first viral clip.Prerequisites
Before you begin, make sure you have:Docker & Docker Compose
Required for running OpenShorts containers
Google Gemini API Key
Free API key for AI-powered viral moment detection
Don’t have a Gemini API key? Get one for free at Google AI Studio
Installation Steps
Launch with Docker Compose
Build and start all services with a single command:This will:
- Build the backend container (FastAPI + Python AI processing)
- Build the frontend container (React dashboard with Vite)
- Start both services with automatic restart enabled
- Map ports: backend on
8000, frontend on5175
First build may take 2-5 minutes to download dependencies and models. Subsequent starts are much faster.
Configure API Keys
On first launch, you’ll be prompted to enter your API keys:Required:
- Gemini API Key: For AI-powered viral moment detection and title generation
- Upload-Post API Key: For direct social media posting (free tier available)
- ElevenLabs API Key: For AI voice dubbing in 30+ languages
API keys are stored encrypted in your browser’s local storage and never sent to any server except the respective API providers.
Generate Your First Clip
Now that OpenShorts is running, let’s create your first viral vertical video:Choose Your Source
You can either:
- Paste a YouTube URL (e.g., a podcast, interview, or tutorial)
- Upload a local video file (up to 2GB)
Click Generate Clips
Hit the “Generate Clips” button and watch the magic happen!The dashboard will show real-time progress:
- Video download/upload progress
- Transcription status
- AI analysis of viral moments
- Clip extraction and processing
- Vertical reframing with subject tracking
Processing time varies by video length. A 10-minute video typically takes 2-4 minutes to process and generate 3-15 clips.
Review Generated Clips
Once processing completes, you’ll see:
- All generated clips in the results feed
- AI-generated titles and descriptions for each clip
- Preview thumbnails
- Download options
- Cropped to 9:16 vertical format
- Stabilized with “Heavy Tripod” smoothing
- Optimized for TikTok, Instagram Reels, and YouTube Shorts
Download or Post
For each clip, you can:Download: Save the MP4 file to your devicePost to Social Media (if Upload-Post API key configured):
- Select your social profile
- Choose platforms: TikTok, Instagram, YouTube
- Customize title and description
- Post with a single click
- Add AI-generated subtitles
- Apply text hook overlays
- Dub to another language with voice cloning
Example Workflow
Here’s a complete example processing a YouTube video:- Paste YouTube URL:
https://www.youtube.com/watch?v=xlyjD1qCaX0 - Enter Gemini API key in settings
- Click “Generate Clips”
- Wait 2-4 minutes for processing
- Download or post your 3-15 viral clips
Optional Enhancements
Enable Social Media Posting
To post clips directly to social platforms:Sign Up for Upload-Post
- Visit app.upload-post.com/login
- Create a free account (no credit card required)
Connect Social Accounts
- Go to Manage Users
- Create a user profile
- Connect your TikTok, Instagram, or YouTube accounts
Get API Key
- Navigate to API Keys
- Generate your API key
- Paste it in OpenShorts dashboard settings
Enable AI Voice Dubbing
To translate clips to 30+ languages:- Sign up at elevenlabs.io
- Get your API key from the dashboard
- Enter it in OpenShorts settings
- Use the “Translate” button on any generated clip
Enable S3 Backup
To automatically backup clips to AWS S3, see the Installation Guide or AWS S3 Backup Guide.Next Steps
Installation Guide
Detailed environment setup and configuration options
API Reference
Integrate OpenShorts into your own applications
YouTube Studio
Learn about AI title and thumbnail generation
Troubleshooting
Common issues and solutions
Need Help?
Join the Community
Report issues, request features, or get help from the community