Create Animated Stories using GPT-4o-mini, Midjourney, Kling and Creatomate API
Configured with HTTP Request, Switch, Wait. Review the connections and setup before adapting this template.
Node categories in this workflow
- Transform
- Code
- Web / API
- Wait
- Routing
- Trigger
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| output1 | Transform | Edit Fields | See node parameters |
| output2 | Transform | Edit Fields | See node parameters |
| Get Prompt | Code | Code | See node parameters |
| Basic Params | Transform | Edit Fields | See node parameters |
| Get Task ID of the First Image | Transform | Edit Fields | See node parameters |
| Midjourney Generator of the First Image | Web / API | HTTP Request | POST |
| Wait for the First Image Generation | Wait | Wait | See node parameters |
| Verify the first image generation status | Routing | If | See node parameters |
| Get the First Image URL | Transform | Edit Fields | See node parameters |
| Midjourney Generator of the Second Image | Web / API | HTTP Request | POST |
| Midjourney Generator of the Third Image | Web / API | HTTP Request | POST |
| Get the First Image Generation Status | Routing | Switch | See node parameters |
| Get the Second Image Generation Status | Routing | Switch | See node parameters |
| Get the Third Image Generation Status | Routing | Switch | See node parameters |
| Get the Second Image URL | Transform | Edit Fields | See node parameters |
| Get the Third Image URL | Transform | Edit Fields | See node parameters |
| Wait for the Second Image Generation | Wait | Wait | See node parameters |
| Get Task of the First Image | Web / API | HTTP Request | See node parameters |
| Get Task of the Second Image | Web / API | HTTP Request | See node parameters |
| Verify the second image generation status | Routing | If | See node parameters |
| Verify the third image generation status | Routing | If | See node parameters |
| Get Task of the Third Image | Web / API | HTTP Request | See node parameters |
| Wait for the Third Image Generation | Wait | Wait | See node parameters |
| Get three Image URLs | Transform | Edit Fields | See node parameters |
| Generate the First Video | Web / API | HTTP Request | POST |
| Generate the Second Video | Web / API | HTTP Request | POST |
| Generate the Third Video | Web / API | HTTP Request | POST |
| Final Video Combination | Web / API | HTTP Request | POST |
| Get the Third Video URL | Transform | Edit Fields | See node parameters |
| Get Video Task IDs | Transform | Edit Fields | See node parameters |
| Get the First Video Task | Web / API | HTTP Request | See node parameters |
| Verify the First Video Generation | Routing | If | See node parameters |
| Verify the Second Video Generation | Routing | If | See node parameters |
| Verify the Third Video Generation | Routing | If | See node parameters |
| Wait for Video Generation for at Least 4 min | Wait | Wait | See node parameters |
| Wait for the First Video Generation | Wait | Wait | See node parameters |
| Wait for the Second Video Generation | Wait | Wait | See node parameters |
| Wait for the Third Video Generation | Wait | Wait | See node parameters |
| Get the First Video Generation | Routing | Switch | See node parameters |
| Get the Second Video Generation | Routing | Switch | See node parameters |
| Get the Third Video Generation | Routing | Switch | See node parameters |
| Get the Second Video Task | Web / API | HTTP Request | See node parameters |
| Get the Third Video Task | Web / API | HTTP Request | See node parameters |
| When clicking Test workflow | Trigger | Manual Trigger | See node parameters |
| GPT-4o-mini Generate Image Scenario Prompt | Web / API | HTTP Request | POST |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
None declared. HTTP requests and Code nodes may still need configuration.
Workflow notes
Basic Setting Instruction
Basic Setting Instruction
Fill in Basic Params based on user's need. The node concludes three section: style, character and situation_keyword. GPT-4o-mini will generate image description based on basic params mentioned above.
Generate the first image
Generate the first image
This workflow section is uesd to generate the first Midjourney image.
Generate the second image
Generate the second image
This workflow section is uesd to generate the second Midjourney image.
Generate the third image
Generate the third image
This workflow section is uesd to generate the third Midjourney image.
Generate three Kling videos
Generate three Kling videos
This section is used to generate three Kliong videos.
Combine Videos in Creatomate
Combine Videos in Creatomate
Set a video template in Creatomate, then set the node with instruction.
Create Animated Stories using GPT-4o-mini, Midjourney, Kling and Creatomate API
Create Animated Stories using GPT-4o-mini, Midjourney, Kling and Creatomate API
Purpose and structure
This folder contains the Create Animated Stories using GPT-4o-mini, Midjourney, Kling and Creatomate API workflow. Its executable nodes use code, httpRequest, if, manualTrigger, set, switch, wait. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
When clicking Test workflow
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Wait/1395_Wait_Code_Create_Webhook.json MIT; preserve source notices.