Historical Story Video Generator by Hamna HameedHistorical Story Video Generator by Hamna Hameed

Historical Story Video Generator

Hamna Hameed

Hamna Hameed

Historical Story Video Generator

Bring historical figures to life through calming AI-generated storytelling videos with narration and subtitles.

Core capabilities:

This project builds an AI-powered storytelling pipeline that:
Searches for biographical information on historical figures.
Generates a calming and informative story.
Converts the story into natural speech audio.
Creates images based on story sections.
Combines audio and images into a synchronized video.
Generates subtitles and overlays them on the final video.

How It Works

The pipeline is orchestrated using CrewAI and consists of multi-agent collaboration with these agents:

Agents & Roles

Researcher Agent: Searches biographical content using SerperDev (Google-like search).
Writer Agent: Crafts a short, warm, equal-length-sentence story (in a selected language).
Voice Generator Agent: Uses Deepgram API (via custom tool) to generate narration.
Video Generator Agent: Uses moviepy to:
Generate synchronized video from AI-generated images and audio
Overlay subtitle tracks

Key Technologies

Search: SerperDevTool
Language Model: Gemini 1.5 via LiteLLM wrapper
Text-to-Speech: Deepgram API (custom tool)
Image Generation: Gemini-based LLM prompt-to-image
Video Editing: MoviePy
Crew Orchestration: CrewAI
Like this project

Posted Jun 2, 2026

AI-powered multi-agent system that transforms historical figures into narrated storytelling videos with audio, and subtitles.