Kahaani
AI Storytelling with Consistent Characters
Turning story ideas into comics with consistent characters. Built for a hackathon. Kept API costs low.
Demo
Context
Hackathon Project
Stack
CrewAI
Python/Flask
Flux (Local)
e2f5 TTS
AWS
Output
6-10 Frame Comics
Voice Narration
Consistent Chars
The Challenge
Turning story ideas into visual comics. The hard part: keeping characters consistent across frames. Online image generators were expensive and inconsistent.
Agent Pipeline
Used CrewAI to chain agents. Plot agent outlines 8 scenes. Character agent designs consistent looks. Dialogue agent writes the story. Visual agent generates frames.
Seed Locking
The key: local Flux with seed locking. Same seed = same character appearance. Avoided expensive online APIs. Characters stay consistent without burning credits.
Voice Narration
Added zero-shot voice cloning with e2f5. Users narrate their own comics. More cost savings. Hackathon mode taught me to prioritize results over fancy tools.