Create animated stories using GPT-4o-mini, Midjourney, Kling and Creatomate API
Ready for 3.0What this workflow does
This workflow has 45 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls api.piapi.ai and api.creatomate.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Basic Params (Edit Fields (Set)): sets or maps fields
- GPT-4o-mini Generate Image Scenario Prompt (HTTP Request): calls api.piapi.ai (POST)
- Get Prompt (Code): runs custom JavaScript code
- Midjourney Generator of the First Image (HTTP Request): calls api.piapi.ai (POST)
- Get Task ID of the First Image (Edit Fields (Set)): sets 1 field: image1
- Wait: pauses before continuing
- Get Task of the First Image (HTTP Request): calls an HTTP API
- Verify the first image generation status (If): checks a condition and branches into true / false
- Get the First Image Generation Status (Switch): routes items into 1 branches
- Get the First Image URL (Edit Fields (Set)): sets 1 field: image_urls1
…plus 34 more steps. See the full node list below.
HTTP calls to: api.piapi.ai, api.creatomate.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 (7)
- Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
What does the workflow do? This workflow is designed to generate high-quality short videos, primarily uses GPT-4o-mini (unofficial), Midjourney (unofficial) and Kling (unofficial) APIs from PiAPI and Creatomate API mainly for content creator, social media…