feat: migrate orchestration to n8n and validate lan mvp
This commit is contained in:
70
n8n/workflows/storyforge-ai-video.json
Normal file
70
n8n/workflows/storyforge-ai-video.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"name": "StoryForge AI Video Pipeline",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "storyforge-ai-video",
|
||||
"responseMode": "onReceived",
|
||||
"options": {}
|
||||
},
|
||||
"id": "aivideo-webhook",
|
||||
"name": "AI Video Webhook",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 2,
|
||||
"position": [
|
||||
220,
|
||||
300
|
||||
],
|
||||
"webhookId": "storyforge-ai-video"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"method": "POST",
|
||||
"url": "={{'http://collector:8081/internal/jobs/steps/ai-video/render?job_id=' + ($json.body.job_id || $json.body.jobId)}}",
|
||||
"sendHeaders": true,
|
||||
"headerParameters": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "X-Orchestrator-Secret",
|
||||
"value": "storyforge-local-secret"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"timeout": 3600000
|
||||
}
|
||||
},
|
||||
"id": "aivideo-runner",
|
||||
"name": "Run AI Video Step",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 4.2,
|
||||
"position": [
|
||||
520,
|
||||
300
|
||||
]
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"AI Video Webhook": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Run AI Video Step",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Run AI Video Step": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
}
|
||||
},
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"pinData": {},
|
||||
"versionId": "storyforge-ai-video-v1"
|
||||
}
|
||||
70
n8n/workflows/storyforge-analysis.json
Normal file
70
n8n/workflows/storyforge-analysis.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"name": "StoryForge Analysis Pipeline",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "storyforge-analysis",
|
||||
"responseMode": "onReceived",
|
||||
"options": {}
|
||||
},
|
||||
"id": "analysis-webhook",
|
||||
"name": "Analysis Webhook",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 2,
|
||||
"position": [
|
||||
220,
|
||||
300
|
||||
],
|
||||
"webhookId": "storyforge-analysis"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"method": "POST",
|
||||
"url": "={{'http://collector:8081/internal/jobs/steps/analyze?job_id=' + ($json.body.job_id || $json.body.jobId)}}",
|
||||
"sendHeaders": true,
|
||||
"headerParameters": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "X-Orchestrator-Secret",
|
||||
"value": "storyforge-local-secret"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"timeout": 600000
|
||||
}
|
||||
},
|
||||
"id": "analysis-runner",
|
||||
"name": "Run Analysis Step",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 4.2,
|
||||
"position": [
|
||||
520,
|
||||
300
|
||||
]
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Analysis Webhook": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Run Analysis Step",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Run Analysis Step": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
}
|
||||
},
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"pinData": {},
|
||||
"versionId": "storyforge-analysis-v1"
|
||||
}
|
||||
70
n8n/workflows/storyforge-real-cut.json
Normal file
70
n8n/workflows/storyforge-real-cut.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"name": "StoryForge Real Cut Pipeline",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "storyforge-real-cut",
|
||||
"responseMode": "onReceived",
|
||||
"options": {}
|
||||
},
|
||||
"id": "realcut-webhook",
|
||||
"name": "Real Cut Webhook",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 2,
|
||||
"position": [
|
||||
220,
|
||||
300
|
||||
],
|
||||
"webhookId": "storyforge-real-cut"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"method": "POST",
|
||||
"url": "={{'http://collector:8081/internal/jobs/steps/real-cut/run?job_id=' + ($json.body.job_id || $json.body.jobId)}}",
|
||||
"sendHeaders": true,
|
||||
"headerParameters": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "X-Orchestrator-Secret",
|
||||
"value": "storyforge-local-secret"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"timeout": 3600000
|
||||
}
|
||||
},
|
||||
"id": "realcut-runner",
|
||||
"name": "Run Real Cut Step",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 4.2,
|
||||
"position": [
|
||||
520,
|
||||
300
|
||||
]
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Real Cut Webhook": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Run Real Cut Step",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Run Real Cut Step": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
}
|
||||
},
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"pinData": {},
|
||||
"versionId": "storyforge-real-cut-v1"
|
||||
}
|
||||
Reference in New Issue
Block a user