FM
FlowMarket
AI Agents Advanced ⚡ 32 n8n Nodes

Generate AI YouTube shorts with Flux Runway Eleven Labs and Cr

Automated Video Creation Workflow Using n8n This workflow automates the creation and publishing of animated videos based on ideas listed in a Google Sheet. I...

🔌 Nodes & Integrations Used (8)

Google Sheets Agent HTTP Request Limit Lm Chat Google Gemini Google Drive Lm Chat Anthropic YouTube

📖 Implementation & Setup Guide

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](#pre-conditions-and-requirements) - [Google Sheets Setup](#google-sheets-setup) - [Step-by-Step Workflow Explanation](#step-by-step-workflow-explanation) - [Customization Guide](#customization-guide)

---

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](https://rapidapi.com/poorav925/api/ai-text-to-image-generator-flux-free-api/playground/apiendpoint_b28cd8ef-63fe-4242-98e4-908a332770d3)) (for AI-generated images) - **RunwayML** ([API Documentation](https://dev.runwayml.com/)) (for AI video animation) - **ElevenLabs** (for AI-generated voiceovers and sound effects) - **Creatomate** ([Website](https://creatomate.com)) (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](https://docs.n8n.io/)) - 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. 🚀

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Generate_AI_YouTube_shorts_with_Flux_Runway_Eleven_Labs_and_Cr.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related AI Agents Workflows

View All in AI Agents →