WorkflowChatGPTOpen

Flux Kling ElevenLabs short video generator n8n

This n8n workflow produces short form videos with OpenAI, Flux, Kling and ElevenLabs, then prepares them for upload to social platforms. It is aimed at creators and marketers who want a scheduled pipeline that turns a sheet of ideas into finished vertical clips with narration.

What it does

On a schedule it reads Google Sheets, has OpenAI write five captions and five Flux image prompts, renders the images through PiAPI, animates them into clips, adds a generated voice and renders the final video. Files land in Google Drive and a Discord message reports progress.

How to use it

Add your service keys, connect Google Sheets, Google Drive and Discord, and edit the prompt node if you want a different style.

Requirements and limits

Each run spends credits on paid image, video and voice APIs; the template cites roughly $0.0948 for the Flux image step in March 2025.

More in ChatGPT and the n8n workflow library.

Full text

Front matter
name: AI-Powered Short-Form Video Generator with OpenAI, Flux, Kling, and ElevenLabs and upload to all ...
description: Triggered on a schedule. Connects Code, Condition, Discord, Google Drive, Google Sheets, HTTP request, Read Binary File, Schedule. ## 2. 🖼️Generate images with Flux using [PiAPI]({{ $env.API_BASE_URL }} ### (total cost: $0.0948 approx. as of 3/9/25) 1. OpenAI is used to generate 5 Flux image prompts based on the 5 captions generated. Edit this node to see/edit the prompt instructions. 2. Next we use some custom javascript to total up how many tokens were used for each 5 generations so we can track our costs later. 3. Then we generate an image with Flux using the [PiAPI service]({{ $env.API_BASE_URL }} waiting to check for
category: Automation
kind: Workflow
software: Code|Condition|Discord|Google Drive|Google Sheets|HTTP request|Read Binary File|Schedule|Wait|Write Binary File

AI-Powered Short-Form Video Generator with OpenAI, Flux, Kling, and ElevenLabs and upload to all ...

Triggered on a schedule. Connects Code, Condition, Discord, Google Drive, Google Sheets, HTTP request, Read Binary File, Schedule. ## 2. 🖼️Generate images with Flux using [PiAPI]({{ $env.API_BASE_URL }}

(total cost: $0.0948 approx. as of 3/9/25)

  1. OpenAI is used to generate 5 Flux image prompts based on the 5 captions generated. Edit this node to see/edit the prompt instructions.
  2. Next we use some custom javascript to total up how many tokens were used for each 5 generations so we can track our costs later.
  3. Then we generate an image with Flux using the [PiAPI service]({{ $env.API_BASE_URL }} waiting to check for

Steps

  • Get image (httpRequest)
  • Generate Image (httpRequest)
  • Image-to-Video (httpRequest)
  • Get Video (httpRequest)
  • List Elements (code)
  • Wait 10min (wait)
  • Wait 3min (wait)
  • Wait 5min (wait)
  • Generate voice (httpRequest)
  • List Elements1 (code)
  • Fail check (if)
  • Wait to retry (wait)
  • Generate Image Prompts (noOp)
  • Calculate Token Usage (code)
  • Check for failures (if)
  • Sticky Note1 (stickyNote)
  • Sticky Note (stickyNote)
  • Generate Video Captions (noOp)
  • Sticky Note2 (stickyNote)
  • Match captions with videos (merge)
  • Generate Script (noOp)
  • Upload Voice Audio (googleDrive)
  • Set Access Permissions (googleDrive)
  • Pair Videos with Audio (merge)
  • Render Final Video (httpRequest)
  • Notify me on Discord (discord)
  • Once Per Day (scheduleTrigger)
  • Load Google Sheet (googleSheets)
  • Create List (code)
  • Sticky Note3 (stickyNote)
  • Sticky Note4 (stickyNote)
  • Sticky Note5 (stickyNote)
  • Wait1 (wait)
  • Get Final Video (httpRequest)
  • Upload Final Video (googleDrive)
  • Get Raw File (httpRequest)
  • Set Permissions (googleDrive)
  • Update Google Sheet (googleSheets)
  • Set API Keys (set)
  • Sticky Note6 (stickyNote)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source and license

Source: https://github.com/Zie619/n8n-workflows/blob/main/Wait/1282_Wait_Code_Import_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.