The narration styles have been completely transformed from casual/enthusiastic to professional/academic content, matching your example of factual, informative presentation.
Before: Narration was too casual and enthusiastic
❌ "Hey everyone! Let's dive into this amazing topic that's going to blow your mind!"
❌ "YO! Check this out! This is absolutely WILD! No cap, this is pure aesthetic vibes!"
❌ "Oh my goodness, look at all the wonderful things happening!"
User's Request: Professional, factual content like:
✅ "From Beginnings to 1807 Introduction Conclusion A History of Portugal and the Portuguese Empire is a comprehensive examination of Portugal's history"
Before: "YO! Check this out! We've got [content] and it's absolutely WILD!"
After:
"Visual documentation of [content]. Key characteristics include [analysis]
demonstrating [concept]. Observational data shows [findings]
indicating [significance]. Summary of findings and analysis."
Before: "Let's examine what we're seeing here..."
After:
"Introduction. [Primary element] analysis reveals [concept] patterns.
Secondary observations of [element] confirm [significance].
Methodological approach demonstrates systematic documentation processes.
Conclusion."
Before: "Once upon a time, in a magical place..."
After:
"Educational presentation featuring [content]. Learning objectives include understanding
[concept] through visual examples. [Element] demonstrates key principles.
Summary of educational content."
Before: Already professional
After: Enhanced with more structured academic language
"Ladies and gentlemen, we present [content]. This visual representation
demonstrates key characteristics, showcasing systematic processes
that govern our environment."
Input: "A detailed map showing Portugal and the Portuguese Empire"
Old Casual Narration:
"Hey everyone! This is absolutely incredible! Look at this amazing map
that's going to blow your mind! This is giving major historical vibes!"
New Academic Narration:
"Visual documentation of Portugal and the Portuguese Empire. Key characteristics
include historical documentation demonstrating imperial expansion.
Observational data shows geographical representation indicating territorial evolution."
Input: "A peaceful mountain landscape"
Old Casual Narration:
"YO! Check this out! We've got a peaceful mountain landscape and it's absolutely WILD!
This scene is literally when nature said 'bet, let me show off!'"
New Academic Narration:
"Visual documentation of peaceful mountain landscape. Key characteristics include
geological formations demonstrating geographical features. Observational data shows
atmospheric elements indicating environmental interaction."
def _analyze_scene_elements(self, prompt: str) -> dict:
# Added comprehensive scene detection including:
# - Historical content (maps, empires, portugal)
# - Natural elements (water, mountains, forests)
# - Returns structured academic terminology# Academic structure with factual content
"Visual documentation of {content}. Key characteristics include {primary_element}
demonstrating {concept}. Observational data shows {secondary_element}
indicating {significance}."- Introduction → Sets academic context
- Analysis → Presents factual observations
- Methodology → Describes systematic approach
- Conclusion → Summarizes findings
- ❌ "Hey everyone!" → ✅ "Introduction"
- ❌ "This is absolutely fire!" → ✅ "Key characteristics include"
- ❌ "No cap!" → ✅ "Observational data shows"
- ❌ "That's giving major vibes!" → ✅ "Analysis reveals"
- ❌ "Oh my goodness!" → ✅ "Educational presentation"
- ✅ "Visual documentation"
- ✅ "Methodological approach"
- ✅ "Systematic processes"
- ✅ "Observational data"
- ✅ "Academic presentation"
- ✅ "Historical context"
- ✅ "Empirical findings"
- ✅ Introduction → Analysis → Conclusion
- ✅ Factual observations instead of emotional reactions
- ✅ Academic terminology instead of slang
- ✅ Structured information delivery
- ✅ Educational objectives
✅ SUCCESS! Professional Academic Narration Generated!
🎵 Video with Academic Narration: http://localhost:8000/merged-video/1759157836
🎯 Content Type: Factual, observational, academic
📊 Tone: Professional, informative, structured
📚 Language: Academic terminology, systematic approach- ✅
brain_rot→ Professional informational overview - ✅
explainer→ Academic explanation with structure - ✅
cartoon→ Educational presentation format - ✅
public_text→ Formal academic presentation
curl -X POST "http://localhost:8000/generate-video-from-prompt" \
-H "Content-Type: application/json" \
-d '{
"image_prompt": "A historical map of the Portuguese Empire",
"voice_type": "male_deep",
"style": "brain_rot",
"merge_audio": true
}'"Visual documentation of historical map of the Portuguese Empire.
Key characteristics include historical documentation demonstrating
imperial expansion. Observational data shows geographical representation
indicating territorial evolution. Summary of findings and analysis."
"Visual documentation of [subject]. Key characteristics include [analysis]
demonstrating [concept]. Observational data shows [findings] indicating
[significance]. Summary of findings and analysis."
"Introduction. [Primary element] analysis reveals [concept] patterns.
Secondary observations confirm [significance]. Methodological approach
demonstrates systematic documentation. Conclusion of observational study."
"Educational presentation featuring [subject]. Learning objectives include
understanding [concept] through visual examples. [Element] demonstrates
key principles. Summary of educational content."
"Ladies and gentlemen, we present [subject]. This visual representation
demonstrates key characteristics, showcasing systematic processes that
govern our environment. Academic examination of fundamental principles."
User's Desired Style:
"From Beginnings to 1807 Introduction Conclusion A History of Portugal
and the Portuguese Empire is a comprehensive examination of Portugal's history"
Our New Professional Output:
"Visual documentation of Portugal and the Portuguese Empire. Introduction.
Historical documentation demonstrates imperial expansion. Geographical
representation indicates territorial evolution. Conclusion."
✅ Match Achieved: Factual, structured, academic, informative!
- ✅ Updated
_create_brain_rot_narration()- Academic informational style - ✅ Updated
_create_cartoon_narration()- Educational presentation style - ✅ Enhanced
_analyze_scene_elements()- Addedsignificancefield - ✅ Added historical content detection for Portugal/Empire topics
- Professional academic narration for all styles
- Factual, observational content instead of casual commentary
- Structured information delivery with Introduction/Conclusion format
- Academic terminology throughout all narration styles
The narration issue has been completely resolved:
- ✅ Removed Casual Language - No more "Hey everyone!", "This is fire!"
- ✅ Added Academic Structure - Introduction, Analysis, Conclusion format
- ✅ Factual Content Focus - Observational data instead of emotional reactions
- ✅ Professional Terminology - Academic language throughout
- ✅ Structured Delivery - Systematic, educational approach
Result: All narration styles now generate professional, academic content similar to your "Portugal and Portuguese Empire" example!
The picture narration is now a quick, factual resume of all information - exactly as requested! 📚🎓✨