← All projects
n8nelevenlabsopenai

AI story-to-video generator

Send a topic on Telegram — get back a fully narrated video, researched, scripted, voiced, and rendered automatically.

Full workflow walkthrough available on request.Get in touch

Problem

Turning an idea into a narrated video normally means research, scriptwriting, voiceover recording, and video editing — separate tools, separate steps, hours of work for even a short clip.

Solution

Send a topic to a Telegram bot — for example, "the story of Saladin" — and an AI agent researches it (grounded with a Wikipedia lookup tool, so the story is based on real facts, not invented ones) and writes a narrative script. That script is sent in parallel to a free AI video-generation API and to ElevenLabs for voice narration. A custom-built backend service then merges the generated video with the generated narration into a single final file, which is delivered back automatically on Telegram.

Architecture

Actual production workflow, built in n8n

Telegram message (topic request)
   → AI Agent (OpenAI + MongoDB memory + Wikipedia tool)
        researches the topic, writes the narrative script
   → Code in JavaScript (formats the script)
   → in parallel:
        a) Free video-generation API — submit job → poll status → download video
        b) ElevenLabs — generate voice narration
   → Merge
   → Custom backend service — merges video + narration into one file
   → Final video delivered via Telegram

Results

Turns a single topic request into a fully narrated, ready-to-watch video — automatically, and at zero video-generation cost.

Tech stack

n8nTelegram Bot APIOpenAIMongoDBWikipedia APIElevenLabsCustom video-processing backend

Got a process eating hours every week?

Let's talk