Templates / Create animated stories using GPT-4o-mini, Midjourney, Kling and Creatomate API

Create animated stories using GPT-4o-mini, Midjourney, Kling and Creatomate API

Ready for 3.0

by PiAPI ✓ · 15,393 views · created 2025-04-22 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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”.

  1. Basic Params (Edit Fields (Set)): sets or maps fields
  2. GPT-4o-mini Generate Image Scenario Prompt (HTTP Request): calls api.piapi.ai (POST)
  3. Get Prompt (Code): runs custom JavaScript code
  4. Midjourney Generator of the First Image (HTTP Request): calls api.piapi.ai (POST)
  5. Get Task ID of the First Image (Edit Fields (Set)): sets 1 field: image1
  6. Wait: pauses before continuing
  7. Get Task of the First Image (HTTP Request): calls an HTTP API
  8. Verify the first image generation status (If): checks a condition and branches into true / false
  9. Get the First Image Generation Status (Switch): routes items into 1 branches
  10. 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)

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…

Excerpt from PiAPI's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.