Overview
The system comes with built-in content types (Tutorial, Explainer, List, Review, Story), but you can easily add your own custom formats.Understanding Content Type Templates
Template Structure
Content type templates are defined inagents/script-writer-agent.js:16-44:
Template Components
Structure
Structure
Defines the sections in order. Each section is generated separately and assembled into the final script.Common sections:
hook- Opening attention grabber (required)introduction- Video introduction (required)problem- Problem statementsolution_steps- Step-by-step solutiondemonstration- Live demo or walkthroughexplanation- Detailed explanationexamples- Real-world exampleslist_items- Numbered or bulleted listcomparison- Comparison with alternativesrecap- Summary of key pointscta- Call to action (required)
Tone
Tone
The overall voice and style of the content:
educational- Teaching and instructionalinformative- Fact-based and neutralengaging- Entertaining and dynamicanalytical- In-depth and thoughtfulnarrative- Story-drivenconversational- Casual and friendly
Pacing
Pacing
Content delivery speed:
quick- Fast-paced, energeticmoderate- Balanced pacesteady- Consistent, measureddetailed- Slower, comprehensivedynamic- Varied pace throughout
Creating Custom Content Types
Example: Product Showcase Template
Let’s create a “Product Showcase” content type for reviewing products:agents/script-writer-agent.js
Implementing Section Generators
Add generators for custom sections inagents/script-writer-agent.js:221-476:
Configuring Content Strategy
Adding Content Type to Strategy Agent
Update the content type selection inagents/content-strategy-agent.js:312-331:
Configuring Available Content Types
Update your credentials configuration to enable custom types:config/credentials.json
Advanced Template Customization
Dynamic Section Generation
Create templates that adapt based on topic:Template Variants
Create variants for different video lengths:SEO Optimization for Custom Types
Custom Title Patterns
Add title patterns for your content types inagents/script-writer-agent.js:92-113:
Custom content types should align with your channel’s niche and audience expectations. Test new formats gradually before automating them.
Testing Custom Content Types
Manual Generation
Test your custom content type:test-custom-type.js
Validation
Database Schema Extensions
Store custom content type metadata:Next Steps
Customization
More customization options
Troubleshooting
Debug and resolve issues