MIT licensed·9 ops

ノードを置くだけ。どんな音声も分離。

5分以内に任意のn8n workflowへステム分離を追加できます。glue codeもサーバーも不要で、n8n Cloudでもセルフホストでも使えます。メンテナンス済みのcommunity nodeは非同期操作(Submit Split、Wait for Split、さらにwebhook受信用の専用AI Stem Splitter Trigger)を備えているため、長時間ジョブでもexecutionがタイムアウトしません。

/ 作れるもの

ノードがすでにエンドツーエンドで支える3つのworkflow

Dropboxアップロードを自動ステム化

Dropboxフォルダーの新しいトラックを監視します。各アップロードでSubmit Splitを実行し、完了を待って、4ステムのセットをトラック別サブフォルダーとしてDriveまたはDropboxへ書き戻します。

毎日のカラオケプレイリスト(YouTube cron)

Schedule(cron)triggerが、その日のYouTubeアップロードをチャンネルから取得し、各トラックをSubmit Splitへ送り、vocalsステムを抑えたカラオケ版を公開プレイリストまたはCDN bucketへ送ります。

Slackステムbot

Slack slash commandが音声リンクを投稿します。AI Stem Splitter Trigger nodeが完了webhookを受け取り、各ステムのダウンロードリンクをthread内に返信します。

/ install

n8n Cloudまたはセルフホストにインストール

セルフホスト(npm)

custom-nodesディレクトリからnpm install n8n-nodes-aistemsplitterを実行し、n8nを再起動します。Docker、npm、desktop self-host installsで動作します。MITライセンスです。

txt
# 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.
n8n Cloud(Settings → Community Nodes)

Settings → Community Nodesを開き、Installをクリックし、n8n-nodes-aistemsplitterを貼り付けて確認します。community nodesが有効なCloudテナントで利用できます。

txt
# 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 panel
/ 最初のworkflow

5ステップで作る最初のworkflow

01

triggerを追加

workflowに合うtriggerを選びます。オンデマンド分離ならWebhook、cron jobsならSchedule、アップロード駆動ならGoogle DriveまたはDropbox、チャット駆動ならSlackです。triggerは音声URLをstep 3へ渡します。

スクリーンショット — Trigger picker(Webhook / Schedule / Drive / Slack)
02

credentialを作成

Credentials → Newを開き、AI Stem Splitter APIを検索し、ast_live_キーを貼り付けて保存します。ノードはAPIに対してキーを検証し、✓ Connectedを表示します。このインスタンス内のすべてのAI Stem Splitter nodeで同じcredentialが再利用されます。

AI Stem Splitter credentialsConnected
API Key
ast_live_••••••••••••••••••••
Base URL
https://api.aistemsplitter.org (default)
03

AI Stem Splitter nodeを追加

AI Stem Splitter nodeをcanvasに置き、operation Submit Splitを選び、3つのフィールドを入力します。audioUrl(triggerから)、model(デフォルトはhtdemucs_ft、4ステム。ギターやピアノが必要な場合は6ステムモデルへ切り替え)、stems(返すステムをchip-pick)です。

AI Stem Splitter — Submit Split
Resource
Split
Operation
Submit
Audio URL
{{ $json.audioUrl }}
Model
htdemucs_ft
Stems
vocalsdrumsbassguitarpianoother
04

完了を待つ

ステム分離はファイルごとに30秒から数分かかります。2つのパターンから選べます。Wait for Split操作はジョブ完了までこのexecutionを一時停止します。専用のAI Stem Splitter Trigger nodeは別workflowで完了webhookを受け取ります。メインrunをブロックすべきでない高ボリュームキューに向いています。

スクリーンショット — Wait for Split node または AI Stem Splitter Trigger
05

ステムを使う

出力はステムURLの配列です(vocals、drums、bass、other。必要に応じてguitarとpianoも含まれます)。URLを下流ノードへつなぎます。ボーカルのみの文字起こしならWhisper、保存ならDriveまたはS3、チャット返信ならSlack、ステムライブラリの行ならNotionです。

スクリーンショット — Drive / Slack / ffmpegへ流れる6つのstem URLs
/ templates & further reading

テンプレートと参考資料

/ よくある質問

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 3 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ディレクトリから`npm install n8n-nodes-aistemsplitter`を実行し、n8nを再起動します。n8n Cloudでは、Settings → Community Nodesを開き、n8n-nodes-aistemsplitterを貼り付けて確認します。community-nodeのインストールは現在のすべてのCloudプランでサポートされています(古いテナントでは、先にworkspace settingsでcommunity nodesを有効にする必要がある場合があります)。

  • 長時間ジョブをタイムアウトさせずにworkflowで扱うには?

    2つのパターンがあります。Wait for Split操作はジョブ完了まで現在のworkflowを一時停止します(低ボリュームのキュー向け)。専用のAI Stem Splitter Trigger nodeは別workflowで完了webhookを受け取ります(高ボリューム向け。メインworkflowはすぐ戻り、ステム準備完了時に下流アクションが発火します)。ステム分離は通常、ファイルごとに30秒から数分かかります。

  • trigger nodeはファイアウォール内やVPN内で動きますか?

    Trigger nodeには、APIがPOSTできるinbound webhook URLが必要です。n8n Cloudではtrigger URLが自動的に公開されます。ファイアウォール内のセルフホストでは、テスト用にn8n組み込みトンネル(n8n start --tunnel)を使うか、本番ではreverse proxy / Cloudflare Tunnel経由でwebhookを公開してください。inbound webhooksがまったく使えない場合は、Wait for Split操作(ポーリング、inbound不要)にフォールバックします。

  • このノードを使ったworkflowをエクスポートして共有できますか?

    はい。n8n標準のWorkflow → DownloadでworkflowをJSONとしてエクスポートできます。認証情報はIDで参照され、埋め込まれません。受け取った人はimport時に、自分のast_live_キーでAI Stem Splitter API credentialを再作成します。受け取り側もn8n-nodes-aistemsplitterをインストールしていれば、同じworkflow JSONがセルフホストとCloudの両方で動きます。

  • n8n coreがアップグレードされたらノードは壊れませんか?

    community nodesはn8nのstable interfacesに合わせてpinされています。新しいminor n8n releaseごとにテストし、必要に応じて数日以内に対応するn8n-nodes-aistemsplitterのバージョンをnpmへ公開します。予期しない変更を避けたい場合は、custom-nodes package.jsonで特定のnode versionをpinしてください。GitHub repoのrelease notesでbreaking changeを明示します。

  • アップロードごとにworkflowを実行する場合、ジョブ単位のコストはどう計算されますか?

    無期限のクレジットパックに対して、入力音声の分単位で課金されます。パックサイズに応じて1分あたり$0.08-$0.14です。4分の曲は約$0.32-$0.56、60分のpodcastは約$4.80-$8.40です。最初の3分はカード不要で無料です。per-call surcharge、concurrency tier gate、月額サブスクリプションはありません。実際に処理した音声だけが対象です。

EOD前にステム工程を出荷。

開始用に3分無料(カード不要)。無期限のクレジットパックは、ボリュームに応じて1分あたり$0.08-$0.14です。MITライセンスのnodeをn8n Cloudまたはセルフホストで使えます。