Instantly generate realistic UGC (User-Generated Content) images from simple form submissions. This n8n workflow leverages the n8n trigger, Google Gemini, and Telegram automation for content creation.
Download this n8n workflow template and start using it instantly.
Markdown-formatted text:
Digital Marketers and Content Teams: Who need a rapid, scalable way to produce authentic-looking UGC images for advertising.
n8n Automation Experts: Looking for advanced n8n templates integrating multimodal AI models like Google Gemini.
Agencies: Seeking to streamline their content creation pipeline triggered directly by client or internal submissions.
Developers and Integrators: Wanting a complex example of using the n8n node structure for file processing (Base64 conversion, binary handling) and external API integration (OpenRouter).
This powerful n8n workflow solves the challenge of manually creating engaging User-Generated Content (UGC) images. Instead of complex photo shoots or design software, users simply fill out a basic n8n form—uploading a product image and selecting a character type (e.g., Male/Female). The core value of this n8n template lies in its seamless integration of this input with a powerful AI model. It sends the product image and character context to Google Gemini (via OpenRouter), instructing the AI to create a realistic, lifestyle-style UGC photo. The resulting, high-quality AI-generated image is then automatically posted to a designated Telegram channel, providing an end-to-end, zero-touch content generation and distribution system. This entire automation demonstrates the flexibility of using n8n nodes for complex media transformations.
Markdown-formatted text:
image_base64). This data is then combined with the character model metadata using the 'Merge the two data sets' n8n node.data:image/jpeg;base64,...) from the Base64 string, preparing the image for the API call.Markdown-formatted text:
To deploy this powerful n8n workflow and start generating UGC images, follow these steps:
@assistantjaures) of the channel or group where the final UGC image should be posted.Markdown-formatted text:
This n8n workflow relies on a sequence of specialized n8n nodes for data manipulation and external API interaction:
Form submission with character type and image (Form Trigger n8n trigger):
Function: Serves as the starting point, capturing user input including a file upload ('Product image') and a selection ('Character model').
Key Configuration: Configured to accept .jpg, .png, .jpeg files and uses a dropdown for character type (Homme/Femme).
Extract the form file (Extract From File n8n node):
Function: Converts the binary uploaded file into a text-based Base64 string, storing it under the property imagebase64 for API transport.
Creating a data URL (Code n8n node):
Function: Essential pre-processing step that formats the raw Base64 data into a standard Data URL string (data:image/jpeg;base64,...), required by multimodal APIs.
Google gemini (HTTP Request n8n node):
Function: Executes the core AI generation task. It connects to the OpenRouter endpoint to access google/gemini-2.5-flash-image-preview using the user's input image and character model in the prompt.
Key Configuration: Uses a complex JSON body containing multimodal input (text prompt and imageurl object) to guide the UGC generation.
Transform URL data (Code n8n node):
Function: Cleans the AI response by extracting the resultant Base64 image URL and stripping the data: prefix, making it ready for binary conversion.
Download the file (Convert To File n8n node):
Function: Reverts the processed Base64 string back into a true binary file object, which is necessary for the Telegram n8n node to send the photo.
Send a photo message (Telegram n8n node):
Function: Publishes the final AI-generated UGC image to the specified Telegram chat/channel, completing this sophisticated n8n workflow.
Generate stunning, photorealistic UGC video ads automatically from a Google Sheet using an advanced n8n workflow. Integrates Fal.ai (nanoBanana, Veo3) and OpenAI for production.

Automate Twitter/X caption and thread creation using this advanced n8n workflow. Triggered by Google Drive, the n8n node uses Cloudinary and GPT-4o-mini for powerful content generation.

Automate trend research, creative ideation, and AI video prompt generation using a powerful n8n workflow. Integrates GPT-4, Tavily, and the Veo 3 API for daily content.

Use this n8n workflow to automatically generate high-quality, 12-second UGC marketing videos for your eCommerce products using Sora 2, complete with AI-generated personas and detailed, authentic scripts. A key n8n template for viral content.

Automate UGC video creation using this powerful n8n workflow. Trigger video generation via Telegram, leverage OpenAI Vision for product analysis, Sora 2 for video generation, and Blotato for multi-platform publishing. Explore advanced n8n templates.

This robust n8n workflow instantly generates personalized, user-generated content (UGC) videos from a product image sent via Telegram. It utilizes GPT-4 for analysis and Fal.ai/KIE.ai for creation. Easily use this complex n8n template for high-volume content.








































