Templates / Generate and publish carousels for TikTok and Instagram with GPT-Image-1

Generate and publish carousels for TikTok and Instagram with GPT-Image-1

Ready for 3.0

by Juan Carlos Cavero Gracia ✓ · 20,182 views · created 2025-05-13 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 28 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI. It also calls api.openai.com and api.upload-post.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set All Prompts (Edit Fields (Set)): sets 5 fields: prompt1, prompt2, prompt3…
  2. Generate Description for Tiktok and Instagram (OpenAI): uses OpenAI
  3. Set API Variables (Edit Fields (Set)): sets 6 fields: image_prompt, number_of_images, size_of_image…
  4. OpenAI - Generate Image (HTTP Request): calls api.openai.com (POST)
  5. Separate Image Outputs (Split Out): splits a list into separate items
  6. Convert to File: converts data to a file (to binary)
  7. Change name to photo (Code): runs custom JavaScript code
  8. OpenAI - Generate Image (HTTP Request): calls api.openai.com (POST)
  9. Merge: merges the data from its input branches
  10. Separate Image Outputs (Split Out): splits a list into separate items

…plus 17 more steps. See the full node list below.

Services it uses

OpenAI

HTTP calls to: api.openai.com, api.upload-post.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

Description This n8n automation template provides an end-to-end solution for generating a series of themed images for Instagram and TikTok carousels using OpenAI's GPT Image (via the image generation API) and automatically publishing them to both platforms.…

Excerpt from Juan Carlos Cavero Gracia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.