Zum Inhalt springen
Creative DesignPro — €97

ComposeStitch Separate Images together using n8n Gemini AI Image Editing

95/100
20 Nodes

Beschreibung

Automate djeknet_n8n-master-workflows_ComposeStitch_Separate_Images_together_using_n8n_Gemini_AI_Image_Editing

Setup-Anleitung

## Try It Out!
### This n8n template demonstrates how to use AI to compose or "stitch" separate images together to generate a new image which retains the source assets and consistent style.

Use cases are many: Try producing storyboard scenes with consistent characters, marketing material with existing product assets or trying on different articles on fashion!

### How it works
* We'll import our required assets via our Cloud storage using the HTTP node.
* The images are then converted to base64 strings and aggregated so we can use it for our AI model.
* Gemini's image generation model is used which takes all 3 images and a prompt that we define. Our prompt instructs the model on how to compose the final image.
* Gemini generates a new image but uses the original 3 assets to do so. The consistency to the source images is very high and shows little signs of hallucinations!
* Gemini's output is base64 so we use a "Convert to file" node to convert the data to binary.
* The final binary image is then uploaded to Google Drive to complete the demonstration.

### How to use
* The manual trigger node is used as an example but feel free to replace this with other triggers such as webhook or even a form.
* Technically, you should be able to compose even more images but of course, the generation will take longer and cost more.

### Requirements
* Gemini account for LLM and Image generation
* Google drive for upload


### Need Help?
Join the [Discord](https://discord.com/invite/XPKeKXeB7d) or ask in the [Forum](https://community.n8n.io/)!

Happy Hacking!

Benötigte Integrationen (6)

Aggregate

aggregate

Convert To File

convertToFile

Google API

googleDrive

API Key

Extract From File

extractFromFile

Merge

merge

HTTP Request

httpRequest

API Key

Workflow freischalten

Kaufe das Pro Bundle für €97 — erhalte sofortigen Zugang zu diesem und allen weiteren Starter + Pro Workflows als ZIP-Datei zum Import in n8n.

Sichere Zahlung via Stripe. 7-Tage Geld-zurück-Garantie.
← Zurück zum Marketplace