Create Stunning AI Images Directly from WhatsApp with Gemini
    100%
    Automation
    0(0 reviews)
    164 downloads

    Create Stunning AI Images Directly from WhatsApp with Gemini

    NM

    Curated by n8n Markets team

    Last updated: March 8, 2026

    ## πŸ“±πŸ€– Create Stunning AI Images Directly from WhatsApp with Gemini This workflow transforms your WhatsApp into a personal AI image generation studio. Simply send a text message with your idea, and this bot will use the advanced prompt engineering capabilities of Gemini 2.5 Pro to craft a detailed, artistic prompt. It then uses Gemini 2.0 Flash to generate a high-quality image from that prompt and sends it right back to your chat. It's a powerful yet simple way to bring your creative ideas to life, all from the convenience of your favorite messaging app\! ### What this workflow does - Listens for WhatsApp Messages: The workflow starts automatically when you send a message to your connected WhatsApp number. - Enhances Your Idea with AI: It takes your basic text (e.g., "a knight on a horse") and uses Gemini 2.5 Pro to expand it into a rich, detailed prompt perfect for image generation (e.g., "A cinematic, full-body shot of a stoic knight in gleaming, ornate silver armor, riding a powerful black warhorse through a misty, ancient forest. The scene is lit by ethereal morning sunbeams piercing the canopy, creating dramatic volumetric lighting and long shadows. Photorealistic, 8K, ultra-detailed, award-winning fantasy concept art."). - Generates a Unique Image: It sends this enhanced prompt to the Google Gemini 2.0 Flash image generation API. - Prepares the Image: The API returns the image in Base64 format, and the workflow instantly converts it into a binary file. - Sends it Back to You: The final, high-quality image is sent directly back to you in the same WhatsApp chat. ### Nodes Used - 🟒 WhatsApp Trigger: The entry point that listens for incoming messages. - 🧠 LangChain Chain (LLM): Uses Gemini 2.5 Pro for advanced prompt engineering. - ➑️ HTTP Request: Calls the Google Gemini 2.0 Flash API to generate the image. - πŸ”„ Convert to File: Converts the Base64 image data into a sendable file format. - πŸ’¬ WhatsApp: Sends the final image back to the user. ### Prerequisites To use this workflow, you will need: - An n8n instance. - A WhatsApp Business Account connected to n8n. You can find instructions on how to set this up in the [n8n docs](https://docs.n8n.io/integrations/builtin/credentials/whatsapp/). - A Google Gemini API Key. You can get one for free from [Google AI Studio](https://aistudio.google.com/app/apikey). ### How to use this workflow 1. Get your Google Gemini API Key: Visit the [Google AI Studio](https://aistudio.google.com/app/apikey) and create a new API key. 2. Configure the Gemini 2.5 Pro Node: - In the n8n workflow, select the Gemini 2.5 Pro node. - Under 'Connect your account', click 'Create New' to add a new credential. - Paste your Gemini API key from the previous step and save. 3. Configure the Generate Image (HTTP Request) Node: - Select the Generate Image node. - In the properties panel on the right, find the Query Parameters section. - In the 'Value' field for the `key` parameter, replace `"Your API Key"` with your actual Google Gemini API Key. 4. Connect WhatsApp: - Select the WhatsApp Trigger node. - Follow the instructions to connect your WhatsApp Business Account credential. If you haven't created one, the node will guide you through the process. 5. Activate and Test: - Save the workflow using the button at the top right. - Activate the workflow using the toggle switch. - Send a message to your connected WhatsApp number (e.g., "A futuristic city in the style of Van Gogh"). The bot will process your request and send a stunning AI-generated image right back to you\!

    What's Included

    • Complete n8n workflow template with 0 nodes. Ready to import and customize.

    Requirements

    n8n instance (self-hosted or cloud). credentials.

    How to Use

    1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation

    How to import this template into n8n

    1. Download the workflow JSON file from this page.
    2. In n8n, open Workflows, create a new workflow and choose Import from File.
    3. Open each node that shows a warning and connect your own credentials.
    4. Run the workflow once manually to check the output before you activate it.
    Included in Pro
    • Importable n8n workflow JSON file
    • Download with Builder Pro or Agency Unlimited
    • Built for n8n v1.0++
    • Setup time: 15-30 min

    Included in Builder Pro β€” $19/mo, 4,177 premium workflows

    Before you activate

    Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.

    Updated Mar 2026
    v1.0
    SSL
    Secure
    GDPR

    100% Secure Checkout

    Refund requests within 7 days of a new subscription

    Reviews

    0

    No reviews yet

    See all 0 reviews ↓
    β€”

    0 reviews

    5β˜…
    0
    4β˜…
    0
    3β˜…
    0
    2β˜…
    0
    1β˜…
    0

    No reviews yet.

    Questions & Answers

    0

    Log in to ask a question.

    No questions yet. Be the first to ask!

    People Also Bought