Generate AI Videos from Scripts with DeepSeek, TTS, and Together.ai
š§ Automated Video Generator (n8n Workflow)
š Features End-to-End Video Creation from user idea or transcript
AI-Powered Scriptwriting using LLMs (e.g., DeepSeek via OpenRouter)
Voiceover Generation with customizable TTS voices
Image Scene Generation using generative models like together.ai
Clip Creation & Concatenation into a full video
Dynamic Caption Generation with styling options
Google Drive & Sheets Integration for asset storage and progress tracking
āļø How It Works User Submits Form with:
Main topic or transcript Desired duration TTS voice Visual style (e.g., Pixar, Lego, Cyberpunk) Image generation provider
AI generates a script: A catchy title, description, hook, full script, and CTA using a language model.
Text-to-Speech (TTS): The script is turned into audio using the selected voice, with timestamped captions generated.
Scene Segmentation: The script is split into 5ā6 second segments for visual storyboarding.
Image Prompt Creation: Each scene is converted into an image prompt in the selected style (e.g., "anime close-up of a racing car").
Image Generation: Prompts are sent to together.ai or fal.ai to generate scenes.
Clip Creation: Each image is turned into a short video clip (Ken Burns-style zoom) based on script timing.
Video Assembly:
All clips are concatenated into a single video. Captions are overlaid using the earlier timestamps. Final Output is uploaded to Google Drive, Telegram and links are saved in Google Sheets.
š Inital Setup
š£ļø 1. Set Up TTS Voice (Text-to-Speech)
Run your TTS server locally using Docker.
š§° 2. Set Up NCA-Toolkit The nca-toolkit appears to be a custom video/image processing backend used via HTTP APIs:
http://host.docker.internal:9090/v1/image/transform/video
http://host.docker.internal:9090/v1/video/concatenate
http://host.docker.internal:9090/v1/ffmpeg/compose
š§ Steps: Clone or build the nca-toolkit container (if it's a private tool):
Ensure it exposes port 9090.
It should support endpoints for:
Image to video (zoom effect)
Video concatenation
Audio + video merging
Caption overlay via FFmpeg
Run it locally with Docker:
docker run -d -p 9090:80 your-nca-toolkit-image
š§ 3. Set Up together.ai (Image Generation) (Optional You can use ChatGPT API Instead)
This handles image generation using models like FLUX.1-schnell.
š§ Steps: Create an account at: https://www.together.ai
Generate your API key
Related Templates
Track Demo Bookings with Google Calendar to Meta Conversions API Integration
Who is this workflow for? If you're using Meta Ads to generate new leads to your sales pipeline, this workflow is for yo...
Build a PDF-Based RAG System with OpenAI, Pinecone and Cohere Reranking
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. This workflow prov...
Reusable and Independently Testable Sub-workflow
Reusable and Independently Testable Sub-workflow This n8n workflow provides a standardized structure for building and te...
š Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments