Templates / Generate graphic wallpaper with Midjourney, GPT-4o-mini and Canvas APIs

Generate graphic wallpaper with Midjourney, GPT-4o-mini and Canvas APIs

Ready for 3.0

by PiAPI ✓ · 4,995 views · created 2025-04-21 · 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 11 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.canvas.switchboard.ai 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 API (HTTP Request): calls api.piapi.ai (POST)
  3. Get Prompt (Code): runs custom JavaScript code
  4. Midjourney Generator (HTTP Request): calls api.piapi.ai (POST)
  5. Wait: pauses before continuing
  6. Get Midjourney Task (HTTP Request): calls an HTTP API
  7. Determine Whether the Image URL was Fetched (If): checks a condition and branches into true / false
  8. Check Image Generation Status (Switch): routes items into 1 branches
  9. Get Image Url (Edit Fields (Set)): sets 2 fields: data.output.temporary_image_urls, data.output.image_url
  10. Design in Canvas (HTTP Request): calls api.canvas.switchboard.ai (POST)

HTTP calls to: api.piapi.ai, api.canvas.switchboard.ai

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

Who is the template for? This workflow is specifically designed for content creators and social media professionals, enabling Instagram and X (Twitter) influencers to produce highly artistic visual posts, empowering marketing teams to quickly generate event…

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.