Skip to main content

Generate 9:16 images from content and brand guidelines

Workflow preview

Workflow preview
100%
Generate 9:16 images from content and brand guidelines preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow 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 c...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.stickynote, n8n-nodes-base.set, n8n-nodes-base.airtable, n8n-nodes-base.removeduplicates, n8n-nodes-base.filter, n8n-nodes-base.splitout, n8n-nodes-base.limit

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Alex Kim.

Original n8n.io source

1.1 Workflow description

Title
Generate 9:16 images from content and brand guidelines
Workflow name
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 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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Sticky Note20

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Set Guidelines

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Get Brand Guidelines

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 8 - Get SEO Keywords

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 9 - Remove Duplicates

Type / Role
n8n-nodes-base.removeDuplicates - removeDuplicates
Config choices
Version 2

Block 10 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Keyword Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 12 - Get Content

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 13 - Split Out Content

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 14 - Split Out Keywords

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 15 - Limit

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 16 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Script Prep

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.6

Block 18 - Split Out Scenes

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 19 - Split Out TN Prompt

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 20 - Leo - Improve Prompt1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 21 - Leo - Get imageId1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 22 - Prompt Settings

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 23 - Leo - Generate Image1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 24 - Sticky Note12

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 39 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Generate 9:16 images from content and brand guidelines
Complexity advanced
Nodes 39
Categories Content Creation, Multimodal AI
Author Alex Kim
Published 19 Dec 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2662/2662.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate 9:16 images from content and brand guidelines do?

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 c...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.