Back to Templates

Generate AI YouTube Shorts with Flux, Runway, Eleven Labs and Creatomate

Created by

Created by: Joseph || mjomba

Joseph

Last update

Last update 3 months ago

Share


Automated Video Creation Workflow Using n8n

This workflow automates the creation and publishing of animated videos based on ideas listed in a Google Sheet. It processes one idea at a time, generating text prompts, images, animations, sound effects, and merging them into a final video before uploading it to YouTube.

Table of Contents


Pre-conditions and Requirements

1. API Keys Required

To run this workflow, you'll need API access to the following services:

  • Anthropic Claude or Google Gemini (for text prompt generation)
  • Flux AI (RapidAPI) (for AI-generated images)
  • RunwayML (API Documentation) (for AI video animation)
  • ElevenLabs (for AI-generated voiceovers and sound effects)
  • Creatomate (Website) (for video/audio merging and rendering)
  • YouTube API (for video upload and posting)

2. n8n Instance Setup

  • Use cloud (n8n.io) or Install and run n8n (Official Guide)
  • Set up credentials for each API in n8n’s settings

Google Sheets Setup

Before running the workflow, ensure your Google Sheet is structured as follows:

Column Name Description
title Video title (e.g., "Elijah's Fiery Chariot")
bibleverse Corresponding Bible verse reference
idea Brief description of the scene
style Animation style (e.g., cinematic, vibrant, etc.)
caption Suggested caption for social media
videoStatus Status of video creation (To Do, Created)
publishStatus Publishing status (Not Processed, Processed)

Step-by-Step Workflow Explanation

1. Extract an Idea from Google Sheets

  • The workflow retrieves the first row where videoStatus = "To Do".
  • Marks it as Processing to avoid duplicate processing.

2. Generate a Prompt for AI Image Creation and Sound Effects/Audio

  • Uses Anthropic Claude or Google Gemini to generate prompts.

3. Generate an AI Image with Flux AI

  • Sends the prompt to Flux AI to create a high-quality image.

4. Animate the Image Using RunwayML

  • The generated image is sent to RunwayML, which animates the image.

5. Generate Sound Effects and Voiceover with ElevenLabs

  • ElevenLabs produces a realistic narration based on the video content.
  • Background sound effects (e.g., storm sounds, fire crackling) are also generated.

6. Merge Video and Audio Using Creatomate

  • Creatomate compiles the animated video with the audio.

7. Upload and Publish to YouTube

  • The finalized video is automatically uploaded to YouTube using the YouTube API.

8. Update Google Sheet Status

  • Marks videoStatus as Created.
  • Marks publishStatus as Processed.

Customization Guide

Modifying the Animation Style

  • Update the style column in Google Sheets with custom animation preferences (e.g., cinematic, slow-motion).
  • Modify the prompt generation step in n8n to incorporate different styles.

Changing the Video Length

  • Adjust the RunwayML settings to control animation speed and length.
  • Modify the Creatomate rendering step to adjust clip duration.

Adding Subtitles

  • Modify the Creatomate step to include AI-generated subtitles from ElevenLabs' text output.

Publishing to Other Platforms

  • Add additional steps to post to TikTok, Instagram, or Facebook using their respective APIs.

This workflow ensures a fully automated video creation pipeline, reducing manual effort and optimizing content production. 🚀