The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "AI Video Animation Batch Processor",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "animate-batch",
"responseMode": "responseNode"
},
"id": "webhook-trigger",
"name": "Webhook Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
240,
300
]
},
{
"parameters": {
"jsCode": "const items = $input.all();\nconst data = items[0].json;\n\nconst batchSize = 10;\nconst batches = [];\nconst images = data.images || [];\n\nfor (let i = 0; i < images.length; i += batchSize) {\n batches.push({\n batch_id: Math.floor(i / batchSize) + 1,\n images: images.slice(i, i + batchSize)\n });\n}\n\nconst costPerImage = 0.05;\nconst totalCost = images.length * costPerImage;\n\nreturn {\n job_id: 'anim_' + Date.now(),\n total_images: images.length,\n batches: batches,\n estimated_cost: totalCost,\n settings: data.settings || {}\n};"
},
"id": "batch-processor",
"name": "Batch Processor",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
460,
300
]
},
{
"parameters": {
"url": "YOUR_RUNPOD_ENDPOINT_URL",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer YOUR_RUNPOD_API_KEY"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ $json }}"
},
"id": "runpod-request",
"name": "RunPod Request",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 3,
"position": [
680,
300
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={{ JSON.stringify($json) }}"
},
"id": "webhook-response",
"name": "Webhook Response",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
900,
300
]
}
],
"connections": {
"webhook-trigger": {
"main": [
[
{
"node": "batch-processor",
"type": "main",
"index": 0
}
]
]
},
"batch-processor": {
"main": [
[
{
"node": "runpod-request",
"type": "main",
"index": 0
}
]
]
},
"runpod-request": {
"main": [
[
{
"node": "webhook-response",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"timezone": "UTC",
"executionTimeout": 3600
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
AI Video Animation Batch Processor. Uses httpRequest. Webhook trigger; 4 nodes.
Source: https://github.com/CioravaBogdan/serverless/blob/054941e4ab40e181fd7fc4cdad71b789abaf9f93/n8n/workflow_template.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This n8n template provides enterprise-level version control for your workflows using GitHub integration. Stop losing hours to broken workflows and manual exports – get proper commit history, visual di
This flow creates dummy files for every item added in your *Arrs (Radarr/Sonarr) with the tag .
This workflow acts as a central API gateway for all technical indicator agents in the Binance Spot Market Quant AI system. It listens for incoming webhook requests and dynamically routes them to the c
Sign PDF documents with legally-compliant digital signatures using X.509 certificates. Supports multiple PAdES signature levels (B, T, LT, LTA) with optional visible stamps.
📡 This workflow serves as the central Alpha Vantage API fetcher for Tesla trading indicators, delivering cleaned 20-point JSON outputs for three timeframes: , , and . It is required by the following a