Templates / Generate Interior Moodboards with Claude/Gemini Agents, Hugging Face Image Generation, and PDF Export

Generate Interior Moodboards with Claude/Gemini Agents, Hugging Face Image Generation, and PDF Export

Ready for 3.0

by Jameson Kanakulya ✓ · 572 views · created 2025-11-16 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (15)

Google Gemini Chat ModelStructured Output ParserThinkNextcloudOpenRouter Chat ModelSimple MemoryAI AgentGmail

What it does

🎨 Template Overview This comprehensive n8n workflow automates the complete process of generating professional interior design moodboards from concept to client delivery. Users submit a design brief through a form, and the system automatically generates 12 AI-powered images, compiles them into a beautifully formatted two-page PDF moodboard, and emails the final deliverable. !Screenshot 20251120 091956.png(fileId:3404) Key Features: - Form-based design brief submission - AI-powered image prompt generation (12 detailed prompts per project) - Automated image generation via Hugging Face API - Nextcloud cloud storage with public URL sharing - Professional two-page HTML/PDF moodboard creation - Automated email delivery with PDF attachment Technologies Used: Claude Sonnet 4 (OpenRouter), Google Gemini 2.5 Pro, Hugging Face FLUX.1-schnell, Nextcloud, Gotenberg PDF Service, Gmail --- ⚙️ Self-Hosted Requirements This template requires the following self-hosted or third-party services: - Nextcloud Instance - For cloud file storage and public URL generation - Gotenberg PDF Service - For HTML to PDF conversion (can be self-hosted via Docker) - OpenRouter API Access - For Claude Sonnet 4 AI agent - Google Gemini API Access - For secondary AI processing - Hugging Face API Access - For FLUX.1-schnell image generation - Gmail Account - For email delivery (or any SMTP service) --- 📋 Setup Instructions Step 1: Configure API Credentials 1. OpenRouter (Claude Sonnet 4) - Sign up at openrouter.ai - Generate an API key - Add credentials to the "OpenRouter Chat Model" node 2. Google Gemini API - Visit Google AI Studio - Create an API key - Add credentials to the "Google Gemini Chat Model1" node 3. Hugging Face API - Register at huggingface.co - Generate an access token from Settings → Access Tokens - Add credentials to the "Image Generator" node using HTTP Header Auth - Header name: Authorization, Value: Bearer YOURTOKEN 4. Nextcloud - Set up a Nextcloud instance or use a hosted provider - Generate an app password from Settings → Security - Configure credentials in all Nextcloud nodes: - "Create a folder" - "Upload Image" - "Share a file" 5. Gotenberg PDF Service - Self-host using Docker: docker run --rm -p 3000:3000 gotenberg/gotenberg:8 - Or use a hosted instance - Update the URL in the "PDF creator" node - Configure HTTP Basic Auth credentials if required 6. Gmail - Enable 2-Factor Authentication on your Google account - Generate an App Password from Google Account settings - Add OAuth2 credentials to the "Send PDF" node Step 2: Customize Workflow Settings 1. Email Extractor Node - Review the stripPlus variable (default: true) - This removes "+tag" portions from email addresses for folder naming 2. Nextcloud Folder Structure - Default path: /moodboard/{username}/ - Modify in "Create a folder" node if needed 3. Image Generator Settings - Model: FLUX.1-schnell (fast generation, good quality) - Adjust model in "Image Generator" node if needed - Alternative models: FLUX.1-dev, Stable Diffusion XL 4. PDF Generation Settings - Default timeout: 360 seconds - Page size: A4 (210mm × 297mm) - Adjust in "PDF creator" node headers if needed Step 3: Test the Workflow 1. Activate the Form - Open the "Moodboard Form" node - Copy the webhook URL - Access the form in your browser 2. Submit a Test Request - Fill in the form fields: - Title: Short, descriptive name (e.g., "Modern Minimalist Bedroom") - Description: Detailed design brief with colors, materials, mood, lighting - Email: Your test email address - Submit and monitor workflow execution 3. Verify Each Stage - Check Nextcloud folder creation - Monitor image generation progress (12 images) - Review HTML moodboard generation - Confirm PDF creation - Check email delivery Step 4: Configure Form Embedding (Optional) Embed the form on your website: html <iframe src="YOURN8NFORMWEBHOOKURL" width="100%" height="800" frameborder="0"> </iframe> --- 🔄 Workflow Structure 1. Form Input & Data Extraction -

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.