Automated faceless video generation (n8n + MCP) with captions, background music, local and 100% free

Automated faceless video generation (n8n + MCP) with captions, background music, local and 100% free

How to Create Faceless Short Videos Using an MCP Server

Overview of the Video Creation Process

  • The video creator is open-source, utilizing a custom-built MCP server with no API costs or paid services. It generates videos from text prompts automatically, including voice captions and music.
  • The workflow involves sourcing popular jokes from the Reddit subreddit "jokes," extracting titles and content snippets for video creation.

AI Integration in Video Generation

  • An AI agent is employed to generate videos based on the extracted title and content snippet, returning both the video ID and title once completed.
  • The MCP server requires specific configurations, such as setting up a URL for Docker. Users must add their API key and run commands to initiate the project.

Manual Video Status Checking

  • Two tools are defined in the MCP server; however, only one is used for creating short videos while manually checking video status every five seconds due to limitations in AI understanding of waiting.
  • A REST API is utilized for managing this process, allowing users to download the created video binary after generation.

Uploading Videos to YouTube

  • After generating a video using a hard-coded joke (which can be customized), it is uploaded to YouTube with its generated title. Debug logs help track progress during this workflow.

Additional Workflows and Considerations

  • Other workflows include different subreddits like "life flow tips" and "stories," which may require longer rendering times due to content length.
  • Instructions for using the project via MPX or Docker are available on GitHub; however, running it without an NVIDIA graphics card limits GPU support, slowing down rendering processes.
Video description

Join our premium community for support and exclusive content: https://www.skool.com/ai-agents-az/about?y7 We made an MCP server that generates short videos. In this video, we'll show you how to set it up and use it with an n8n workflow. By the end of this video, you'll be able to create viral short videos and reels. ๐ŸŽ“ What Youโ€™ll Learn - How to start the `short-video-maker` MCP server - How to source interesting content from Reddit - How to connect the MCP server to n8n and setup an AI agent to create short videos - How to upload the generated videos to YouTube You can run the MCP server with `docker run -it --rm --name short-video-maker -p 3123:3123 -e LOG_LEVEL=debug -e PEXELS_API_KEY= gyoridavid/short-video-maker:latest-tiny` (make sure you add your free Pexels API key). Find more information on the Github page of the project, mentioned below. ๐Ÿ“š Resources Mentioned ๐Ÿ‘‰ Free template https://github.com/gyoridavid/ai_agents_az/tree/main/episode_7 ๐Ÿ‘‰ Github repo of the MCP server https://github.com/gyoridavid/short-video-maker ๐Ÿ‘‰ Npm https://www.npmjs.com/package/short-video-maker ๐Ÿ‘‰ Docker image https://hub.docker.com/r/gyoridavid/short-video-maker ๐Ÿ“‘ Timeline / Chapters 00:00 Introduction 00:32 Workflow walk through (turn Reddit posts into videos) 01:23 AI Agent with MCP 02:26 Check the status of the video generation 03:04 Generate video 03:24 Video 04:19 Wrap up We release new videos on a practical ai agent every week. Make sure to subscribe so you can learn how to create useful ai agents with n8n. #ai #n8n #automation #aiagent #aiagents #faceless #shorts #reels #tiktok #videogeneration #mcp #modelcontextprotocol