Kütüphane / Görüntü, Video ve Ses
Görüntü, Video ve Ses
Google Gemini ile webhook stüdyosu üzerinden pazarlama görselleri üret
Bir n8n webhook'undan tarayıcı tabanlı bir görsel stüdyosu sunar; kullanıcılar en fazla iki referans görsel yükler ve her istekte Google Gemini bir görsel üretir.
Ne yapar
## Gemini Image Studio Serves its own HTML interface straight from a webhook: drop in up to two reference images, pick a mode, and Google Gemini returns a finished image. No bucket, no CDN, no frontend to deploy. ### How it works 1. A GET on the webhook returns a single-page studio interface, generated inside n8n from the values in Settings (UI). 2. The page downscales each upload in the browser, then POSTs the mode, the options and the images back to the same URL. 3. Validate & build prompt checks the request, decodes the images into binary and assembles the prompt for the chosen mode. Bad input gets a 400 with a readable reason. 4. One of three Gemini nodes runs depending on how many images arrived: text to image, a single-image edit, or a space + logo composite. 5. The result comes back as a data URL with its prompt and metadata, so the page can show it, download it, or feed it in again as the next reference. ### Setup steps - [ ] Attach a Google Gemini (PaLM) API credential to the three Gemini: nodes. - [ ] Set an image-capable model in Settings (generator) (gemini_model). - [ ] Adjust the title, subtitle and upload limits in Settings (UI). - [ ] Activate the workflow, then open the production webhook URL in a browser. ### Customization Six preset modes live in Validate & build prompt: reword their prompts, or add your own and mirror the key in Build studio page. Output ratios and upload limits sit in those same two nodes.
Adımlar
- Webhook /gemini-image-studio
- Settings (UI)
- Build studio page
- Respond with studio page
- Settings (generator)
- Validate & build prompt
- Request valid?
- Respond 400 (bad request)
- How many images?
- Gemini: text to image
- Gemini: edit 1 image
- Gemini: edit 2 images
- Merge generated image
- Pack image response
Toplam 18 adım.
Benzer otomasyonlar
Görüntü, Video ve SesReward kids’ clean plates with LINE, Google Gemini and Google Sheets11 adımGörüntü, Video ve SesCreate narrated Google Slides videos with Gemini TTS, Shotstack, Slack, and Drive55 adımGörüntü, Video ve SesRebuild product-focused reels shot by shot with Apify, Gemini, and fal.ai28 adımGörüntü, Video ve SesGoogle Sheets satırlarından Gemini, Veo ve PostWire ile UGC ürün reklamları oluştur18 adım