{
  "name": "Auto-generate & post AI images to Facebook using Gemini & Pollinations AI",
  "nodes": [
    {
      "id": "6dca36b9-725d-4a55-922d-dba546f6770c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -140,
        -660
      ],
      "parameters": {
        "width": 400,
        "height": 560,
        "content": "🌟 Automated AI Image Creation with Gemini and Facebook Page Integration\n\nThis workflow automatically generates random AI art prompts (cinematic, steampunk, surreal, or retro-futuristic) using Google G"
      }
    },
    {
      "id": "6bed68e2-f333-4aa1-9002-5af796b829b1",
      "name": "Set The Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -180,
        -40
      ]
    },
    {
      "id": "b5d17183-278b-48a9-a5c8-44dcb9a1c651",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        240,
        160
      ]
    },
    {
      "id": "c56e9f2d-997c-4eb8-be69-ed46d178c5f5",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        300,
        -660
      ],
      "parameters": {
        "width": 400,
        "height": 400,
        "content": "🧱 Recommended Node Renaming (for clarity)\n\nOld Name\n  - Set The Schedule\n  - Check If Schedule Aktif\n  - Basic LLM Chain\n  - Set The Generator Image\n  - Generate Image\n  - Post to acebook\n\n\nSuggested "
      }
    },
    {
      "id": "d37d6188-6b56-464d-9139-46e6c3b1e317",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        740,
        -660
      ],
      "parameters": {
        "width": 400,
        "height": 260,
        "content": "🛠 Tips for Publishing\n\n  - 💡 Add a workflow image at the top (especially if you plan to submit this to the n8n templates directory).\n\n  - 🎥 If possible, record a Loom video for visual walkthrough (not"
      }
    },
    {
      "id": "23209c8c-ed9d-492d-9b2b-50b79b814e07",
      "name": "Log Schedule Time",
      "type": "n8n-nodes-base.code",
      "position": [
        40,
        -40
      ]
    },
    {
      "id": "81b1a688-f7ec-4f7d-8ab3-106eb7a45df4",
      "name": "Generate Image Prompt (Gemini)",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        240,
        -40
      ]
    },
    {
      "id": "dc076be6-7f76-4904-99ce-67d44009eba4",
      "name": "Create Pollinations URL",
      "type": "n8n-nodes-base.code",
      "position": [
        600,
        -40
      ]
    },
    {
      "id": "10ab3f57-9088-4b47-86a9-88681174d392",
      "name": "Fetch AI Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        800,
        -40
      ]
    },
    {
      "id": "e57ca15b-5d39-4a03-8ba7-5830ebdf773e",
      "name": "Post Image to Facebook",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1040,
        -40
      ]
    }
  ],
  "connections": {
    "Fetch AI Image": {
      "main": [
        [
          {
            "node": "Post Image to Facebook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set The Schedule": {
      "main": [
        [
          {
            "node": "Log Schedule Time",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Schedule Time": {
      "main": [
        [
          {
            "node": "Generate Image Prompt (Gemini)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Pollinations URL": {
      "main": [
        [
          {
            "node": "Fetch AI Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Image Prompt (Gemini)",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Generate Image Prompt (Gemini)": {
      "main": [
        [
          {
            "node": "Create Pollinations URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}