This repository contains an n8n workflow for automating YouTube Shorts creation using AI-generated scripts, images, and audio.
-
Trigger
- Manual trigger node to start the workflow.
-
Edit Fields
- Set the
topic,videoStyle, anddurationfor your YouTube Short.
- Set the
-
Generate Script
- Sends a request to HuggingFace API to generate AI-based video scripts.
-
Process Script
- Cleans the AI script and splits it into sentences for further use.
-
Generate Scene Image
- Uses the Pexels API to generate scene images related to the topic.
-
Download Image
- Downloads the generated image for video creation.
-
Generate Audio
- Uses Speechify API to convert the script into audio (voiceover).
-
Decode Audio
- Converts audio from base64 to binary format.
-
Video Assembly
- Combines the image(s) and audio to create the final YouTube Short video.
-
Optional Execution
- Execute commands or additional steps via SSH if needed.
- Clone the repo
git clone https://github.com/Sejda-Abd/Youtube-Automation.git