🎬 Create AI Instagram brand posts with Seedream 4.0, OpenAI and Postiz

⚑ 366 views · 🎬 Content Creation & Video

πŸ’‘ Pro Tip β€” Heads up β€” if this workflow’s Instagram scraping breaks (it happens whenever Meta updates their frontend), ScraperNode is a community node that handles profiles, posts, reels, and comments without any HTML parsing.

View All Scrapers

Description

This workflow is designed to fully automate the creation and publishing of Instagram marketing content by combining AI-powered text generation with Bytedance Seedream 4.0, image creation, and social media scheduling into a single streamlined pipeline.

Starting from a simple prompt and reference images, the workflow generates both the visual asset and the caption, then automatically publishes the final content to Instagram. It eliminates the need for manual design, copywriting, and posting, enabling a faster and more scalable content production process.

BEFOREAFTER
imageimage

Key Advantages

1. βœ… End-to-End Automation

The workflow fully automates the process from initial input (prompt + reference images) to final delivery (Instagram post), eliminating manual content creation and publishing steps.

2. βœ… AI-Powered Content Creation

It leverages advanced AI models to:

3. βœ… Automated Visual Generation

Integrates AI image editing (Kie AI Seedream) to automatically produce high-quality, branded visuals without the need for design tools or manual editing.

4. βœ… Social Media Optimization

Captions are generated with built-in best practices, including:

5. βœ… Scalability

The workflow structure allows easy scaling to generate and publish large volumes of content across campaigns with minimal effort.

6. βœ… Modular & Extensible Design

Each step (input setup, caption generation, image creation, upload, publishing) is modular, making it easy to:

7. βœ… Automated Publishing & Scheduling

Integration with Postiz enables seamless upload and scheduling of posts directly to Instagram, streamlining the entire publishing pipeline.

8. βœ… Reliability with Asynchronous Processing

The wait/resume mechanism ensures that image generation tasks are completed before proceeding, improving workflow stability and preventing failures.

9. βœ… Consistency & Brand Alignment

Using structured prompts and predefined logic ensures all generated content maintains a consistent brand voice, visual identity, and messaging across posts.


How it works

This workflow automates the creation of a branded visual + Instagram caption, then posts the result to Instagram via Postiz.

  1. Manual trigger starts the workflow.
  2. Set params defines:
    • A creative prompt for generating an images
    • A reference logo URL
  3. Normalize converts the image URL(s) into a JSON array.
  4. The workflow splits into two parallel branches:
    • Image generation branch:
      • Calls Kie AI Seedream 4.0 Edit API with the prompt + image URL(s)
      • Waits for async completion via a webhook
      • Extracts the generated image URL
      • Downloads the image binary
    • Caption generation branch:
      • Sends the prompt to an OpenAI Chat Model
      • Uses a Social Media Manager LLM chain to produce an Instagram caption with emojis and hashtags
      • Parses the JSON output into a clean caption
  5. Merge combines the downloaded image and the caption.
  6. Upload IG Image sends the image to Postiz’s upload endpoint.
  7. Instagram node schedules/posts the image + caption to Instagram.

Set up steps

  1. Add credentials:

    • OpenAi account I – OpenAI API key
    • Kie AI – Token from Kie.ai API credentials
    • Postiz account – Postiz API credentials
  2. Adjust the prompt (optional):

    • Edit the Set params node β†’ PROMPT value to change the image generation text
  3. Confirm webhook for async wait:

    • The Wait node uses a resume webhook – ensure the webhook URL is reachable by Kie AI
  4. Validate Postiz integration:

    • Check that the Instagram node has the correct Postiz integration ID
  5. Activate the workflow (if scheduling needed, replace Manual Trigger with a schedule trigger)

  6. Execute manually to test the full flow from prompt β†’ image β†’ caption β†’ Instagram post


πŸ‘‰ Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n.

image


Need help customizing?

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

πŸ”— Nodes Used

HTTP Request, Basic LLM Chain, OpenAI Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup