Assistant marketing vidéo AI de Seedance

Avancé

Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 16 nœuds.Utilise principalement des nœuds comme If, Wait, Telegram, Perplexity, HttpRequest. Générer des vidéos marketing basées sur les tendances avec Seedance AI, Perplexity et GPT-4o

Prérequis
  • Token Bot Telegram
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
  • Clé API OpenAI
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "XOSY8Rhhd8Skyq4A",
  "meta": {
    "instanceId": "f1ddac76345e25fbcb39be5dda61ac252c301456dbe2cab4155317eaddbb7562",
    "templateCredsSetupCompleted": true
  },
  "name": "Seedance Video Marketing AI Agent",
  "tags": [],
  "nodes": [
    {
      "id": "9873c5a6-bc25-4ef6-b91a-46acf340e358",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -220,
        -20
      ],
      "webhookId": "534ea1e8-0470-41b0-a690-b3f09cc348dd",
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "",
          "name": "YOUR_TELEGRAMAPI_CREDENTIAL"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "bd737817-cf23-4ccd-bcf5-73dbf422bc6b",
      "name": "Agent de Recherche de Tendances",
      "type": "n8n-nodes-base.perplexity",
      "position": [
        40,
        -20
      ],
      "parameters": {
        "model": "sonar-pro",
        "options": {},
        "messages": {
          "message": [
            {
              "role": "system",
              "content": "You are a trend research assistant for a creative video marketing workflow. Based on the user’s input (typically a request like “Create a 5-second Instagram video ad for my [product/brand]”), your job is to identify the most relevant and fresh trend (within the past 14 days) that could inspire the marketing angle or visual concept of the video.\n\nYour response will be passed directly into a Video Prompt Generator node, so it should highlight a trend that can be translated visually or conceptually into short-form video content.\n\nRequirements:\n\nSelect only the top, most relevant trend that connects clearly with the user’s topic or product.\n\nBriefly explain why this trend is compelling and how it could be used as a visual or narrative concept for a video ad.\n\nInclude the source URL of the trend for context.\n\nKeep your output concise, visual-oriented, and actionable for marketing. Avoid generic summaries. Prioritize consumer behavior shifts, viral aesthetics, cultural moments, audio trends, or platform-specific effects/styles that could boost engagement on platforms like Instagram or TikTok.\n\nInput Example:\n\"Create a 5-second Instagram ad for my perfume brand\"\n\nExpected Output Format:\n\nTrend Title:\n\nSummary & Video Angle Suggestion:\n\nSource URL:"
            },
            {
              "content": "={{ $json.message.text }}"
            }
          ]
        },
        "requestOptions": {}
      },
      "credentials": {
        "perplexityApi": {
          "id": "",
          "name": "YOUR_PERPLEXITYAPI_CREDENTIAL"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a5b7bb3f-6f98-4e69-8c78-7b79d7f70e90",
      "name": "Ingénieur de Prompt Vidéo",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        260,
        -20
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "chatgpt-4o-latest",
          "cachedResultName": "CHATGPT-4O-LATEST"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "role": "system",
              "content": "You are a creative video prompt generator for short-form ads (e.g., Instagram, TikTok). Based on:\n\nThe user's original brief (e.g., “Create a 5-second IG ad for my perfume brand”), and\n\nThe top marketing trend insight provided by the previous research node,\n\nYour task is to craft a concise, visually descriptive video generation prompt suitable for input into the Seedance API.\n\n🛑 Do not include any extra explanation, formatting, or commentary. Your entire output must be the exact prompt to pass into the video generator.\n\nThe prompt should:\n– Be under 100 words\n– Describe the visual elements, tone, and motion clearly\n– Reflect the product or brand type, and\n– Incorporate the marketing trend as the core concept or hook\n\nExample of your expected output format:\n\n“A close-up slow-motion shot of a glass perfume bottle as morning sunlight filters through mist. The background shows soft-focus wildflowers, matching the theme of natural beauty and calm. Overlay text: ‘Nature’s Elegance. Reinvented.’ Trend-inspired styling based on the ‘quiet luxury’ aesthetic. For Instagram. 5 seconds.”"
            },
            {
              "content": "={{ $json.choices[0].message.content }}"
            }
          ]
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "",
          "name": "YOUR_OPENAIAPI_CREDENTIAL"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "d49f8691-ffdf-4c84-94fd-cdd693dbfb63",
      "name": "Requête POST - Wavespeed",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        660,
        -20
      ],
      "parameters": {
        "url": "https://api.wavespeed.ai/api/v3/bytedance/seedance-v1-pro-i2v-1080p",
        "method": "POST",
        "options": {
          "redirect": {
            "redirect": {}
          }
        },
        "sendBody": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "duration",
              "value": "5"
            },
            {
              "name": "image"
            },
            {
              "name": "prompt",
              "value": "={{ $json.message.content }}"
            },
            {
              "name": "seed",
              "value": "-1"
            }
          ]
        },
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "",
          "name": "YOUR_HTTPHEADERAUTH_CREDENTIAL"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "d20ba170-503e-428e-ac65-ce5c1db14e2f",
      "name": "Envoyer un message texte",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1580,
        0
      ],
      "webhookId": "05add186-9fd7-4219-9b54-3e458fe6b0d6",
      "parameters": {
        "text": "={{ $json.data.outputs[0] }}",
        "chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "",
          "name": "YOUR_TELEGRAMAPI_CREDENTIAL"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "6f2b44a3-46aa-45d7-b406-c73947590e85",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1300,
        -20
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "9a0179e2-465e-467a-b750-19c592649d3b",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.data.status }}",
              "rightValue": "processing"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "d7bef3fb-4ba4-4e4d-bb3d-176ddb58b388",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -300,
        -200
      ],
      "parameters": {
        "width": 260,
        "height": 700,
        "content": "Telegram Trigger"
      },
      "typeVersion": 1
    },
    {
      "id": "c35ab443-c196-4ee0-a099-ef7ee643b3ec",
      "name": "Note adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        -200
      ],
      "parameters": {
        "color": 3,
        "height": 700,
        "content": "Perplexity Research Agent"
      },
      "typeVersion": 1
    },
    {
      "id": "795c7d84-ea3e-48fb-aaa5-3d451c4e3fbc",
      "name": "Note adhésive2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -200
      ],
      "parameters": {
        "color": 7,
        "width": 300,
        "height": 700,
        "content": "Video Prompt Agent"
      },
      "typeVersion": 1
    },
    {
      "id": "fbba76df-bb6c-4919-a9f9-7436c50cf4aa",
      "name": "Note adhésive3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        -200
      ],
      "parameters": {
        "color": 2,
        "width": 300,
        "height": 700,
        "content": "POST Request to Wavespeed"
      },
      "typeVersion": 1
    },
    {
      "id": "a7cc248b-41e1-46a9-bfff-c7344c00db32",
      "name": "Note adhésive4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        -200
      ],
      "parameters": {
        "color": 5,
        "width": 640,
        "height": 700,
        "content": "GET Request Loop"
      },
      "typeVersion": 1
    },
    {
      "id": "30be802e-dc8b-4aa7-8b23-df35d79045cc",
      "name": "Note adhésive5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1540,
        -200
      ],
      "parameters": {
        "color": 4,
        "width": 280,
        "height": 700,
        "content": "Telegram Output"
      },
      "typeVersion": 1
    },
    {
      "id": "46f3ed38-da33-432a-b0bc-eb43bada238e",
      "name": "Note adhésive6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        -200
      ],
      "parameters": {
        "color": 5,
        "width": 680,
        "height": 1080,
        "content": "🎬 Seedance Video Marketing AI Agent\nDescription:\nThis AI-powered marketing automation workflow takes a user prompt, researches trending topics, generates a compelling short-form video prompt, and sends it to the Seedance API via Wavespeed to create a ready-to-use video ad — all from a single Telegram message.\n\nBuilt for marketers, founders, and content creators who want to turn trend-based ideas into visual video content without touching a video editor.\n\nFor the step-by-step video tutorial guide on how to build this workflow, check out:\nhttps://youtu.be/2oZ5NhosKgo\n\n🤖 How It Works:\n📲 Telegram Trigger\n Kick off the workflow by messaging a short prompt (e.g., “Create a 5-second IG ad for my new perfume”) via Telegram.\n\n📈 Trend Research with Perplexity AI (Sonar Pro)\n An AI agent scans the latest 14-day trends and selects the top marketing angle based on the product/niche input.\n\n🧠 Video Prompt Engineer (ChatGPT-4o)\n Crafts a concise, visually rich video generation prompt — optimized for Seedance — based on the trend insight and product.\n\n🎥 Video Generation (Wavespeed + Seedance API)\n Sends the AI-generated prompt to Seedance via Wavespeed to generate a 5-second short-form video ad.\n\n🔁 Status Loop & Response\n The workflow checks if the video is ready. Once complete, it sends the final video output URL back to you in Telegram.\n\n🔧 Tools Used:\nTelegram Trigger & Response\n\nPerplexity AI (Sonar Pro)\n\nOpenAI GPT-4o\n\nSeedance API (via Wavespeed)\n\nn8n HTTP Request, Wait, and Loop nodes\n\n💡 Use Cases:\nAuto-generate TikTok/Instagram ads from current trends\n\nScale creative content generation with zero design work\n\nPlug into your marketing chatbot or campaign assistant\n\nUse trends as visual inspiration for ad creatives\n\nIf you like the build, check out my channel and consider subscribing: https://www.youtube.com/@Automatewithmarc\n"
      },
      "typeVersion": 1
    },
    {
      "id": "f44abb18-7587-49e4-bd09-318f1b7c2fb6",
      "name": "Attendre 30 sec",
      "type": "n8n-nodes-base.wait",
      "position": [
        1340,
        260
      ],
      "webhookId": "2927f5c0-0881-4c48-900b-0194aded5926",
      "parameters": {
        "amount": 30
      },
      "typeVersion": 1.1
    },
    {
      "id": "ff8a3b0d-d16b-4e58-9b97-8918f15c9459",
      "name": "Attendre 30 Sec",
      "type": "n8n-nodes-base.wait",
      "position": [
        920,
        -20
      ],
      "webhookId": "40dd854a-29ad-41a1-adb1-3cd661dfd562",
      "parameters": {
        "amount": 30
      },
      "typeVersion": 1.1
    },
    {
      "id": "fa5c0002-ec3b-4a09-90b8-3347c31d8a2d",
      "name": "Requête GET Wavespeed",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1100,
        -20
      ],
      "parameters": {
        "url": "=https://api.wavespeed.ai/api/v3/predictions/{{ $json.data.id }}/result",
        "options": {
          "redirect": {
            "redirect": {}
          }
        },
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "",
          "name": "YOUR_HTTPHEADERAUTH_CREDENTIAL"
        }
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "32d65c6d-a906-400e-9191-e1a130129688",
  "connections": {
    "6f2b44a3-46aa-45d7-b406-c73947590e85": {
      "main": [
        [
          {
            "node": "f44abb18-7587-49e4-bd09-318f1b7c2fb6",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "d20ba170-503e-428e-ac65-ce5c1db14e2f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ff8a3b0d-d16b-4e58-9b97-8918f15c9459": {
      "main": [
        [
          {
            "node": "fa5c0002-ec3b-4a09-90b8-3347c31d8a2d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f44abb18-7587-49e4-bd09-318f1b7c2fb6": {
      "main": [
        [
          {
            "node": "fa5c0002-ec3b-4a09-90b8-3347c31d8a2d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9873c5a6-bc25-4ef6-b91a-46acf340e358": {
      "main": [
        [
          {
            "node": "bd737817-cf23-4ccd-bcf5-73dbf422bc6b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bd737817-cf23-4ccd-bcf5-73dbf422bc6b": {
      "main": [
        [
          {
            "node": "a5b7bb3f-6f98-4e69-8c78-7b79d7f70e90",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "fa5c0002-ec3b-4a09-90b8-3347c31d8a2d": {
      "main": [
        [
          {
            "node": "6f2b44a3-46aa-45d7-b406-c73947590e85",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a5b7bb3f-6f98-4e69-8c78-7b79d7f70e90": {
      "main": [
        [
          {
            "node": "d49f8691-ffdf-4c84-94fd-cdd693dbfb63",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d49f8691-ffdf-4c84-94fd-cdd693dbfb63": {
      "main": [
        [
          {
            "node": "ff8a3b0d-d16b-4e58-9b97-8918f15c9459",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

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.

Informations sur le workflow
Niveau de difficulté
Avancé
Nombre de nœuds16
Catégorie2
Types de nœuds8
Description de la difficulté

Adapté aux utilisateurs avancés, avec des workflows complexes contenant 16+ nœuds

Auteur
Automate With Marc

Automate With Marc

@marconi

Automating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34