Transform a single prompt into a fully narrated short-form video using specialized AI agents, interchangeable AI providers, and an extensible workflow.
Built with
LangGraph β’ Streamlit β’ Python β’ Gemini β’ OpenAI β’ Stable Diffusion XL β’ ElevenLabs β’ Edge-TTS
Script2Reel is an AI-powered content generation framework that automatically converts a single text prompt into a narrated short-form video suitable for Instagram Reels, YouTube Shorts, or TikTok.
Unlike traditional text-to-video systems that rely on one large prompt, Script2Reel decomposes the problem into multiple specialized AI agents.
Each agent has a single responsibility:
- understand the prompt
- write the screenplay
- plan scenes
- review consistency
- generate visual prompts
- generate images
- generate narration
- assemble the final video
This modular workflow makes the system easier to improve, debug and extend.
- Intent Classification
- Creative Director
- Educational Writer
- Screenwriter
- Scene Planner
- Consistency Reviewer
- Subject Extractor
- Visual Director
- Image Generation
- Voice Generation
- Video Assembly
Supports interchangeable AI providers.
Current implementations:
| Category | Providers |
|---|---|
| LLM | Gemini, OpenAI |
| Image | Local SDXL, OpenAI, Mock |
| Voice | ElevenLabs, Edge-TTS |
| Video | Local, Mock |
The workflow is completely independent of the underlying provider.
- Provider Registry
- Automatic Provider Discovery
- Automatic Provider Selection
- Automatic Fallback
- Provider Capability Metadata
- Startup Health Checks
- Runtime Telemetry
- Benchmark Recommendations
User Prompt
β
βΌ
Intent Classification
β
βΌ
Creative / Educational Route
β
βΌ
Screenwriter
β
βΌ
Scene Planner
β
βΌ
Consistency Review
β
βΌ
Subject Extraction
β
βΌ
Visual Director
β
βΌ
Image Generation
β
βΌ
Voice Generation
β
βΌ
Video Assembly
β
βΌ
Final MP4
LangGraph Workflow
β
βΌ
AI Agent Pipeline
β
βΌ
Provider Abstraction
ββββββββββ¬βββββββββ¬βββββββββ¬βββββββββ
β LLM β Image β Voice β Video β
ββββββββββ΄βββββββββ΄βββββββββ΄βββββββββ
β
βΌ
Local or Cloud AI Providers
Instead of tightly coupling the workflow to one model provider, Script2Reel separates:
- workflow orchestration
- AI providers
- rendering
- configuration
This allows providers to be swapped without modifying the workflow itself.
The application starts with a simple interface where users can create AI-generated reels from a single prompt.
Users can configure the prompt, duration, style, platform, voice, and generation mode.
During generation, every AI agent executes independently.
The progress tracker exposes each stage of the pipeline.
The generated reel can be previewed, downloaded, and inspected.
git clone https://github.com/AkibDa/Script2Reel.git
cd Script2Reelpython -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtGOOGLE_API_KEY=
OPENAI_API_KEY=
ELEVENLABS_API_KEY=
FLUX_API_KEY=
OLLAMA_HOST=Only configure the providers you intend to use.
uvicorn backend.main:app --host 127.0.0.1 --port 8000- π ARCHITECTURE.md
- π€ CONTRIBUTING.md
- Image-to-video generation
- Temporal scene animation
- Kokoro TTS
- FLUX support
- Wan2.1 support
- Veo support
- Additional provider implementations
- Scene editing interface
MIT License



