Block 1 - Send as 1 merged file
- Type / Role
- n8n-nodes-base.code - code
- Config choices
- Version 2
This workflow is provided as-is. Please review and test before using in production.
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 generati...
n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.merge, n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.set, n8n-nodes-base.splitout, n8n-nodes-base.converttofile
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Juan Carlos Cavero Gracia.
Original n8n.io sourceThis 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.
Manually creating a series of related images for a carousel and then publishing them across multiple platforms can be repetitive and time-consuming. This workflow addresses these issues by:
gpt-image-1) creates the first image based on prompt1.prompt2 for image 2, prompt3 for image 3, and so on) to create the next image in the sequence.photo1 through photo5) are merged.api.upload-post.com for publishing as a carousel to Instagram.api.upload-post.com for publishing as a carousel to TikTok, with an option to automatically add music."Apikey add_api_key_here" with your actual upload-post.com API key.user field in the "POST TO INSTAGRAM" and "POST TO TIKTOK" nodes if "upload_post" is not your user identifier for that service.prompt1 to prompt5) in the "Set All Prompts" node to define the story or theme of your image carousel.size_of_image (e.g., "1024x1536" for vertical carousels).openai_image_model (ensure this matches a valid OpenAI model identifier for image generation/edits, like dall-e-2 or dall-e-3 if gpt-image-1 is a placeholder).response_format_image (should generally remain b64_json for this workflow).auto_add_music parameter set to true. Change this to false if you prefer to add music manually or not at all.This template empowers you to automate the creation and distribution of visually consistent image carousels, saving time and enhancing your social media presence.
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.
Showing the first 24 of 28 workflow blocks. Download the JSON for the full node graph.
| Workflow | Generate and publish carousels for TikTok and Instagram with GPT-Image-1 |
|---|---|
| Complexity | advanced |
| Nodes | 28 |
| Categories | Content Creation, Multimodal AI |
| Author | Juan Carlos Cavero Gracia |
| Published | 13 May 2025 |
Use the JSON export at /data/workflows/4028/4028.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
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.
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 generati...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
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.