Loading...
Loading...
Loading...

# π User Guide
<div align="center">



**Step-by-step guide to using the n8n YouTube Video Generator System**
</div>
---
## π Table of Contents
- [π― Getting Started](#-getting-started)
- [ποΈ Voice Cloning](#οΈ-voice-cloning)
- [π¬ Video Processing](#-video-processing)
- [π
Content Scheduling](#-content-scheduling)
- [π Analytics & Insights](#-analytics--insights)
- [π Web Dashboard](#-web-dashboard)
- [π€ n8n Workflows](#-n8n-workflows)
- [π§ Advanced Features](#-advanced-features)
- [π‘ Best Practices](#-best-practices)
- [π Troubleshooting](#-troubleshooting)
---
## π― Getting Started
### π Your First Video
Welcome to the n8n YouTube Video Generator System! This guide will walk you through creating your first automated YouTube video from start to finish.
#### Step 1: System Overview
The system consists of four main components:
1. **ποΈ Voice Cloning** - Create custom AI voices
2. **π¬ Video Processing** - Apply professional editing
3. **π
Content Calendar** - Schedule and manage content
4. **π€ n8n Automation** - Connect everything together
#### Step 2: Access the System
1. **Web Dashboard**: `http://localhost:8000`
2. **n8n Interface**: `http://localhost:5678`
3. **API Documentation**: `http://localhost:8000/docs`
### π Quick Start Workflow
```bash
# 1. Start the system
python main.py
# 2. Open the web dashboard
# Navigate to http://localhost:8000
# 3. Create your first voice profile
# Go to Voice β Profiles β Create New
# 4. Upload and process a video
# Go to Video β Upload β Process
# 5. Schedule your content
# Go to Calendar β Schedule New Video
```
---
## ποΈ Voice Cloning
### π£οΈ Understanding Voice Profiles
Voice profiles define the characteristics of AI-generated voices. Each profile includes:
- **Language** - Supported language for synthesis
- **Gender** - Male, female, or neutral voice
- **Tone** - Professional, casual, energetic, etc.
- **Pace** - Speaking speed (slow, medium, fast)
- **Emotion** - Emotional coloring (happy, sad, excited)
### π Creating Your First Voice Profile
#### Method 1: Web Dashboard
1. **Navigate to Voice β Profiles**
2. **Click "Create New Profile"**
3. **Fill in the details:**
```
Profile ID: my_brand_voice
Name: Brand Narrator
Language: English
Gender: Neutral
Tone: Professional
Pace: Medium
```
4. **Upload a voice sample** (optional, improves quality)
5. **Test the voice** with sample text
6. **Save the profile**
#### Method 2: API
```bash
curl -X POST "http://localhost:8000/api/voice/profiles" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"profile_id": "my_brand_voice",
"name": "Brand Narrator",
"language": "en",
"gender": "neutral",
"voice_characteristics": {
"pace": "medium",
"tone": "professional",
"clarity": "high"
}
}'
```
### π΅ Generating Voice Audio
#### Single Text Generation
**Web Dashboard:**
1. Go to **Voice β Generate**
2. Select your voice profile
3. Enter your script
4. Choose emotion and settings
5. Click **Generate Voice**
**API Example:**
```bash
curl -X POST "http://localhost:8000/api/voice/clone" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"text": "Welcome to our amazing YouTube channel!",
"profile_id": "my_brand_voice",
"emotion": "enthusiastic",
"output_format": "mp3"
}'
```
#### Batch Voice Generation
Generate multiple voiceovers at once:
```bash
curl -X POST "http://localhost:8000/api/voice/batch" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"tasks": [
{
"text": "Introduction to our topic",
"profile_id": "my_brand_voice",
"output_name": "intro.mp3"
},
{
"text": "Main content explanation",
"profile_id": "my_brand_voice",
"output_name": "main.mp3"
}
]
}'
```
### ποΈ Advanced Voice Settings
#### Emotion Control
Enhance your voice with emotional context:
| Emotion | Best For | Settings |
|---------|----------|----------|
| **Professional** | Business content | Neutral tone, medium pace |
| **Energetic** | Entertainment content | Higher pitch, faster pace |
| **Calm** | Meditation/education | Lower pitch, slower pace |
| **Excited** | Product launches | Dynamic range, enthusiastic |
#### Voice Customization
```json
{
"voice_settings": {
"stability": 0.75, // Voice consistency (0-1)
"similarity_boost": 0.85, // Voice clarity (0-1)
"style": 0.5, // Expressiveness (0-1)
"use_speaker_boost": true // Quality enhancement
},
"audio_settings": {
"sample_rate": 44100, // Audio quality
"bit_depth": 16, // Audio depth
"format": "mp3" // Output format
}
}
```
---
## π¬ Video Processing
### πΉ Understanding Video Templates
Video templates define the style and effects applied to your videos:
#### Template Categories
1. **Educational** - Clean, professional tutorials
2. **Entertainment** - Dynamic, engaging content
3. **Corporate** - Polished, brand-focused
4. **Vlogging** - Personal, conversational style
#### Built-in Templates
| Template | Use Case | Features |
|----------|----------|----------|
| **Professional Tutorial** | Educational content | Lower thirds, zoom effects |
| **Cinematic Intro** | High-impact openings | Film grain, color grading |
| **Corporate Presentation** | Business content | Clean transitions, logos |
| **YouTube Short** | Short-form content | Quick cuts, effects |
### π₯ Processing Your First Video
#### Step 1: Upload Your Video
**Web Dashboard:**
1. Navigate to **Video β Upload**
2. Drag and drop your video file
3. Wait for upload completion
4. Review video information
**Supported Formats:**
- MP4 (recommended)
- AVI, MOV, MKV
- Maximum file size: 500MB
- Maximum duration: 30 minutes
#### Step 2: Choose Processing Options
**Basic Processing:**
1. Select a template
2. Choose output quality
3. Click **Start Processing**
**Advanced Processing:**
1. **Visual Effects:**
- Color grading
- Blur and sharpen
- Particle effects
- Text overlays
2. **Motion Graphics:**
- Logo intros
- Lower thirds
- Transition effects
- Data visualization
3. **Audio Enhancement:**
- Noise reduction
- Volume normalization
- Background music
- Voice amplification
#### Step 3: Monitor Processing
Watch real-time progress:
```
Status: Processing (65%)
Current Stage: Applying color grading
Estimated Time Remaining: 2 minutes
```
### π¨ Creating Custom Templates
#### Step 1: Design Your Template
```json
{
"template_id": "my_custom_template",
"name": "My Custom Style",
"description": "Personal video template",
"video_settings": {
"resolution": "1920x1080",
"frame_rate": 30,
"quality": "high"
},
"effects_pipeline": [
{
"type": "color_grading",
"parameters": {
"brightness": 1.1,
"contrast": 1.05,
"saturation": 1.2,
"temperature": 0.0
}
},
{
"type": "audio_enhancement",
"parameters": {
"noise_reduction": true,
"volume_normalization": true,
"equalizer_preset": "voice"
}
}
]
}
```
#### Step 2: Apply Template
```bash
curl -X POST "http://localhost:8000/api/video/process" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"input_path": "/uploads/my_video.mp4",
"template_id": "my_custom_template",
"output_path": "/output/processed_video.mp4"
}'
```
### π Batch Video Processing
Process multiple videos simultaneously:
```bash
curl -X POST "http://localhost:8000/api/video/batch" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"videos": [
{
"input_path": "/input/video1.mp4",
"template_id": "professional_tutorial",
"output_name": "episode1_final.mp4"
},
{
"input_path": "/input/video2.mp4",
"template_id": "professional_tutorial",
"output_name": "episode2_final.mp4"
}
],
"parallel_processing": true,
"max_concurrent": 3
}'
```
---
## π
Content Scheduling
### π
Understanding Content Strategies
Content strategies define how and when you publish your videos:
#### Strategy Components
1. **Posting Frequency** - How often to post
2. **Optimal Times** - Best times for your audience
3. **Content Pillars** - Main content categories
4. **SEO Strategy** - Keywords and tags
### π― Creating Your Content Strategy
#### Step 1: Define Your Strategy
**Web Dashboard:**
1. Go to **Calendar β Strategies**
2. Click **Create New Strategy**
3. Fill in strategy details:
```
Strategy Name: Tech Education Channel
Videos per Week: 3
Shorts per Week: 5
Content Pillars: Tutorials, Reviews, News
Optimal Times: Tuesday 6PM, Thursday 7PM
```
**API Example:**
```bash
curl -X POST "http://localhost:8000/api/calendar/strategies" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"strategy_id": "tech_education",
"name": "Tech Education Channel",
"posting_frequency": {
"videos_per_week": 3,
"shorts_per_week": 5
},
"content_pillars": ["tutorials", "reviews", "industry_news"],
"optimal_posting_times": [
{"day": "tuesday", "time": "18:00"},
{"day": "thursday", "time": "19:00"}
]
}'
```
### π Scheduling Your Content
#### Step 1: Schedule a Video
**Web Dashboard:**
1. Go to **Calendar β Schedule New**
2. Select your video
3. Choose publishing date and time
4. Add title, description, and tags
5. Select content strategy
6. Set reminders
7. Click **Schedule**
**API Example:**
```bash
curl -X POST "http://localhost:8000/api/calendar/schedule" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"video_id": "video_12345",
"title": "Advanced Python Tutorial: Decorators Explained",
"description": "Learn how to use Python decorators effectively",
"scheduled_time": "2024-01-15T18:00:00Z",
"strategy_id": "tech_education",
"tags": ["python", "tutorial", "programming", "decorators"],
"privacy": "public",
"notify_subscribers": true
}'
```
#### Step 2: Google Calendar Integration
**Setup:**
1. Go to **Settings β Integrations**
2. Connect Google Account
3. Select calendar to sync
4. Configure sync options
**Sync Benefits:**
- Automatic event creation
- Mobile reminders
- Team collaboration
- Conflict detection
### π Content Planning Tools
#### Content Calendar View
Visualize your content schedule:
```
January 2024
βββββββββββ¬ββββββββββ¬ββββββββββ¬ββββββββββ
β Mon β Tue β Wed β Thu β
βββββββββββΌββββββββββΌββββββββββΌββββββββββ€
β β Tutorialβ β Review β
β β 6:00 PM β β 7:00 PM β
βββββββββββ΄ββββββββββ΄ββββββββββ΄ββββββββββ
```
#### Content Gap Analysis
Identify opportunities in your content schedule:
1. **Audience Analytics** - When are viewers most active?
2. **Competitor Analysis** - What are others doing?
3. **Trending Topics** - What's popular in your niche?
4. **Seasonal Content** - Holidays and events
---
## π Analytics & Insights
### π Understanding Your Analytics
The system provides comprehensive analytics to help you grow your channel:
#### Key Metrics
1. **Engagement Metrics**
- Views, likes, comments, shares
- Watch time and retention
- Click-through rate
2. **Audience Insights**
- Demographics (age, gender, location)
- Viewer behavior and preferences
- Subscription growth
3. **Content Performance**
- Top-performing videos
- Content category analysis
- SEO effectiveness
### π― Video Performance Analysis
#### Step 1: View Video Analytics
**Web Dashboard:**
1. Go to **Analytics β Videos**
2. Select a video
3. Review performance metrics
**Key Insights to Look For:**
- **Audience Retention** - Where do viewers drop off?
- **Engagement Rate** - How many viewers interact?
- **Traffic Sources** - How do viewers find your content?
- **Viewer Demographics** - Who is watching?
#### Step 2: Compare Videos
Identify patterns and trends:
- What topics perform best?
- Which titles get more clicks?
- How does video length affect retention?
- What thumbnails drive views?
### π Channel Growth Tracking
#### Growth Dashboard
Monitor your channel's progress:
```
Total Subscribers: 15,234 (+523 this month)
Total Views: 1,234,567
Average Watch Time: 4:23
Engagement Rate: 6.8%
```
#### Trend Analysis
Track performance over time:
- Weekly subscriber growth
- Monthly view trends
- Seasonal patterns
- Content effectiveness
### π― Content Recommendations
Get AI-powered suggestions for your next content:
#### Topic Recommendations
Based on your channel performance and market trends:
```
Recommended Topics:
1. "Machine Learning Basics" - Potential: 25K views
2. "Python vs JavaScript" - Potential: 18K views
3. "Web Development Trends 2024" - Potential: 32K views
```
#### Optimization Suggestions
Improve your existing content:
- **Title Optimization** - Better keywords and formatting
- **Description Enhancement** - More detailed information
- **Tag Improvements** - Better SEO targeting
- **Thumbnail A/B Testing** - Higher click-through rates
---
## π Web Dashboard
### π Dashboard Overview
The web dashboard provides a user-friendly interface for managing your video production workflow.
#### Main Sections
1. **Dashboard** - Overview and quick actions
2. **Voice** - Voice profile management and generation
3. **Video** - Video processing and editing
4. **Calendar** - Content scheduling and management
5. **Analytics** - Performance tracking and insights
6. **Settings** - System configuration and integrations
### π Quick Actions
The dashboard offers quick access to common tasks:
#### Generate Voice
- Text input field
- Voice profile selector
- Emotion controls
- Real-time preview
#### Process Video
- File upload
- Template selection
- Effect configuration
- Progress tracking
#### Schedule Content
- Calendar view
- Video selection
- Publishing options
- Reminder settings
### π Real-time Monitoring
#### System Status
Monitor system health and performance:
```
System Status: Operational
Active Tasks: 3
Queue Size: 12
Storage Used: 45%
CPU Usage: 32%
```
#### Task Progress
Track active processing tasks:
```
Video Processing: 65% complete
Voice Generation: 100% complete
Calendar Sync: In progress
```
---
## π€ n8n Workflows
### π Understanding n8n Integration
n8n provides workflow automation to connect all system components:
#### Workflow Types
1. **Voice Generation Workflows** - Automate voice creation
2. **Video Processing Workflows** - Streamline editing pipeline
3. **Content Scheduling Workflows** - Automate publishing
4. **Analytics Collection Workflows** - Gather performance data
### π― Creating Your First Workflow
#### Step 1: Access n8n
1. Navigate to `http://localhost:5678`
2. Login with your credentials
3. Explore available workflows
#### Step 2: Voice Generation Workflow
Create an automated voice generation pipeline:
```
Trigger (Manual) β Get Script Text β Select Voice Profile β Generate Voice β Save Audio β Send Notification
```
#### Step 3: Video Processing Workflow
Automate your video editing pipeline:
```
Trigger (New Video) β Upload Video β Apply Template β Generate Thumbnail β Process Audio β Combine Video + Audio β Schedule Publishing
```
### βοΈ Advanced Workflow Configurations
#### Multi-step Video Production
Create complex workflows for complete video production:
1. **Script Generation** (AI-powered)
2. **Voice Creation** (Custom profiles)
3. **Visual Asset Collection** (Stock footage, images)
4. **Video Assembly** (Automated editing)
5. **SEO Optimization** (Metadata, tags)
6. **Publishing** (Multiple platforms)
#### Error Handling and Recovery
Implement robust error handling:
- Retry mechanisms for failed tasks
- Notification systems for errors
- Fallback options for unavailable services
- Logging and monitoring
---
## π§ Advanced Features
### π― AI-Powered Features
#### Script Generation
Use AI to generate video scripts:
1. **Topic Input** - Enter your video topic
2. **Style Selection** - Choose writing style
3. **Length Setting** - Target video duration
4. **SEO Optimization** - Include keywords
5. **Generate Script** - AI creates content
#### Thumbnail Generation
Create professional thumbnails automatically:
1. **Title Analysis** - Extract key concepts
2. **Image Selection** - Find relevant visuals
3. **Text Overlay** - Add compelling text
4. **Brand Consistency** - Apply your style
5. **A/B Testing** - Generate multiple options
### π Performance Optimization
#### GPU Acceleration
Enable GPU processing for faster video rendering:
```bash
# Check GPU availability
nvidia-smi
# Enable in configuration
GPU_ACCELERATION=true
CUDA_DEVICE=0
```
#### Batch Processing
Process multiple videos simultaneously:
```bash
# Configure batch settings
MAX_CONCURRENT_VIDEOS=5
BATCH_SIZE=10
WORKER_PROCESSES=4
```
### π Security Features
#### API Key Management
Secure your API access:
1. **Generate API Keys** - Create unique keys
2. **Set Permissions** - Control access levels
3. **Rate Limiting** - Prevent abuse
4. **Audit Logging** - Track usage
#### Content Protection
Protect your intellectual property:
- **Watermarking** - Automatic brand protection
- **Access Control** - User permissions
- **Backup Systems** - Data redundancy
- **Encryption** - Secure storage
---
## π‘ Best Practices
### π¬ Video Production Tips
#### Content Planning
1. **Know Your Audience** - Create content they value
2. **Consistent Branding** - Maintain visual identity
3. **Quality Over Quantity** - Focus on value, not volume
4. **SEO Optimization** - Use keywords effectively
#### Technical Quality
1. **Audio Quality** - Clear, professional sound
2. **Video Resolution** - Minimum 1080p
3. **Lighting** - Well-lit, professional appearance
4. **Editing** - Clean, professional cuts
### ποΈ Voice Cloning Best Practices
#### Voice Profile Creation
1. **Quality Samples** - Use clear audio recordings
2. **Consistent Style** - Maintain voice characteristics
3. **Appropriate Settings** - Match content type
4. **Regular Updates** - Refresh profiles regularly
#### Script Writing
1. **Natural Language** - Write conversationally
2. **Clear Pronunciation** - Avoid complex terms
3. **Proper Pacing** - Include natural pauses
4. **Emotional Range** - Use appropriate emotion
### π
Content Scheduling Strategies
#### Timing Optimization
1. **Peak Hours** - Post when audience is active
2. **Consistency** - Maintain regular schedule
3. **Seasonal Content** - Plan for holidays and events
4. **Platform Algorithms** - Understand platform preferences
#### Content Variety
1. **Mixed Formats** - Videos, shorts, livestreams
2. **Content Pillars** - Balanced topic coverage
3. **Audience Feedback** - Respond to viewer requests
4. **Trending Topics** - Capitalize on current events
### π Analytics Optimization
#### Performance Tracking
1. **Key Metrics** - Focus on important KPIs
2. **Trend Analysis** - Monitor changes over time
3. **Competitive Analysis** - Learn from others
4. **A/B Testing** - Experiment with improvements
#### Content Improvement
1. **Audience Retention** - Identify drop-off points
2. **Engagement Rates** - Boost interaction
3. **SEO Performance** - Improve discoverability
4. **Community Building** - Foster viewer loyalty
---
## π Troubleshooting
### π§ Common Issues
#### Voice Generation Problems
**Problem**: Voice sounds robotic
```
Solution:
1. Check voice profile settings
2. Improve audio quality of samples
3. Adjust emotion and tone settings
4. Try different voice profiles
```
**Problem**: Slow voice generation
```
Solution:
1. Check internet connection
2. Verify API key permissions
3. Reduce text length
4. Enable GPU acceleration
```
#### Video Processing Issues
**Problem**: Video quality is poor
```
Solution:
1. Check input video quality
2. Verify template settings
3. Adjust quality presets
4. Enable GPU processing
```
**Problem**: Processing takes too long
```
Solution:
1. Reduce video resolution
2. Simplify effects pipeline
3. Increase worker processes
4. Use batch processing
```
#### Scheduling Problems
**Problem**: Google Calendar sync fails
```
Solution:
1. Verify Google credentials
2. Check calendar permissions
3. Reconnect Google account
4. Refresh sync settings
```
**Problem**: Videos don't publish on time
```
Solution:
1. Check system time settings
2. Verify scheduled time format
3. Review error logs
4. Manually reschedule
```
### π Getting Help
#### Self-Service Resources
1. **Documentation** - Complete guides and references
2. **FAQ Section** - Common questions and answers
3. **Troubleshooting Guide** - Step-by-step solutions
4. **Community Forums** - Get help from other users
#### Professional Support
1. **GitHub Issues** - Report bugs and request features
2. **Discord Community** - Real-time chat support
3. **Email Support** - Direct assistance for critical issues
4. **Premium Support** - Priority assistance and custom development
#### System Diagnostics
Run system checks to identify issues:
```bash
# Full system diagnostic
python scripts/diagnostics.py
# Check specific components
python scripts/test-voice-cloning.py
python scripts/test-video-processing.py
python scripts/test-calendar-integration.py
```
---
## π Conclusion
You're now equipped with the knowledge to create amazing YouTube content using the n8n YouTube Video Generator System!
### π Next Steps
1. **Experiment** - Try different features and settings
2. **Optimize** - Use analytics to improve your content
3. **Automate** - Set up workflows for efficiency
4. **Scale** - Expand your content production
### π Continue Learning
- **[API Documentation](API_DOCUMENTATION.md)** - Advanced API usage
- **[Installation Guide](INSTALLATION.md)** - System setup and maintenance
- **[Development Guide](DEVELOPMENT.md)** - Contributing to the project
### π Success Stories
Join our community of successful content creators who are using the system to:
- Produce 10x more content
- Improve video quality by 200%
- Grow their channels 5x faster
- Save 20+ hours per week
---
*User Guide Version: 4.0.0 | Last Updated: November 2024*μ΄λ ν λ¬Έμλ μ€ν¬λ¦½νΈκ° λ€λ₯Έ **νλ‘ν μ½ / ν¬νΈ / νΈμ€νΈ** μ μλ 리μμ€ μ¬μ©νλ κ²μ μ ννλ μ μ± . μλ₯Ό λ€μ΄, λ€μκ³Ό κ°μ μ¬μ΄νΈμμ 리μμ€λ₯Ό λ€λ₯Έ κ³³μΌλ‘ μμ²νλ€κ³ νμ.
* **Production MDB**: updated monthly.
This document outlines the mandatory procedures for developing and verifying VCR elements (shaders, manifests, and assets) to ensure high-fidelity, centered, and non-clipping renders.
http://localhost:8000