🎬 Generate AI videos from scripts with DeepSeek, TTS, and Together.ai

⚑ 35,251 views · 🎬 Content Creation & Video

Description

πŸ”§ Automated Video Generator (n8n Workflow)

πŸš€ Features

βš™οΈ How It Works

User Submits Form with:

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:

πŸ›  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

πŸ”— Nodes Used

Google Sheets, HTTP Request, Telegram, Google Drive, Convert to/from binary data, Basic LLM Chain

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup