Skip to main content

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 in agents/script-writer-agent.js:16-44:

Template Components

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 statement
  • solution_steps - Step-by-step solution
  • demonstration - Live demo or walkthrough
  • explanation - Detailed explanation
  • examples - Real-world examples
  • list_items - Numbered or bulleted list
  • comparison - Comparison with alternatives
  • recap - Summary of key points
  • cta - Call to action (required)
The overall voice and style of the content:
  • educational - Teaching and instructional
  • informative - Fact-based and neutral
  • engaging - Entertaining and dynamic
  • analytical - In-depth and thoughtful
  • narrative - Story-driven
  • conversational - Casual and friendly
Content delivery speed:
  • quick - Fast-paced, energetic
  • moderate - Balanced pace
  • steady - Consistent, measured
  • detailed - Slower, comprehensive
  • dynamic - 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 in agents/script-writer-agent.js:221-476:

Configuring Content Strategy

Adding Content Type to Strategy Agent

Update the content type selection in agents/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 in agents/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

Before deploying custom content types to production:
  • Generate at least 3-5 test videos
  • Review script quality and coherence
  • Check SEO optimization effectiveness
  • Validate thumbnail generation compatibility
  • Ensure proper database storage

Database Schema Extensions

Store custom content type metadata:

Next Steps

Customization

More customization options

Troubleshooting

Debug and resolve issues