Generate and publish carousels for TikTok and Instagram with GPT-Image-1
Ready for 3.0What 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”.
- Set All Prompts (Edit Fields (Set)): sets 5 fields: prompt1, prompt2, prompt3…
- Generate Description for Tiktok and Instagram (OpenAI): uses OpenAI
- Set API Variables (Edit Fields (Set)): sets 6 fields: image_prompt, number_of_images, size_of_image…
- OpenAI - Generate Image (HTTP Request): calls api.openai.com (POST)
- Separate Image Outputs (Split Out): splits a list into separate items
- Convert to File: converts data to a file (to binary)
- Change name to photo (Code): runs custom JavaScript code
- OpenAI - Generate Image (HTTP Request): calls api.openai.com (POST)
- Merge: merges the data from its input branches
- Separate Image Outputs (Split Out): splits a list into separate items
…plus 17 more steps. See the full node list below.
Services it uses
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)
- Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Manual Trigger
n8n-nodes-base.manualTrigger - OpenAI
@n8n/n8n-nodes-langchain.openAi - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - Convert to File
n8n-nodes-base.convertToFile
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.…