Generate & upload images with Leonardo AI, WordPress and Twitter
Ready for 3.0What 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).
- Code: runs custom JavaScript code
- HTTP Request: calls cloud.leonardo.ai (POST)
- Wait: waits 1 minutes
- HTTP Request: calls an HTTP API
- HTTP Request: calls an HTTP API
- Upload image (HTTP Request): calls an HTTP API (POST)
- Upload Media (X) (HTTP Request): calls upload.twitter.com (POST)
- Merge: merges the data from its input branches
- Aggregate: combines items into one
- 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)
- HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate
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…