Générer des images publicitaires pour les médias sociaux FB/IG/Pinterest avec Google Gemini Imagen
Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 32 nœuds.Utilise principalement des nœuds comme Switch, Telegram, FormTrigger, GoogleGemini. Utiliser Google Gemini Imagen pour générer des images publicitaires pour les médias sociaux (FB/IG/Pinterest)
- •Token Bot Telegram
Nœuds utilisés (32)
Catégorie
{
"meta": {
"instanceId": "76f564ce9e1f496ea6c3533f155d5217a31a74b1b62bea30c37742947aa7de7c",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "aaaef0b0-91fd-49d6-ad8b-6703aaff5719",
"name": "📝 Déclencheur Formulaire",
"type": "n8n-nodes-base.formTrigger",
"notes": "SETUP:\n1. Configure form fields as shown\n2. Copy webhook URL after saving\n3. Share URL with users\n\nNOTE: This captures user inputs for ad generation",
"position": [
1984,
3184
],
"webhookId": "ad-generator-form",
"parameters": {},
"typeVersion": 2.3
},
{
"id": "84afb4ae-95b0-49fe-96b5-04a0d90c5189",
"name": "🔀 Router par Dimensions",
"type": "n8n-nodes-base.switch",
"notes": "SETUP:\n1. Already configured with 7 dimension routes\n2. Enable 'Output All Matching' in options\n3. Each output triggers corresponding image generation\n\nNOTE: Creates separate paths for each selected dimension",
"position": [
2448,
3104
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "47526ff8-0fb3-4df6-b05b-79ffe640d5e4",
"name": "🎨 Story FB (1080x1920)",
"type": "@n8n/n8n-nodes-langchain.googleGemini",
"notes": "SETUP:\n1. Same API credentials as other Gemini nodes\n2. Set aspect ratio: 9:16\n3. Optimized for vertical story format\n\nNOTE: Creates vertical story-format image",
"position": [
3808,
2608
],
"parameters": {},
"typeVersion": 1
},
{
"id": "258488d9-4aad-4357-9baa-3cc5b3bd27c2",
"name": "🎨 Feed IG (1080x1080)",
"type": "@n8n/n8n-nodes-langchain.googleGemini",
"notes": "SETUP:\n1. Same API credentials\n2. Set aspect ratio: 1:1 (square)\n3. Instagram feed optimized prompt\n\nNOTE: Perfect square for IG feed posts",
"position": [
3808,
2784
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c1c1fc06-3a06-4f44-a0cd-857ed17a6859",
"name": "🎨 Story IG (1080x1920)",
"type": "@n8n/n8n-nodes-langchain.googleGemini",
"notes": "SETUP:\n1. Same API credentials\n2. Set aspect ratio: 9:16\n3. Story-optimized vertical design\n\nNOTE: Vertical format for IG Stories",
"position": [
3808,
2960
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f3a20164-ec38-4140-94f4-649997d3ec3a",
"name": "🎨 Reel IG (1080x1920)",
"type": "@n8n/n8n-nodes-langchain.googleGemini",
"notes": "SETUP:\n1. Same API credentials\n2. Set aspect ratio: 9:16\n3. Designed for Reels thumbnails\n\nNOTE: Optimized for video content covers",
"position": [
3808,
3136
],
"parameters": {},
"typeVersion": 1
},
{
"id": "aecc6084-767a-4266-b29f-bd7d771dc0f8",
"name": "🎨 Épingle Pinterest (1000x1500)",
"type": "@n8n/n8n-nodes-langchain.googleGemini",
"notes": "SETUP:\n1. Same API credentials\n2. Set aspect ratio: 2:3\n3. Pinterest-style tall pin format\n\nNOTE: Standard Pinterest pin dimensions",
"position": [
3808,
3328
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a6124726-1f33-4d3c-a5ac-b78506e7e02f",
"name": "🎨 Story Pinterest (1080x1920)",
"type": "@n8n/n8n-nodes-langchain.googleGemini",
"notes": "SETUP:\n1. Same API credentials\n2. Set aspect ratio: 9:16\n3. Pinterest Story format\n\nNOTE: Story-style vertical pin",
"position": [
3808,
3536
],
"parameters": {},
"typeVersion": 1
},
{
"id": "38aa5c3d-ad0f-42a2-9605-03be9a35f3f8",
"name": "📤 Envoyer Feed FB",
"type": "n8n-nodes-base.telegram",
"notes": "SETUP:\n1. Create Telegram bot via @BotFather\n2. Add bot token to credentials\n3. Get your chat ID (message bot, use /getUpdates)\n4. Add chat ID to node settings\n\nNOTE: Sends generated image with caption",
"position": [
4416,
2448
],
"webhookId": "f5a5a886-8808-4fc6-a0c8-ea698f9ca400",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "02845408-b1d4-435f-ab74-1c2a03ed2750",
"name": "📤 Envoyer Story FB",
"type": "n8n-nodes-base.telegram",
"notes": "SETUP:\n1. Same Telegram credentials as above\n2. Same chat ID\n3. Caption includes format details\n\nNOTE: Delivers story format image",
"position": [
4416,
2640
],
"webhookId": "0b185df3-d19d-47f6-8e23-e6f9945d6780",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "e734a918-9a5d-4739-a776-cfb48cac30a5",
"name": "📤 Envoyer Feed IG",
"type": "n8n-nodes-base.telegram",
"notes": "SETUP:\n1. Same credentials\n2. Optimized caption for IG\n\nNOTE: Square format delivery",
"position": [
4416,
2816
],
"webhookId": "0cf63f18-ee84-495b-89b7-9259682a435b",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "546d7d2d-7b70-44a6-95c7-ef38c812cfbb",
"name": "📤 Envoyer Story IG",
"type": "n8n-nodes-base.telegram",
"notes": "SETUP:\n1. Same credentials\n2. Story format caption\n\nNOTE: Vertical story delivery",
"position": [
4416,
2992
],
"webhookId": "807c9284-2f35-4240-87eb-d0575214c3af",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "196fce88-de69-4981-9e1e-f6ac71937a39",
"name": "📤 Envoyer Reel IG",
"type": "n8n-nodes-base.telegram",
"notes": "SETUP:\n1. Same credentials\n2. Reel-optimized caption\n\nNOTE: Video thumbnail format",
"position": [
4416,
3168
],
"webhookId": "3763612a-45e8-4359-bf79-5e173c861035",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "7dcda54a-0b8b-4c96-8db8-278c4756b2cb",
"name": "📤 Envoyer Épingle Pinterest",
"type": "n8n-nodes-base.telegram",
"notes": "SETUP:\n1. Same credentials\n2. Pinterest-specific caption\n\nNOTE: Tall pin format delivery",
"position": [
4416,
3360
],
"webhookId": "b005a861-9d93-4f51-9b6c-b012a8da2660",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "23412497-82b7-40b0-b771-8a07025f9a90",
"name": "📤 Envoyer Story Pinterest",
"type": "n8n-nodes-base.telegram",
"notes": "SETUP:\n1. Same credentials\n2. Story pin caption\n\nNOTE: Pinterest story format delivery",
"position": [
4416,
3568
],
"webhookId": "324fc16a-4773-47d6-ad7a-d0e0960abaec",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "f1bdc137-2329-40ee-b94c-4e06e1e2deef",
"name": "Note adhésive11",
"type": "n8n-nodes-base.stickyNote",
"position": [
3040,
3856
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "bb933707-d815-46f0-875b-cd79da792075",
"name": "Note adhésive12",
"type": "n8n-nodes-base.stickyNote",
"position": [
3424,
3856
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a239af9e-576d-4f5c-8816-2f49af15618f",
"name": "Note adhésive13",
"type": "n8n-nodes-base.stickyNote",
"position": [
3792,
3872
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "64819d3c-966a-40cf-adb9-97cebc83e83b",
"name": "Note adhésive14",
"type": "n8n-nodes-base.stickyNote",
"position": [
4288,
3872
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "bdd2def6-7bd6-47a9-b40a-7a13dc484419",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
2208,
1872
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "83bd0934-4e29-43fe-989f-7773d116220e",
"name": "Note adhésive1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1808,
1872
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "09edeec4-f1f5-43a4-a4da-b8ef21f76dba",
"name": "Note adhésive2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1872,
2752
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "22b11177-7f4b-4f93-9c97-0ffaf72978cf",
"name": "Note adhésive3",
"type": "n8n-nodes-base.stickyNote",
"position": [
2336,
2592
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "acb37246-3c0c-4b35-95ef-b375aa7b3793",
"name": "Note adhésive4",
"type": "n8n-nodes-base.stickyNote",
"position": [
3680,
1984
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "aa6c9cd5-315f-4742-b169-b5dbb8f5397f",
"name": "Note adhésive5",
"type": "n8n-nodes-base.stickyNote",
"position": [
4272,
1808
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "28b4450d-1ecf-4c5c-b8f4-66614e114263",
"name": "Note adhésive6",
"type": "n8n-nodes-base.stickyNote",
"position": [
2608,
1872
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fb806e42-f2f8-41a9-8b97-b143e4905b1d",
"name": "Note adhésive7",
"type": "n8n-nodes-base.stickyNote",
"position": [
2960,
1872
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "189632b7-00f9-47fc-8238-00830a6ad34f",
"name": "Note adhésive8",
"type": "n8n-nodes-base.stickyNote",
"position": [
1824,
3856
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "84c3ca48-d584-452d-a739-f1681a241ea5",
"name": "Note adhésive9",
"type": "n8n-nodes-base.stickyNote",
"position": [
2288,
3856
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e3d4dab2-8905-4c7d-8e45-f039ebcac00e",
"name": "Note adhésive10",
"type": "n8n-nodes-base.stickyNote",
"position": [
2672,
3856
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "066a9ea7-d59d-4970-a476-cf855c5e58bb",
"name": "🎨 Feed FB (1200x630) -gemini",
"type": "@n8n/n8n-nodes-langchain.googleGemini",
"notes": "SETUP:\n1. Add Google Gemini API credentials\n2. Select model: imagen-3.0-generate-001\n3. Set aspect ratio: 16:9\n4. Prompt auto-populates from form data\n\nNOTE: Generates landscape image for FB Feed",
"position": [
3808,
2464
],
"parameters": {},
"typeVersion": 1
},
{
"id": "52d0b9bd-aea3-469a-a44e-3b4bf0c04f20",
"name": "Note adhésive15",
"type": "n8n-nodes-base.stickyNote",
"position": [
1616,
1680
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"aaaef0b0-91fd-49d6-ad8b-6703aaff5719": {
"main": [
[
{
"node": "84afb4ae-95b0-49fe-96b5-04a0d90c5189",
"type": "main",
"index": 0
}
]
]
},
"258488d9-4aad-4357-9baa-3cc5b3bd27c2": {
"main": [
[
{
"node": "e734a918-9a5d-4739-a776-cfb48cac30a5",
"type": "main",
"index": 0
}
]
]
},
"f3a20164-ec38-4140-94f4-649997d3ec3a": {
"main": [
[
{
"node": "196fce88-de69-4981-9e1e-f6ac71937a39",
"type": "main",
"index": 0
}
]
]
},
"84afb4ae-95b0-49fe-96b5-04a0d90c5189": {
"main": [
[
{
"node": "066a9ea7-d59d-4970-a476-cf855c5e58bb",
"type": "main",
"index": 0
}
],
[
{
"node": "47526ff8-0fb3-4df6-b05b-79ffe640d5e4",
"type": "main",
"index": 0
}
],
[
{
"node": "258488d9-4aad-4357-9baa-3cc5b3bd27c2",
"type": "main",
"index": 0
}
],
[
{
"node": "c1c1fc06-3a06-4f44-a0cd-857ed17a6859",
"type": "main",
"index": 0
}
],
[
{
"node": "f3a20164-ec38-4140-94f4-649997d3ec3a",
"type": "main",
"index": 0
}
],
[
{
"node": "aecc6084-767a-4266-b29f-bd7d771dc0f8",
"type": "main",
"index": 0
}
],
[
{
"node": "a6124726-1f33-4d3c-a5ac-b78506e7e02f",
"type": "main",
"index": 0
}
]
]
},
"47526ff8-0fb3-4df6-b05b-79ffe640d5e4": {
"main": [
[
{
"node": "02845408-b1d4-435f-ab74-1c2a03ed2750",
"type": "main",
"index": 0
}
]
]
},
"c1c1fc06-3a06-4f44-a0cd-857ed17a6859": {
"main": [
[
{
"node": "546d7d2d-7b70-44a6-95c7-ef38c812cfbb",
"type": "main",
"index": 0
}
]
]
},
"aecc6084-767a-4266-b29f-bd7d771dc0f8": {
"main": [
[
{
"node": "7dcda54a-0b8b-4c96-8db8-278c4756b2cb",
"type": "main",
"index": 0
}
]
]
},
"066a9ea7-d59d-4970-a476-cf855c5e58bb": {
"main": [
[
{
"node": "38aa5c3d-ad0f-42a2-9605-03be9a35f3f8",
"type": "main",
"index": 0
}
]
]
},
"a6124726-1f33-4d3c-a5ac-b78506e7e02f": {
"main": [
[
{
"node": "23412497-82b7-40b0-b771-8a07025f9a90",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Avancé - Création de contenu, IA Multimodale
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Malik Hashir
@malikxPartager ce workflow