AI-driven YouTube video generator that creates viral content automatically - from script to upload in minutes. Modern SaaS platform built with Laravel, Vue.js, n8n and Docker, featuring intelligent automation and seamless YouTube integration.
{
"name": "Autopilot Video Generation",
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{
"field": "hours",
"hoursInterval": 24
}
]
}
},
"id": "schedule-trigger",
"name": "Daily Schedule",
"type": "n8n-nodes-base.cron",
"typeVersion": 1,
"position": [
240,
300
]
},
{
"parameters": {
"url": "http://app:8000/api/autopilot/topics",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer autopilot-api-key"
}
]
}
},
"id": "get-scheduled-topics",
"name": "Get Scheduled Topics",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
460,
300
]
},
{
"parameters": {
"batchSize": 1,
"options": {}
},
"id": "process-each-topic",
"name": "Process Each Topic",
"type": "n8n-nodes-base.splitInBatches",
"typeVersion": 3,
"position": [
680,
300
]
},
{
"parameters": {
"url": "http://localhost:5678/webhook/video-generation",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "topic",
"value": "={{ $json.topic }}"
},
{
"name": "duration",
"value": "={{ $json.duration }}"
},
{
"name": "video_id",
"value": "={{ $json.video_id }}"
},
{
"name": "api_token",
"value": "={{ $json.api_token }}"
},
{
"name": "voice_id",
"value": "pNInz6obpgDQGcFmaJgB"
}
]
}
},
"id": "trigger-video-generation",
"name": "Trigger Video Generation",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
900,
300
]
},
{
"parameters": {
"amount": 300,
"unit": "seconds"
},
"id": "wait-for-processing",
"name": "Wait for Processing",
"type": "n8n-nodes-base.wait",
"typeVersion": 1,
"position": [
1120,
300
]
},
{
"parameters": {
"url": "http://localhost:5678/webhook/youtube-upload",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "video_id",
"value": "={{ $json.video_id }}"
},
{
"name": "api_token",
"value": "={{ $json.api_token }}"
},
{
"name": "youtube_access_token",
"value": "={{ $json.youtube_access_token }}"
},
{
"name": "youtube_api_key",
"value": "={{ $json.youtube_api_key }}"
}
]
}
},
"id": "trigger-youtube-upload",
"name": "Trigger YouTube Upload",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
1340,
300
]
}
],
"connections": {
"Daily Schedule": {
"main": [
[
{
"node": "Get Scheduled Topics",
"type": "main",
"index": 0
}
]
]
},
"Get Scheduled Topics": {
"main": [
[
{
"node": "Process Each Topic",
"type": "main",
"index": 0
}
]
]
},
"Process Each Topic": {
"main": [
[
{
"node": "Trigger Video Generation",
"type": "main",
"index": 0
}
]
]
},
"Trigger Video Generation": {
"main": [
[
{
"node": "Wait for Processing",
"type": "main",
"index": 0
}
]
]
},
"Wait for Processing": {
"main": [
[
{
"node": "Trigger YouTube Upload",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"timezone": "UTC"
},
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z",
"id": "3"
}