{"product_id":"ai-image-generator-workflow-claude-gemini-via-n8n-form","title":"AI Image Generator Workflow: Claude + Gemini via n8n Form","description":"\u003ch3\u003eTurn form submissions into AI-generated images—automatically sent to the requester\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow takes an \u003cstrong\u003eimage request\u003c\/strong\u003e from an \u003cstrong\u003en8n Form\u003c\/strong\u003e, enhances it with \u003cstrong\u003eAnthropic Claude (Sonnet 4.6)\u003c\/strong\u003e, generates the image with \u003cstrong\u003eGoogle Gemini (PaLM)\u003c\/strong\u003e, then \u003cstrong\u003eemails the result via Gmail\u003c\/strong\u003e and logs everything to an \u003cstrong\u003en8n Data Table\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCollects input via n8n Form Trigger\u003c\/strong\u003e: captures the requester’s email, image description, and preferred style.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes fields\u003c\/strong\u003e for consistent values (email, description, style) before processing.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrompt enhancement with Anthropic Claude\u003c\/strong\u003e (Sonnet 4.6): combines the user description and style into a single, vivid, style-aware image-generation prompt.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eImage generation with Google Gemini (PaLM)\u003c\/strong\u003e: sends the enhanced prompt to Gemini and outputs the generated image as binary data.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEmails the generated image\u003c\/strong\u003e to the requester using Gmail, including the style and the prompt used.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogs request details\u003c\/strong\u003e (description, style, prompt, timestamp) to an n8n Data Table (e.g., \u003ccode\u003eimage_gen_log\u003c\/code\u003e) for tracking and reuse.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSaaS support or onboarding\u003c\/strong\u003e: collect user image ideas and deliver a generated concept quickly via email.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMarketing operations\u003c\/strong\u003e: turn campaign briefs submitted through an n8n Form into style-consistent image outputs.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreative teams\u003c\/strong\u003e: prototype variations by requesting new styles and keeping a prompt history in a Data Table.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes \/ tools\u003c\/strong\u003e mentioned in the workflow: \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003egmail\u003c\/code\u003e, \u003ccode\u003edata table\u003c\/code\u003e, \u003ccode\u003esticky note\u003c\/code\u003e, \u003ccode\u003eform trigger\u003c\/code\u003e, and an n8n LangChain agent node (\u003ccode\u003en8nn8n-nodes-langchainagent\u003c\/code\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCredentials required\u003c\/strong\u003e:\n    \u003cul\u003e\n      \u003cli\u003eAnthropic credential for \u003cstrong\u003eClaude Sonnet 4.6\u003c\/strong\u003e (prompt enhancement).\u003c\/li\u003e\n      \u003cli\u003eGoogle Gemini (PaLM) API credential with the selected image model available.\u003c\/li\u003e\n      \u003cli\u003eGmail OAuth2 credential with permission to send emails.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eData Table\u003c\/strong\u003e: create\/select \u003ccode\u003eimage_gen_log\u003c\/code\u003e (or update the workflow to your table name).\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45742816690355,"sku":"N8N-17570","price":53.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/KWK6H1mQFdBqf1J4cEmCx_Q4eel8RN.png?v=1785402822","url":"https:\/\/buyflowscripts.com\/products\/ai-image-generator-workflow-claude-gemini-via-n8n-form","provider":"N8N Commerce","version":"1.0","type":"link"}