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 →
{
"id": "tunovaWebhookToSong",
"name": "Tunova \u2014 Generate a song via webhook (drop-in API)",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "generate-song",
"responseMode": "responseNode",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
0,
0
],
"id": "a1111111-1111-4111-8111-111111111111",
"name": "POST /generate-song"
},
{
"parameters": {
"method": "POST",
"url": "https://api.tunova.ai/api/generate",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\n \"prompt\": {{ JSON.stringify($json.body.prompt) }},\n \"instrumental\": {{ $json.body.instrumental === true }}\n}",
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
220,
0
],
"id": "a2222222-2222-4222-8222-222222222222",
"name": "Tunova: start generation",
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"amount": 150,
"unit": "seconds"
},
"type": "n8n-nodes-base.wait",
"typeVersion": 1.1,
"position": [
440,
0
],
"id": "a3333333-3333-4333-8333-333333333333",
"name": "Wait for render"
},
{
"parameters": {
"url": "=https://api.tunova.ai/api/jobs/{{ $('Tunova: start generation').item.json.job_id }}",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
660,
0
],
"id": "a4444444-4444-4444-8444-444444444444",
"name": "Tunova: get result",
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={\n \"status\": {{ JSON.stringify($json.status) }},\n \"audio_url\": {{ JSON.stringify($json.clips?.[0]?.audio_url ?? null) }},\n \"title\": {{ JSON.stringify($json.clips?.[0]?.title ?? null) }}\n}",
"options": {}
},
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.1,
"position": [
880,
0
],
"id": "a5555555-5555-4555-8555-555555555555",
"name": "Return audio URL"
}
],
"connections": {
"POST /generate-song": {
"main": [
[
{
"node": "Tunova: start generation",
"type": "main",
"index": 0
}
]
]
},
"Tunova: start generation": {
"main": [
[
{
"node": "Wait for render",
"type": "main",
"index": 0
}
]
]
},
"Wait for render": {
"main": [
[
{
"node": "Tunova: get result",
"type": "main",
"index": 0
}
]
]
},
"Tunova: get result": {
"main": [
[
{
"node": "Return audio URL",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
httpHeaderAuth
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Tunova — Generate a song via webhook (drop-in API). Uses httpRequest. Webhook trigger; 5 nodes.
Source: https://github.com/erliona/tunova-templates/blob/main/n8n/02-webhook-to-song.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 .
eek-Go v2 (Batch-Then-Review). Uses httpRequest. Webhook trigger; 75 nodes.
This workflow receives webhook requests from a content calendar and uses the X API v2 to publish text posts, threads, image/video posts, and polls, as well as delete existing posts and run a credentia
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