拖入一個 node,分離任何音訊。
5 分鐘內把 stem 分離加入任何 n8n workflow——不需膠水程式碼、不需伺服器,支援 n8n Cloud 或自架。維護中的 community node 提供 async operations(Submit Split、Wait for Split,以及專門接收 webhook 的 AI Stem Splitter Trigger),讓長時間執行的 jobs 不會拖到 execution timeout。
這個 node 已經端到端支援的三個 workflow
自動拆分 Dropbox uploads
監看 Dropbox folder 中的新音軌。每次上傳都會執行 Submit Split,等待完成,並把四條 stem set 寫回 Drive 或 Dropbox 中對應音軌的 subfolder。
每日 karaoke playlist(YouTube cron)
Schedule(cron)trigger 拉取某個 channel 當天的 YouTube uploads,把每條音軌送進 Submit Split,並隱藏 vocals stem,再把 karaoke version 推送到公開 playlist 或 CDN bucket。
Slack stem bot
Slack slash command 提交一個音訊連結。AI Stem Splitter Trigger node 接收完成 webhook,並在線程內回覆每條 stem 的下載連結。
安裝到 n8n Cloud 或自架環境
從你的 custom-nodes directory 執行 npm install n8n-nodes-aistemsplitter,然後重新啟動 n8n。適用於 Docker、npm 和 desktop self-host installs。MIT 授權。
# 1. Install the package
npm install n8n-nodes-aistemsplitter
# 2. Restart your n8n instance
n8n start
# 3. The "AI Stem Splitter" node appears in your nodes panel.開啟 Settings → Community Nodes,點擊 Install,貼上 n8n-nodes-aistemsplitter,並確認。適用於已啟用 community nodes 的 Cloud tenants。
# In n8n Cloud:
# 1. Settings → Community Nodes → Install
# 2. npm Package Name: n8n-nodes-aistemsplitter
# 3. Tick "I understand the risks", click Install
# 4. Refresh the workflow editor — node now in the panel5 步完成你的第一個 workflow
新增 trigger
選擇符合你 workflow 的 trigger:按需分離用 Webhook,cron jobs 用 Schedule,upload-driven runs 用 Google Drive 或 Dropbox,chat-driven splits 用 Slack。這個 trigger 會把 audio URL 傳給 step 3。
建立 credential
開啟 Credentials → New,搜尋 AI Stem Splitter API,貼上你的 ast_live_ key,並儲存。這個 node 會用 API 驗證 key,並顯示 ✓ Connected。同一個 credential 會被這個 instance 裡的每個 AI Stem Splitter node 重複使用。
新增 AI Stem Splitter node
把 AI Stem Splitter node 拖到 canvas 上,選擇 operation Submit Split,並填寫三個欄位:audioUrl(來自 trigger)、model(預設 htdemucs_ft,四條 stem——需要 guitar 或 piano 時切換到 six-stem model),以及 stems(用 chip 選擇要回傳的 stems)。
等待完成
Stem splitting 每個檔案需要 30 秒到幾分鐘。選擇兩種模式之一:Wait for Split operation 暫停本次 execution 直到 job 完成;或讓專用的 AI Stem Splitter Trigger node 在獨立 workflow 中接收完成 webhook——更適合不應阻塞主 run 的高量隊列。
使用 stems
輸出是一個 stem URLs array(vocals、drums、bass、other;request 時還可加 guitar 和 piano)。把這些 URLs 接到下游 nodes——Whisper 做 vocal-only transcription,Drive 或 S3 做儲存,Slack 做聊天回覆,Notion row 做 stem library entry。
Templates 與延伸閱讀
Workflow templates
預先建立的 n8n workflows:stem-on-upload、daily karaoke、Slack stem bot。
API reference
完整 REST endpoints、error codes、OpenAPI 3.1 規格。
其他整合
GitHub Action、Docker/CLI、Pipedream——同一把 API 金鑰。
GitHub: https://github.com/aistemsplitter/n8n-nodes-aistemsplitter
FAQ
Does the n8n node work on n8n Cloud or only self-host?
Both. On self-host, run `npm install n8n-nodes-aistemsplitter` from your custom-nodes directory and restart n8n. On n8n Cloud, open Settings → Community Nodes, paste n8n-nodes-aistemsplitter, and confirm — community-node install is supported on all current Cloud plans (legacy tenants may need to enable community nodes in workspace settings first).
How does the workflow handle long-running jobs without timing out?
Two patterns. The Wait for Split operation pauses the current workflow until the job finishes (good for low-volume queues). The dedicated AI Stem Splitter Trigger node receives the completion webhook in a separate workflow (better for high volume — main workflow returns immediately, downstream actions fire when stems are ready). Stem separation typically takes 30 seconds to a few minutes per file.
Does the trigger node work behind a firewall or behind a VPN?
The Trigger node needs an inbound webhook URL the API can POST to. On n8n Cloud, the trigger URL is automatically public. On self-host behind a firewall, use n8n's built-in tunnel (n8n start --tunnel) for testing, or expose the webhook via a reverse proxy / Cloudflare Tunnel for production. If inbound webhooks aren't possible at all, fall back to the Wait for Split operation (polling, no inbound).
Can I export and share a workflow that uses this node?
Yes. Use n8n's standard Workflow → Download to export the workflow as JSON. Credentials are referenced by ID, not embedded — recipients re-create the AI Stem Splitter API credential with their own ast_live_ key when they import. The same workflow JSON works across self-host and Cloud as long as the recipient also installs n8n-nodes-aistemsplitter.
Will the node break when n8n core upgrades?
Community nodes pin against n8n's stable interfaces. We test against each new minor n8n release and publish a matching version of n8n-nodes-aistemsplitter to npm within a few days when needed. Pin a specific node version in your custom-nodes package.json if you want zero surprise; the GitHub repo's release notes call out any breaking change explicitly.
How is per-job cost calculated when the workflow runs on every upload?
Per minute of input audio against credit packs that never expire — $0.08–$0.14 per minute depending on pack size. A 4-minute song is ~$0.32–$0.56; a 60-minute podcast is ~$4.80–$8.40. The first 10 minutes are free with no card required. There's no per-call surcharge, no concurrency tier gate, and no monthly subscription — only audio you actually process.
n8n node 可以在 n8n Cloud 使用,還是只能自架?
兩者都可以。自架時,從你的 custom-nodes directory 執行 `npm install n8n-nodes-aistemsplitter`,然後重新啟動 n8n。在 n8n Cloud 上,開啟 Settings → Community Nodes,貼上 n8n-nodes-aistemsplitter 並確認——目前所有 Cloud plans 都支援 community-node install(legacy tenants 可能需要先在 workspace settings 啟用 community nodes)。
workflow 要怎麼處理長時間執行的 jobs,避免 timeout?
有兩種模式。Wait for Split operation 會暫停目前 workflow,直到 job 完成(適合低量隊列)。專用的 AI Stem Splitter Trigger node 會在另一個 workflow 中接收完成 webhook(更適合高量場景——主 workflow 立即返回,下游 actions 在 stems ready 後觸發)。Stem separation 通常每個檔案需要 30 秒到幾分鐘。
Trigger node 在 firewall 或 VPN 後面可以運作嗎?
Trigger node 需要一個 API 可以 POST 到的 inbound webhook URL。在 n8n Cloud 上,trigger URL 會自動公開。自架且位於 firewall 後面時,測試階段可使用 n8n 內建 tunnel(n8n start --tunnel),production 則透過 reverse proxy / Cloudflare Tunnel 暴露 webhook。如果完全無法接收入站 webhooks,請退回 Wait for Split operation(polling,無需 inbound)。
我可以匯出並分享使用這個 node 的 workflow 嗎?
可以。使用 n8n 標準的 Workflow → Download 將 workflow 匯出為 JSON。Credentials 只會以 ID 參照,不會內嵌——接收者匯入後,用自己的 ast_live_ key 重新建立 AI Stem Splitter API credential。只要接收者也安裝 n8n-nodes-aistemsplitter,同一份 workflow JSON 就能同時在自架和 Cloud 上運行。
n8n core 升級時,這個 node 會壞掉嗎?
Community nodes 會 pin 到 n8n 的 stable interfaces。我們會針對每個新的 n8n minor release 測試,並在需要時幾天內把匹配版本的 n8n-nodes-aistemsplitter 發布到 npm。如果你想要零意外,可以在 custom-nodes package.json 中 pin 特定 node version;GitHub repo 的 release notes 會明確標出任何 breaking change。
workflow 每次上傳都執行時,每個 job 的成本怎麼算?
依輸入音訊分鐘數從永不到期的分鐘包扣費——依方案大小不同,每分鐘 $0.08–$0.14。一首 4 分鐘歌曲約 $0.32–$0.56;一集 60 分鐘 podcast 約 $4.80–$8.40。前 10 分鐘免費且不需信用卡。沒有 per-call surcharge、沒有 concurrency tier gate,也沒有月訂閱——只為你實際處理的音訊付費。
今天下班前交付 stem 處理步驟。
前 10 分鐘免費開始(不需信用卡)。分鐘包永不到期——依購買量不同,每分鐘 $0.08–$0.14。MIT 授權 node,支援 n8n Cloud 或自架。