Generate 9 16 images from content and brand guidelines
Overview This n8n workflow automates the creation of 9:16 aspect ratio images optimized for short-form video content and thumbnails. It integrates multiple t...
🔌 Nodes & Integrations Used (6)
📖 Implementation & Setup Guide
Overview This **n8n workflow** automates the creation of 9:16 aspect ratio images optimized for short-form video content and thumbnails. It integrates multiple tools to retrieve content, generate scripts, and create AI-generated imagery.
---
Key Features 1. **Trigger Workflow Manually** - The workflow starts when triggered manually in n8n.
2. **Retrieve Brand Guidelines** - Fetch brand elements like style, tone, and guidelines from Airtable.
3. **SEO Keywords and Blog Post Retrieval** - Retrieves blog posts and associated SEO keywords from Airtable to form the basis of image content.
4. **Content Preparation** - Uses GPT-4 to prepare a 4-scene script and thumbnail prompts for short-form videos.
5. **AI Image Generation** - Uses Leonardo.ai API to generate: - Thumbnail Images - Scene-specific Images (9:16 Aspect Ratio)
6. **Airtable Asset Management** - Generated assets (images) are saved back into Airtable with metadata like URLs and file sizes.
---
Tools and Integrations - **n8n**: Workflow automation platform. - **OpenAI**: Generates scripts and prompts (GPT-4O-MINI). - **Leonardo.ai**: AI tool for improving prompts and generating high-quality images. - **Airtable**: Used as a data source for brand guidelines, blog posts, and to store generated assets.
---
Workflow Steps 1. **Manual Trigger** - Initiate the workflow.
2. **Retrieve Brand and SEO Guidelines** - Fetch essential brand elements like tone, style, and keywords.
3. **Filter and Fetch Blog Content** - Search for blog posts relevant to selected SEO keywords.
4. **Script Preparation** - Use GPT-4 to generate a script with image prompts for scenes and thumbnails.
5. **Image Generation** - Call Leonardo.ai to create: - Scene Images in 9:16 Aspect Ratio. - A Thumbnail Image with an improved prompt.
6. **Store Assets** - Save generated assets (images) to Airtable for future use.
---
Workflow Structure ### Nodes Breakdown: - **Manual Trigger**: Start the workflow. - **Get Brand Guidelines**: Pull brand-related information (style, tagline, tone, etc.) from Airtable. - **Set Guidelines**: Prepare fetched data. - **Get SEO Keywords**: Retrieve keywords to filter relevant content. - **Keyword Filter**: Filter results for specified keywords (e.g., *"AI Automation"*). - **Script Prep**: Generate 4-scene scripts and prompts with GPT-4. - **Leo - Improve Prompt**: Improve image prompts for clarity and detail. - **Leo - Generate Image**: Create AI-generated images for scenes and thumbnails. - **Wait Nodes**: Ensures Leonardo image generation is complete. - **Add Asset Info**: Store the generated images back into Airtable with metadata.
---
API Credentials Required Ensure the following credentials are configured in n8n: 1. **OpenAI API Key** 2. **Leonardo.ai API Key** 3. **Airtable API Token**
---
Output - **Generated Images**: High-quality AI-generated images with a 9:16 aspect ratio. - **Saved Metadata**: Asset details (URLs, sizes, types) stored in Airtable.
---
Usage 1. Import this workflow into n8n. 2. Set up your Airtable API, Leonardo.ai API, and OpenAI API credentials. 3. Run the workflow manually. 4. Monitor image generation and check the Airtable output for results.
---
Tags - **OpenAI** - **RunwayML** - **Leonardo** - **Airtable** - **Video Automation**
---
Author **AlexK1919** - AI-Native Workflow Architect - [YouTube Channel](https://www.youtube.com/@alexk1919_) - [Connect with Alex](https://beacons.ai/alexk1919)
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Generate 9_16 images from content and brand guidelines.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related Database & SQL Workflows
View All in Database & SQL →Add Netlify form submissions to Airtable
This workflow demonstrates how to use the Netlify Trigger node to capture form submissions and add it Airtable. You can reuse the workflow to add the data to...
Add new contacts from Autopilot to Airtable
This workflow allows you to receive updates when a new contact is added in Autopilot and add them to a base in Airtable. !workflow-screenshot Autopilot Trigg...
Add subscribed customers to Airtable automatically
This workflow allows you to receive updates when a customer is subscribed to a list in GetResponse and add them to a base in Airtable. !workflow-screenshot G...
AI Financial Chart Analyzer Backend
Production-ready n8n automation template for AI Financial Chart Analyzer Backend built by AhiXLight. Seamlessly connects OpenAI with 5 configured nodes.