Generate and publish carousels for TikTok and Instagram with GPT-Image-1
n8n template #4028Summary
Use templateDescription 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. It uses a sequence of prompts to create a narrative or themed carousel, generating each image based on the previous one, and then posts them with an AI-generated caption. Who Is This For? Social Media Managers: Quickly create and schedule engaging image carousels for Instagram and TikTok. Content Creators: Automate the visual content creation process for thematic posts or storytelling carousels. Digital Marketers: Efficiently produce visu
How to set it up
- Open template #4028 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
- Create a credential under Credentials → Add credential: OpenAI. Then open each of those nodes and pick the credential.
- Check the model in the OpenAI node. The template may point at a model your account can't use; swap it for one you have access to.
- Click Execute workflow and step through each node's output to confirm the data looks right.
- Toggle the workflow to Active so its trigger runs on its own.
Hand off to your agent
Prompt
Help me set up the n8n workflow "Generate and publish carousels for TikTok and Instagram with GPT-Image-1" (https://n8n.io/workflows/4028). It uses: HTTP Request, Code, OpenAI. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Questions
Yes. Juan Carlos Cavero Gracia published it free on n8n.io as a verified creator, and it has 18K views. It runs on n8n Cloud or a self-hosted n8n instance.
OpenAI. The other 2 nodes are built into n8n.
Similar workflows
NameViews
- ✨🤖Automate Multi-Platform Social Media Content Creation with AI205K
- Fully Automated AI Video Generation & Multi-Platform Publishing191K
- AI-Powered Short-Form Video Generator with OpenAI, Flux, Kling, and ElevenLabs93K
- Clone Viral TikToks with AI Avatars & Auto-Post to 9 Platforms using Perplexity & Blotato84K
- OpenAI GPT-3: Company Enrichment from website content72K
- Generate Instagram Content from Top Trends with AI Image Generation72K
- AI-Powered WhatsApp Chatbot 🤖📲 for Text, Voice, Images & PDFs with memory 🧠71K
- Write a WordPress post with AI (starting from a few keywords)67K