Lippenbewegungs-synchronisierte Videogenerierung
Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 18 Nodes. Hauptsächlich werden If, Set, Wait, FormTrigger, GoogleDrive und andere Nodes verwendet. Lipensynchrones virtuelles Avatar-Video mit Infinitalk AI erstellen, teilen und auf TikTok/YouTube hochladen
- •Google Drive API-Anmeldedaten
- •Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
- •OpenAI API Key
Verwendete Nodes (18)
Kategorie
{
"id": "zM0fxJvPvaZkDzxW",
"meta": {
"instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
"templateCredsSetupCompleted": true
},
"name": "Generates talking avatar video from a video and audio file",
"tags": [],
"nodes": [
{
"id": "168e2c77-bb94-4221-9c02-4e3bad48b1c3",
"name": "Status abrufen",
"type": "n8n-nodes-base.httpRequest",
"position": [
848,
848
],
"parameters": {
"url": "=https://queue.fal.run/fal-ai/infinitalk/requests/{{ $('Create Video').item.json.request_id }}/status ",
"options": {},
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "daOZafXpRXLtoLUV",
"name": "Fal.run API"
}
},
"typeVersion": 4.2
},
{
"id": "d7db81ba-eee8-4d55-b651-e5c1b69da1a9",
"name": "60 Sek. warten",
"type": "n8n-nodes-base.wait",
"position": [
672,
848
],
"webhookId": "c435264b-c4e7-4a19-bf4d-79975b92d16d",
"parameters": {
"amount": 60
},
"typeVersion": 1.1
},
{
"id": "71590a73-4289-47d0-ad80-6513f4b11e67",
"name": "Notiz3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-224,
-384
],
"parameters": {
"color": 3,
"width": 740,
"height": 360,
"content": "# Generates talking avatar video from a video and audio file.\n\nThis worflow generates a talking avatar video from an image and audio file. The avatar lip-syncs to the provided audio with natural facial expressions.\n\nThis workflow automates the process of generating and publishing a **talking avatar video**.\nIt takes a **video** and an **audio file** as inputs, then uses the Infinitalk API to create a lip-synced avatar that naturally matches the audio. Once generated, the video is:\n\n1. Retrieved and stored (Google Drive upload).\n2. Optimized with an **AI-generated YouTube title** for better SEO.\n3. Automatically uploaded to **YouTube** and **TikTok** via the Upload-Post API."
},
"typeVersion": 1
},
{
"id": "1eb1de62-2d7a-40a7-836f-6d160d0ff7ff",
"name": "Abgeschlossen?",
"type": "n8n-nodes-base.if",
"position": [
1024,
848
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "383d112e-2cc6-4dd4-8985-f09ce0bd1781",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "COMPLETED"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "7ae6c1ed-7ebf-4904-9576-e8ac5dd8d236",
"name": "Notiz6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-224,
16
],
"parameters": {
"width": 740,
"height": 140,
"content": "## STEP 1 - GET API KEY (YOURAPIKEY)\nCreate an account [here](https://fal.ai/) and obtain API KEY.\nIn the node \"Create Image\" set \"Header Auth\" and set:\n- Name: \"Authorization\"\n- Value: \"Key YOURAPIKEY\""
},
"typeVersion": 1
},
{
"id": "5b8f0f56-3c8e-442c-b448-df7238b74f9a",
"name": "Notiz7",
"type": "n8n-nodes-base.stickyNote",
"position": [
256,
784
],
"parameters": {
"width": 180,
"height": 200,
"content": "Set API Key created in Step 1"
},
"typeVersion": 1
},
{
"id": "1e90ad13-a5d5-446a-847c-b84884b5ad63",
"name": "Video-URL abrufen",
"type": "n8n-nodes-base.httpRequest",
"position": [
-224,
1232
],
"parameters": {
"url": "=https://queue.fal.run/fal-ai/infinitalk/requests/{{ $json.request_id }}",
"options": {},
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "daOZafXpRXLtoLUV",
"name": "Fal.run API"
}
},
"typeVersion": 4.2
},
{
"id": "8f5dfa2e-b463-448c-b2e4-8cf5c4ac30ff",
"name": "Video-Datei abrufen",
"type": "n8n-nodes-base.httpRequest",
"position": [
400,
1232
],
"parameters": {
"url": "={{ $('Get Url Video').item.json.video.url }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "36331aa1-77a7-4f36-83f0-79ef138ad17b",
"name": "Video hochladen",
"type": "n8n-nodes-base.googleDrive",
"position": [
688,
1104
],
"parameters": {
"name": "={{ $now.format('yyyyLLddHHmmss') }}-{{ $('Get Url Video').item.json.video.file_name }}",
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "list",
"value": "1aHRwLWyrqfzoVC8HoB-YMrBvQ4tLC-NZ",
"cachedResultUrl": "https://drive.google.com/drive/folders/1aHRwLWyrqfzoVC8HoB-YMrBvQ4tLC-NZ",
"cachedResultName": "Fal.run"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "HEy5EuZkgPZVEa9w",
"name": "Google Drive account (n3w.it)"
}
},
"typeVersion": 3
},
{
"id": "faf2336b-611b-4edd-8710-252a482d877a",
"name": "Titel generieren",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
32,
1232
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-5-mini",
"cachedResultName": "GPT-5-MINI"
},
"options": {},
"messages": {
"values": [
{
"content": "=Input: {{ $('Set data').item.json.prompt }}"
},
{
"role": "system",
"content": "You are a YouTube SEO expert specialized in creating engaging and optimized titles.\n\nYour task is to generate an effective title for a YouTube video based on the user's video description.\n\nGUIDELINES:\n- Maximum 60 characters to avoid truncation\n- Use relevant keywords for SEO\n- Make the title catchy and clickable\n- Avoid excessive or misleading clickbait\n- Consider the target audience of the content\n- Use numbers, questions, or power words when appropriate\n- IMPORTANT: Generate the title in the same language as the input description\n\nOUTPUT FORMAT:\nProvide only the title, without additional explanations.\n\nEXAMPLE:\nInput: \"Tutorial video on how to cook perfect pasta carbonara\"\nOutput: \"PERFECT Carbonara in 10 Minutes - Chef's Secrets\""
}
]
}
},
"credentials": {
"openAiApi": {
"id": "TefveNaDaMERl1hY",
"name": "OpenAi account (Eure)"
}
},
"typeVersion": 1.8
},
{
"id": "e0126877-c633-4a20-a01e-e22eab75a2ec",
"name": "Notiz",
"type": "n8n-nodes-base.stickyNote",
"position": [
672,
1264
],
"parameters": {
"width": 180,
"height": 408,
"content": "Set YOUR_USERNAME in Step 2"
},
"typeVersion": 1
},
{
"id": "1cae72a1-48ad-43e3-a139-e37b39633f0b",
"name": "Notiz8",
"type": "n8n-nodes-base.stickyNote",
"position": [
-224,
192
],
"parameters": {
"width": 740,
"height": 232,
"content": "## STEP 2 - Upload video on Youtube and TikTok\n- Find your API key in your [Upload-Post Manage Api Keys](https://www.upload-post.com/?linkId=lp_144414&sourceId=n3witalia&tenantId=upload-post-app) 10 FREE uploads per month\n- Set the the \"Auth Header\":\n-- Name: Authorization\n-- Value: Apikey YOUR_API_KEY_HERE\n- Create profiles to manage your social media accounts. The \"Profile\" you choose will be used in the field YOUR_USRNAME (eg. test1 or test2). \n\n\nThe free plan allows uploads to all platforms except TikTok. To enable, please upgrade to a paid plan."
},
"typeVersion": 1
},
{
"id": "0e8e3e1e-e5f5-4bb7-895b-3b819b2bda5d",
"name": "Auf TikTok hochladen",
"type": "n8n-nodes-base.httpRequest",
"position": [
688,
1520
],
"parameters": {
"url": "https://api.upload-post.com/api/upload",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "multipart-form-data",
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "title",
"value": "={{ $('Generate title').item.json.message.content }}"
},
{
"name": "user",
"value": "YOUR_USERNAME"
},
{
"name": "platform[]",
"value": "tiktok"
},
{
"name": "video",
"parameterType": "formBinaryData",
"inputDataFieldName": "data"
}
]
},
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "DEE2XGvhGodgbAJh",
"name": "Upload-post.com API"
}
},
"typeVersion": 4.2
},
{
"id": "549b8aff-9a5f-4ef5-8c77-0240c3469896",
"name": "Notiz1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-224,
464
],
"parameters": {
"color": 4,
"width": 736,
"height": 272,
"content": "## Example On Form Submit\nPrompt:\nA woman with colorful hair talking on a podcast.\n\nVideo url:\nhttps://storage.googleapis.com/falserverless/model_tests/video_models/ref_video.mp4\n\nAudio url:\nhttps://v3.fal.media/files/penguin/PtiCYda53E9Dav25QmQYI_output.mp3\n\nResult:\nhttps://n3wstorage.b-cdn.net/n3witalia/video-talking.mp4"
},
"typeVersion": 1
},
{
"id": "b8974e0c-ae8f-4cf4-8384-ae4f09becf2d",
"name": "Auf Youtube hochladen",
"type": "n8n-nodes-base.httpRequest",
"position": [
688,
1328
],
"parameters": {
"url": "https://api.upload-post.com/api/upload",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "multipart-form-data",
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "title",
"value": "={{ $('Generate title').item.json.message.content }}"
},
{
"name": "user",
"value": "YOUR_USERNAME"
},
{
"name": "platform[]",
"value": "youtube"
},
{
"name": "video",
"parameterType": "formBinaryData",
"inputDataFieldName": "data"
}
]
},
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "RfHIslxMFRjQZ043",
"name": "Youtube Transcript Extractor API 1"
}
},
"typeVersion": 4.2
},
{
"id": "d9c702c8-cfe0-4c2d-b4c6-3cddc68f4a7f",
"name": "Bei Formularübermittlung1",
"type": "n8n-nodes-base.formTrigger",
"position": [
-224,
848
],
"webhookId": "3e1755d7-4963-4891-838a-46d301429da3",
"parameters": {
"options": {},
"formTitle": "Video to Video",
"formFields": {
"values": [
{
"fieldLabel": "Video url",
"requiredField": true
},
{
"fieldLabel": "Audio url",
"requiredField": true
},
{
"fieldLabel": "Prompt",
"requiredField": true
}
]
},
"formDescription": "Infinitalk model generates a talking avatar video from a video and audio file. The avatar lip-syncs to the provided audio with natural facial expressions."
},
"typeVersion": 2.2
},
{
"id": "0317f480-3e59-49b3-890c-7ad2ecbd806b",
"name": "Video erstellen",
"type": "n8n-nodes-base.httpRequest",
"position": [
304,
848
],
"parameters": {
"url": "https://queue.fal.run/fal-ai/infinitalk/video-to-video",
"method": "POST",
"options": {},
"jsonBody": "={\n \"video_url\": \"{{ $json.video_url }}\",\n \"audio_url\": \"{{ $json.audio_url }}\",\n \"prompt\": \"{{ $json.prompt }}\",\n \"num_frames\": 145,\n \"resolution\": \"480p\",\n \"seed\": 42,\n \"acceleration\": \"regular\"\n }",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "daOZafXpRXLtoLUV",
"name": "Fal.run API"
}
},
"typeVersion": 4.2
},
{
"id": "016f2fc7-3c3e-443f-ab67-962fc97a1ff5",
"name": "Daten setzen",
"type": "n8n-nodes-base.set",
"position": [
48,
848
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "c713d31f-9abd-496a-ac79-e8e2efe60aa0",
"name": "prompt",
"type": "string",
"value": "={{ $('On form submission1').item.json.Prompt }}"
},
{
"id": "2308096c-702f-4ed1-9de3-c77d9685609e",
"name": "video_url",
"type": "string",
"value": "={{ $json['Video url'] }}"
},
{
"id": "f5ccbf09-be9f-4132-8bed-5f492bcd7e65",
"name": "audio_url",
"type": "string",
"value": "={{ $json['Audio url'] }}"
}
]
}
},
"typeVersion": 3.4
}
],
"active": false,
"pinData": {
"On form submission1": [
{
"json": {
"Prompt": "A woman with colorful hair talking on a podcast.",
"formMode": "test",
"Audio url": "https://v3.fal.media/files/penguin/PtiCYda53E9Dav25QmQYI_output.mp3",
"Video url": "https://storage.googleapis.com/falserverless/model_tests/video_models/ref_video.mp4",
"submittedAt": "2025-09-23T05:34:42.137-04:00"
}
}
]
},
"settings": {
"executionOrder": "v1"
},
"versionId": "f6af2662-cc1b-4be3-b3f3-b1c1f515076f",
"connections": {
"016f2fc7-3c3e-443f-ab67-962fc97a1ff5": {
"main": [
[
{
"node": "0317f480-3e59-49b3-890c-7ad2ecbd806b",
"type": "main",
"index": 0
}
]
]
},
"1eb1de62-2d7a-40a7-836f-6d160d0ff7ff": {
"main": [
[
{
"node": "1e90ad13-a5d5-446a-847c-b84884b5ad63",
"type": "main",
"index": 0
}
],
[
{
"node": "d7db81ba-eee8-4d55-b651-e5c1b69da1a9",
"type": "main",
"index": 0
}
]
]
},
"168e2c77-bb94-4221-9c02-4e3bad48b1c3": {
"main": [
[
{
"node": "1eb1de62-2d7a-40a7-836f-6d160d0ff7ff",
"type": "main",
"index": 0
}
]
]
},
"0317f480-3e59-49b3-890c-7ad2ecbd806b": {
"main": [
[
{
"node": "d7db81ba-eee8-4d55-b651-e5c1b69da1a9",
"type": "main",
"index": 0
}
]
]
},
"36331aa1-77a7-4f36-83f0-79ef138ad17b": {
"main": [
[]
]
},
"d7db81ba-eee8-4d55-b651-e5c1b69da1a9": {
"main": [
[
{
"node": "168e2c77-bb94-4221-9c02-4e3bad48b1c3",
"type": "main",
"index": 0
}
]
]
},
"1e90ad13-a5d5-446a-847c-b84884b5ad63": {
"main": [
[
{
"node": "faf2336b-611b-4edd-8710-252a482d877a",
"type": "main",
"index": 0
}
]
]
},
"faf2336b-611b-4edd-8710-252a482d877a": {
"main": [
[
{
"node": "8f5dfa2e-b463-448c-b2e4-8cf5c4ac30ff",
"type": "main",
"index": 0
}
]
]
},
"8f5dfa2e-b463-448c-b2e4-8cf5c4ac30ff": {
"main": [
[
{
"node": "36331aa1-77a7-4f36-83f0-79ef138ad17b",
"type": "main",
"index": 0
},
{
"node": "b8974e0c-ae8f-4cf4-8384-ae4f09becf2d",
"type": "main",
"index": 0
},
{
"node": "0e8e3e1e-e5f5-4bb7-895b-3b819b2bda5d",
"type": "main",
"index": 0
}
]
]
},
"b8974e0c-ae8f-4cf4-8384-ae4f09becf2d": {
"main": [
[]
]
},
"d9c702c8-cfe0-4c2d-b4c6-3cddc68f4a7f": {
"main": [
[
{
"node": "016f2fc7-3c3e-443f-ab67-962fc97a1ff5",
"type": "main",
"index": 0
}
]
]
}
}
}Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Experte - Content-Erstellung, Multimodales KI
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
Davide
@n3witaliaFull-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza
Diesen Workflow teilen