Generate 9:16 Aspect Ratio Video Images with AI and n8n

This workflow transforms blog content into 9:16 aspect ratio short-form video assets using AI-driven script generation and Leonardo.ai image creation. Perfect for content creators looking to automate image and thumbnail production for vertical videos, saving hours of manual work.
manualTrigger
airtable
httpRequest
+9
Workflow Identifier: 1261
NODES in Use: Manual Trigger, Sticky Note, Set, Airtable, Filter, Remove Duplicates, Split Out, Limit, OpenAI, SplitInBatches, Wait, HTTP Request

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Workflow Does

This workflow takes blog posts as input and makes short videos automatically with images and thumbnails in vertical 9:16 format.

It stops users from spending many hours on scripting and making images manually, which can cause mistakes and delays.

The output is ready-to-use video scripts and picture assets that match your brand and style.


Who Should Use This Workflow

People who need to make short social videos from long blog content.

This is good for marketing teams, video creators, or anyone wanting fast and consistent video assets with AI help.


Tools and Services Used

  • Airtable: Stores brand guidelines, SEO keywords, and blog content.
  • OpenAI GPT-4o-mini model: Creates short video scripts and image descriptions.
  • Leonardo.ai API: Improves image prompts and generates vertical 9:16 images and thumbnails.
  • n8n automation platform: Runs and connects all these steps automatically.

Input, Processing, and Output Explained

Inputs

Processing Steps

  • Filter and remove duplicate keywords matching “ai automation.”
  • Generate a 4-scene short video script less than 30 seconds using OpenAI.
  • Create original image prompts for each scene plus a thumbnail prompt.
  • Send these prompts to Leonardo.ai for improvement and high-quality image creation.
  • Wait for Leonardo.ai image jobs to finish, then retrieve final image URLs.
  • Upload all image and asset details back to Airtable for tracking.

Outputs

  • Clear, branded short video scripts in four scenes.
  • High-resolution vertical (9:16) AI-generated images for scenes and a thumbnail.
  • All asset information stored in Airtable for easy reuse.

Beginner Step-by-Step: How to Use This Workflow in n8n

Step 1: Import Workflow File

  1. Download the workflow using the Download button on this page.
  2. Open the n8n editor.
  3. Click “Import from File” and select the downloaded workflow file.

Step 2: Add Credentials

  1. Set up Airtable API Key credentials inside n8n.
  2. Add OpenAI API Key for GPT-4o-mini model access.
  3. Configure Leonardo.ai HTTP credentials for image generation and prompt improvement.

Step 3: Configure Node Settings

  1. Update Airtable base IDs, table names, and fields if different from defaults.
  2. Review and adjust OpenAI prompt text if needed for video length or style.
  3. Check Leonardo.ai model IDs and any additional prompt instructions.

Step 4: Test and Activate

  1. Run the workflow once using the Manual Trigger node inside n8n.
  2. Check the output images and script data in Airtable for correctness.
  3. Fix any errors and retry the test if needed.
  4. Once working, activate the workflow to run automatically or on a schedule.

For users hosting their own n8n instance, this workflow can run reliably with self-host n8n.


Customizations and Extensions

  • Change OpenAI prompt to adjust number of scenes or total video length.
  • Modify Leonardo.ai prompt settings to get different art styles or quality.
  • Broaden SEO keyword filter to include more topics or keywords.
  • Increase number of images generated by changing Leonardo.ai API parameters.
  • Add social media nodes for auto-posting videos and thumbnails after creation.

Known Issues and Troubleshooting

  • Airtable node returns no data.
    Check Airtable base and table IDs match and that API Key has proper permissions.
  • OpenAI node errors or timeouts.
    Verify OpenAI API Key is valid and network connectivity is stable.
  • Leonardo.ai image generation fails or hangs.
    Confirm API credentials and review Leonardo.ai API changes if any.
  • Images mismatch brand style.
    Ensure full and correct brand guidelines are stored in Airtable.

Summary of Results

✓ Save several hours of manual work on scripts and images.

✓ Get consistent, brand-aligned short video scripts and vertical images.

✓ Store all assets centrally in Airtable for easy reuse and tracking.

→ Run the workflow on-demand or schedule regular content creation.

Frequently Asked Questions

The ‘Keyword Filter’ node selects only SEO keywords that have the exact phrase ‘ai automation’ to focus the content on relevant topics.
The workflow uses OpenAI’s GPT-4o-mini model to generate a four-scene script under 30 seconds based on the blog post content.
Images created by Leonardo.ai are saved with their URLs and metadata in the ‘Assets’ table in Airtable for tracking and reuse.
Yes, the number of images is controlled by parameters in the Leonardo.ai API calls and can be adjusted in the workflow settings.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free