Templates / Generate & upload images with Leonardo AI, WordPress and Twitter

Generate & upload images with Leonardo AI, WordPress and Twitter

Ready for 3.0

by Jay Emp0 ✓ · 1,886 views · created 2025-07-24 · 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 12 nodes and runs when another workflow calls it (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls cloud.leonardo.ai and upload.twitter.com over HTTP.

How it runs

Trigger: When another workflow calls it (plus 1 other trigger).

  1. Code: runs custom JavaScript code
  2. HTTP Request: calls cloud.leonardo.ai (POST)
  3. Wait: waits 1 minutes
  4. HTTP Request: calls an HTTP API
  5. HTTP Request: calls an HTTP API
  6. Upload image (HTTP Request): calls an HTTP API (POST)
  7. Upload Media (X) (HTTP Request): calls upload.twitter.com (POST)
  8. Merge: merges the data from its input branches
  9. Aggregate: combines items into one
  10. Code: runs custom JavaScript code

HTTP calls to: cloud.leonardo.ai, upload.twitter.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

Prompt-to-Image Generator & WordPress Uploader (n8n Workflow) This workflow generates high-quality AI images from text prompts using Leonardo AI, then automatically uploads the result to your WordPress media library and returns the final image URL. It…

Excerpt from Jay Emp0'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.