n8n

How to Generate Midjourney Marketing Videos?

Create three styled images, turn them into three short videos, and merge them into one final clip. Great for social teams, ad creators, and content studios that need fast, consistent visuals without juggling tools.

The flow starts on manual run. Basic Params sets style and character rules. A prompt node calls an AI model to build three scene prompts. Each prompt is sent to an image service to start a task. The workflow waits and checks status for each job, then saves the image links. Next, three video jobs are created from those images using a video generator. It pauses for a safe buffer, polls each task until ready, and captures each video URL. Finally, a video editor service combines the clips with a preset template and returns the final link.

You will need API keys for the services and a template ready in the video editor. Expect faster output and steady brand look across assets. Useful for story series, carousel ads, and teaser reels. After setup, click Test to run a full pass, then reuse the same template for new campaigns.

What are the key features?

  • Basic Params sets the visual style, character, and keywords for all assets
  • AI prompt builder generates three scene prompts based on your inputs
  • Image tasks are created for three scenes and tracked until complete
  • Status checks with If and Switch prevent moving forward before assets are ready
  • Image URLs are captured and passed into three video generation jobs
  • Timed waits provide a buffer, then polling confirms each video is finished
  • Final video is assembled using a preset template and returns a public URL
  • Output nodes expose video links for downstream sharing or publishing
  • Manual start gives control over when content runs and which settings apply

What are the benefits?

  • Reduce creative turnaround from one day to under 30 minutes
  • Automate about 80 percent of the image to video workflow
  • Keep a consistent style across three scenes and the final edit
  • Produce multiple variations in one run for A B testing
  • Connect four tools in one place to avoid manual downloads and uploads

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with OpenAI, PiAPI, Kling and Creatomate. See the Tools Required section above for links to create accounts with these services.
  3. In your OpenAI account, create an API key. In n8n, open the GPT prompt HTTP node, choose Credential to connect with, click Create new credential, and paste your OpenAI API key. Name the credential clearly, such as OpenAI Prod.
  4. In your PiAPI account, generate the x api key. In n8n, open the image task HTTP nodes, create a new credential, and add the x api key header. Use a clear name like PiAPI Midjourney.
  5. In your Kling account, create an API key or token. In n8n, open each video generation HTTP node, create a new credential, and add the token as required by the Kling API.
  6. In your Creatomate account, get your API key and the template ID you plan to use. In n8n, open the final combination HTTP node, create a new credential with the API key, and set the template ID in the request body.
  7. Open the Basic Params node and fill in x api key, style, character, and any keywords. Keep the style consistent to match across images and videos.
  8. Check the Get Prompt and Get Task nodes to confirm the fields match your API responses. The code node expects choices and message content from the AI response.
  9. Verify the Wait nodes are set to a safe delay before polling video tasks. If your provider is slower, increase the wait time to avoid extra polling.
  10. Click Test workflow. Watch the status nodes. You should see task IDs, then image URLs, then video URLs, and finally the combined video link.
  11. If a node fails, check API keys and quotas. Re run from the failed node after fixing headers or body fields. Confirm template ID and layer names in Creatomate match your project.
  12. Once stable, duplicate the workflow for new campaigns and only change Basic Params to generate fresh scenes with the same brand style.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Creatomate

Sign up

Essential: $49 / mo (annual billing) or $54 / mo (monthly), 2,000 credits; API access included

Kling

Sign up

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

PIAPI

Sign up

Free plan: $0 / mo (API access to basic APIs); Pay-as-you-go Kling video from $0.16 per 5s standard video

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.