Utiliser l'avatar virtuel HeyGen pour générer des vidéos d'actualité à partir de sources RSS
Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 4 nœuds.Utilise principalement des nœuds comme HttpRequest, RssFeedRead, ManualTrigger. Générer des vidéos d'actualité à partir de sources RSS avec l'avatar HeyGen
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
Nœuds utilisés (4)
Catégorie
{
"id": "a45d1jkHh90Cr2bF",
"meta": {
"instanceId": "546be790303d737c735a8648874bae91a6b66b48cd2b10cbe4cbfb78039ceb03"
},
"name": "'Generate News Videos from RSS Feeds with HeyGen Avatar",
"tags": [],
"nodes": [
{
"id": "79c28020-8eea-45b9-a813-1b59f180c249",
"name": "Lors du clic sur 'Exécuter le workflow'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
760,
740
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3e79a46a-2dee-4b0d-8ed7-7e9e68037448",
"name": "Note adhésive1",
"type": "n8n-nodes-base.stickyNote",
"position": [
600,
360
],
"parameters": {
"width": 900,
"height": 700,
"content": "## Generate News Videos from RSS Feeds with HeyGen Avatar\n\n**Steps:** \n- Triggered manually via the \"Execute workflow\" button. \n- Reads RSS feed from Prothom Alo Bangla news XML. \n- Uses news summary from the feed as input text for video generation. \n- Sends a POST request to HeyGen API to create videos with specified avatar and voice settings. \n- API key is included in the HTTP request headers (ensure it is kept secure). \n- Video dimension is set to 1280x720 pixels."
},
"typeVersion": 1
},
{
"id": "988d45e8-db19-42a6-9608-1bf811dc30f3",
"name": "Générer une vidéo d'actualités",
"type": "n8n-nodes-base.httpRequest",
"position": [
1200,
740
],
"parameters": {
"url": "https://api.heygen.com/v2/video/generate",
"method": "POST",
"options": {},
"jsonBody": "={\n \"video_inputs\": [\n {\n \"character\": {\n \"type\": \"avatar\",\n \"avatar_id\": \"Lina_Dress_Sitting_Side_public\",\n \"avatar_style\": \"normal\"\n },\n \"voice\": {\n \"type\": \"text\",\n \"input_text\": \"{{ $json.summary }}\",\n \"voice_id\": \"119caed25533477ba63822d5d1552d25\",\n \"speed\": 1.1\n }\n }\n ],\n \"dimension\": {\n \"width\": 1280,\n \"height\": 720\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "X-Api-Key"
},
{
"name": "Content-Type",
"value": " application/json"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "a8a7c8fc-e8d3-4977-823f-f44601d3e3a0",
"name": "Lire le flux RSS de Prothom Alo",
"type": "n8n-nodes-base.rssFeedRead",
"position": [
980,
740
],
"parameters": {
"url": "https://prod-qt-images.s3.amazonaws.com/production/prothomalo-bangla/feed.xml",
"options": {}
},
"typeVersion": 1.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "faaf54e4-6ad2-4749-9a08-82c9606263c6",
"connections": {
"a8a7c8fc-e8d3-4977-823f-f44601d3e3a0": {
"main": [
[
{
"node": "988d45e8-db19-42a6-9608-1bf811dc30f3",
"type": "main",
"index": 0
}
]
]
},
"79c28020-8eea-45b9-a813-1b59f180c249": {
"main": [
[
{
"node": "a8a7c8fc-e8d3-4977-823f-f44601d3e3a0",
"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é ?
Débutant - 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
Sarfaraz Muhammad Sajib
@sarfarazmuhammadPartager ce workflow