Skip to main content

Generate creative ADV images from references with Seedream v4 for Instagram & Facebook

Workflow preview

Workflow preview
100%
Generate creative ADV images from references with Seedream v4 for Instagram & Facebook 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 workflow automates the process of generating advertising (ADV) images from multiple reference images and publishing them directly to social media ( Instagram and Facebook with [Upload Post](ht...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.wait, n8n-nodes-base.if, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.formtrigger, n8n-nodes-base.code

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate creative ADV images from references with Seedream v4 for Instagram & Facebook
Workflow name
Generate creative ADV images from references with Seedream v4 for Instagram & Facebook

This workflow automates the process of generating advertising (ADV) images from multiple reference images and publishing them directly to social media (Instagram and Facebook with Upload-Post) with Seedream v4 AI.

This workflow automates the process of generating an AI image based on a user's text prompt and up to 6 reference images. The process is triggered by a user submitting a web form.


Key Advantages

  • Automated Image Creation – Generates high-quality, consistent visuals from multiple references without manual editing.
  • Seamless Social Media Publishing – Automatically posts to Instagram and Facebook with minimal effort.
  • SEO-Optimized Titles – Ensures your posts get better reach with AI-generated, keyword-friendly titles.
  • Scalable Workflow – Can be triggered manually, on schedule, or via form submissions.
  • Time-Saving – Reduces manual steps from design to publishing, enabling faster content production.
  • Multi-Platform Support – Easily extendable to other platforms (TikTok, LinkedIn, etc.) with Upload-Post API.

How It Works

  1. Form Trigger: A user fills out a form with a "Prompt" (text description) and a list of "Reference images" (comma-separated URLs).
  2. Data Processing: The workflow converts the submitted image URL string into a proper array for the AI API.
  3. AI Image Generation: The workflow sends the prompt and image URLs to the fal.ai API (specifically, the ByteDance seedream model) to generate a new, consistent image.
  4. Status Polling: It periodically checks the status of the AI job until the image generation is COMPLETED.
  5. Result Retrieval: Once complete, it fetches the URL of the generated image and downloads the image file itself.
  6. SEO Title Generation: The original user prompt is sent to OpenAI's GPT-4o-mini model to generate an optimized, engaging social media title.
  7. Cloud Backup: The generated image is uploaded to a specified Google Drive folder for storage.
  8. Social Media Posting: Finally, the workflow posts the downloaded image file to both Instagram and Facebook via the Upload-Post.com API, using the AI-generated title.

Set Up Steps

To make this workflow functional, you need to configure several third-party services and their corresponding credentials within n8n.

  1. Obtain fal.ai API Key:

    • Create an account at fal.ai.
    • Locate your API key in your account settings.
    • In the "Create Video" and "Get status" nodes, edit the HTTP Header Auth credentials.
    • Set the Header Name to Authorization and the Value to Key YOUR_FAL_AI_API_KEY.
  2. Configure Upload-Post.com API:

    • Create an account at Upload-Post.com and get your API key.
    • Create a profile within the Upload-Post app (e.g., test1); this profile manages your social account connections.
    • In both the "Post to Instagram" and "Post to Facebook" nodes, edit the HTTP Header Auth credentials.
    • Set the Header Name to Authorization and the Value to Apikey YOUR_UPLOAD_POST_API_KEY.
    • Crucially, in the same nodes, find the user parameter in the body and replace the placeholder YOUR_USERNAME with the profile name you created (e.g., test1).
  3. Configure OpenAI/OpenRouter (Optional for Title Generation):

    • The "Generate title" node uses an OpenAI-compatible API. The provided example uses OpenRouter.
    • Ensure you have valid credentials (e.g., for OpenRouter or directly for OpenAI) configured in n8n and selected in this node.
  4. Configure Google Drive (Optional for Backup):

    • The "Upload Image" node requires Google OAuth credentials.
    • Set up a Google Cloud project, enable the Drive API, and create OAuth 2.0 credentials in the n8n settings.
    • Authenticate and select the desired destination folder in the node's parameters.

Need help customizing?

Contact me for consulting and support or add me on Linkedin.

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 - Sticky Note3

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

Block 2 - Sticky Note5

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

Block 3 - Sticky Note6

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

Block 4 - Sticky Note8

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

Block 5 - Sticky Note1

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

Block 6 - Get status

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

Block 7 - Wait 60 sec.

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 8 - Completed?

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

Block 9 - Set data

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

Block 10 - Sticky Note7

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

Block 11 - Create Video

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

Block 12 - Generate title

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

Block 13 - Sticky Note

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

Block 14 - On form submission

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

Block 15 - Array

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

Block 16 - Post to Instagram

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

Block 17 - Upload Image

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 18 - Get Url Image

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

Block 19 - Get File Image

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

Block 20 - Post to Facebook

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

3. Summary Table

Workflow Generate creative ADV images from references with Seedream v4 for Instagram & Facebook
Complexity advanced
Nodes 20
Categories Content Creation, Multimodal AI
Author Davide
Published 15 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8601/8601.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 creative ADV images from references with Seedream v4 for Instagram & Facebook do?

This workflow automates the process of generating advertising (ADV) images from multiple reference images and publishing them directly to social media ( Instagram and Facebook with [Upload Post](ht...

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.