Automatically generates memecoin art and posts it to Twitter (X) powered by Google Gemini , NanoBanana image generation , and n8n automation.
This workflow creates viral style memecoin images (like Popcat) and posts them directly to Twitter with a witty, Gen Z style tweet.
It combines text to image AI , scheduled triggers , and social publishing , all in one seamless flow.
Workflow flow:

| Node | Function |
|---|---|
| Schedule Trigger | Runs automatically at chosen intervals to start meme generation. |
| Define Memecoin | Defines mascot name, description, and base image URL. |
| AI Agent | Generates tweet text and creative image prompt using Google Gemini. |
| Google Gemini Chat Model | Provides trending topic context and meme phrasing. |
| Get Source Image | Fetches the original mascot image (e.g., Popcat). |
| Convert Source Image to Base64 | Prepares image for AI based remixing. |
| Generate Image using NanoBanana | Sends the prompt and base image to Gemini Image API for art generation. |
| Convert Base64 to PNG | Converts the AI output to an image file. |
| Upload to Twitter | Uploads generated image to Twitter via media upload API. |
| Create Tweet | Publishes the tweet with attached image. |
1️⃣ Schedule Trigger - starts the automation (e.g., hourly or daily).
2️⃣ Define Memecoin - stores your mascot metadata:
memecoin_name: popcat
mascot_description: cat with open mouth
mascot_image: https://i.pinimg.com/736x/9d/05/6b/9d056b5b97c0513a4fc9d9cd93304a05.jpg
3️⃣ AI Agent - prompts Gemini to:
Base Source Image:

Generated Image (AI remix):

Published Tweet:

Example tweet text:
Popcat's about to go absolutely wild, gonna moon harder than my last test score! 🚀📈 We up! #Popcat #Memecoin
| Tool | Purpose |
|---|---|
| n8n (Cloud or Self hosted) | Workflow automation platform |
| Google Gemini API Key | For generating tweet and image prompts |
| Twitter (X) API OAuth1 + OAuth2 | For uploading and posting tweets |
memecoin art generator.json.In the Define Memecoin node, edit these fields to change your meme theme:
memecoin_name: "doggo"
mascot_description: "shiba inu in astronaut suit"
mascot_image: "https://example.com/shiba.jpg"
That’s it - next cycle will generate your new meme and post it.