What You’ll Learn
AI Script Generation
Generate video scripts from simple prompts
Video Type Optimization
Create content optimized for different video types
Platform Targeting
Tailor scripts for specific social platforms
Tone Control
Adjust the voice and style of generated content
Before You Begin
Make sure you have:- A Pictory API key (get one here)
- Node.js or Python installed on your machine
- A clear idea of your video topic
- Understanding of your target audience and platform
How Story CoPilot Works
When you use Story CoPilot to generate a video:- Prompt Submission - You provide a topic or description for your video
- AI Processing - The CoPilot AI analyzes your prompt along with video type, platform, and tone settings
- Script Generation - AI generates an optimized script tailored to your specifications
- Scene Creation - The generated script is split into scenes based on your settings
- Visual Selection - AI selects appropriate stock visuals for each scene
- Video Rendering - Final video is assembled with voiceover, visuals, and captions
Story CoPilot generates content based on your prompt and settings. The AI considers video type, target platform, and tone to create contextually appropriate scripts that engage your intended audience.
Complete Example
Understanding the Parameters
Story CoPilot Configuration
| Parameter | Type | Required | Description |
|---|---|---|---|
storyCoPilot.prompt | string | Yes | The topic or description for AI to generate content (1-5000 characters) |
storyCoPilot.videoType | string | No | Type of video to create (default: “Explainer”) |
storyCoPilot.duration | number | No | Target video duration in seconds (1-600) |
storyCoPilot.platform | string | No | Target social media platform for optimization |
storyCoPilot.tone | string | No | Tone and style of the generated content |
Video Types
| Value | Description | Best Used For |
|---|---|---|
Explainer | Educational content that explains concepts clearly | How-to videos, concept explanations, educational content |
Marketing | Promotional content designed to engage and convert | Product promotions, brand awareness, advertising |
Internal Communication | Professional content for internal teams | Company updates, training videos, team announcements |
Tutorial | Step-by-step instructional content | Software tutorials, DIY guides, learning materials |
Product | Product-focused content highlighting features | Product demos, feature showcases, launch videos |
Target Platforms
| Value | Optimization | Typical Duration |
|---|---|---|
YouTube | Longer-form, detailed content | 2-10 minutes |
TikTok | Short, punchy, trend-aware content | 15-60 seconds |
Instagram | Visual-first, engaging content | 30-90 seconds |
Facebook | Shareable, social-friendly content | 1-3 minutes |
LinkedIn | Professional, business-focused content | 1-3 minutes |
Twitter | Concise, attention-grabbing content | 15-45 seconds |
Content Tones
| Value | Style | Best Used For |
|---|---|---|
professional | Formal, business-appropriate | Corporate content, B2B videos |
casual | Relaxed, everyday language | Social media, lifestyle content |
friendly | Warm, approachable | Customer-facing content, tutorials |
informative | Clear, fact-focused | Educational content, explainers |
persuasive | Compelling, action-oriented | Marketing, sales videos |
exciting | Energetic, enthusiastic | Product launches, announcements |
educational | Teaching-focused, structured | Training, learning materials |
humorous | Light-hearted, entertaining | Social media, brand personality |
serious | Grave, important | Announcements, compliance content |
conversational | Natural, dialogue-like | Vlogs, personal content |
Common Use Cases
YouTube Explainer Video
TikTok Marketing Content
LinkedIn Professional Update
Instagram Product Showcase
Tutorial Video
Combining with Other Features
With Custom Voice Settings
With Background Music
With Brand Settings
With Subtitle Styling
Writing Effective Prompts
Be Specific and Detailed
Be Specific and Detailed
More detail in your prompt leads to better results:Less Effective:More Effective:
Include Key Points
Include Key Points
Mention specific points you want covered:Example:
Specify Your Audience
Specify Your Audience
Help the AI understand who you’re speaking to:Example:
Include Call-to-Action Intent
Include Call-to-Action Intent
If you want viewers to take action, mention it:Example:
Set the Context
Set the Context
Provide background information when helpful:Example:
Best Practices
Match Video Type to Content
Match Video Type to Content
Choose the video type that best fits your goal:
- Explainer: When educating or informing
- Marketing: When promoting or selling
- Tutorial: When teaching step-by-step processes
- Product: When showcasing features and benefits
- Internal Communication: For company/team content
Optimize for Platform
Optimize for Platform
Set the platform to get content optimized for that audience:
- TikTok: Shorter, trend-aware, attention-grabbing
- YouTube: More detailed, structured, SEO-friendly
- LinkedIn: Professional, business-focused language
- Instagram: Visual-first, engaging hooks
Use Appropriate Tone
Use Appropriate Tone
Match tone to your brand and audience:
- B2B Content: Professional, informative
- Consumer Marketing: Friendly, exciting, persuasive
- Educational: Informative, educational
- Social Media: Casual, conversational, humorous
Set Realistic Durations
Set Realistic Durations
Guide the AI with appropriate target lengths:
- Short social content: 15-60 seconds
- Standard videos: 60-180 seconds
- Detailed content: 180-600 seconds
- The AI will adjust content density accordingly
Review and Iterate
Review and Iterate
Story CoPilot is a starting point:
- Review the generated content
- Create variations with different prompts
- Adjust tone or platform settings for different results
- Use the best output as your final video
Troubleshooting
Generated content is too generic
Generated content is too generic
Problem: The AI-generated script lacks specificity.Solution:
- Make your prompt more detailed and specific
- Include key points you want covered
- Mention your target audience
- Add context or background information
- Specify industry or domain terminology
Content doesn't match expected tone
Content doesn't match expected tone
Problem: The generated script doesn’t feel right for your brand.Solution:
- Try a different tone setting
- Adjust the videoType to better match your needs
- Include tone guidance in your prompt
- Combine tones (e.g., “professional yet friendly”)
- Test multiple tone options to find the best fit
Video is too long or too short
Video is too long or too short
Problem: Generated content doesn’t match target duration.Solution:
- Adjust the
durationparameter - Note that duration is a target, not exact
- Longer prompts may generate longer content
- Shorter prompts may generate shorter content
- Platform setting also influences content length
Error: Cannot use storyCoPilot with story
Error: Cannot use storyCoPilot with story
Problem: API returns error about conflicting parameters.Solution:
- Remove the
storyparameter when usingstoryCoPilot - Only one content source allowed per scene
- Choose either: storyCoPilot, story, blogUrl, pptUrl, audioUrl, or videoUrl
- Each scene can only have one content source
Content seems off-topic
Content seems off-topic
Problem: Generated script doesn’t address your intended topic.Solution:
- Rephrase your prompt more clearly
- Start with the main topic explicitly stated
- Remove ambiguous wording
- Be direct about what you want covered
- Check for typos or unclear references
Next Steps
Enhance your AI-generated videos with these features:AI Voice-Over
Add professional narration to your videos
Background Music
Add music to complement your content
Brand Settings
Apply consistent branding across videos
Smart Layouts
Use pre-designed layouts for professional presentation
API Reference
For complete technical details, see:- Render Storyboard Video - Full API specification
- Get Job Status - Monitor job status and progress
- Get Voiceover Tracks - List available AI voices
