suno
中級
これはContent Creation, Multimodal AI分野の自動化ワークフローで、10個のノードを含みます。主にIf, Set, Wait, FormTrigger, HttpRequestなどのノードを使用。 Suno V3.5を使用してKIE.ai APIとフォームインターフェースでAI音楽を生成
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "Xy6Z4ILzWvspQx9A",
"meta": {
"instanceId": "96dc772dec50f4b3e9db480fd23a2dd3197bc6a1ccc3bc733e2d5ea6d97363ea"
},
"name": "suno",
"tags": [],
"nodes": [
{
"id": "c023c89f-d3ec-4903-b655-417229115049",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-640,
-1020
],
"parameters": {
"color": 3,
"width": 780,
"height": 780,
"content": "## Overview\nThis workflow allows users to generate AI music using the KIE. ai API integrated with the Suno V3.5 model. It provides a simple form interface for inputting parameters like music prompts, styles, and titles. The system automatically submits the request to the API, monitors the generation status in real time until completion, and retrieves the final music output. This is perfect for musicians, content creators, or developers looking to automate custom music creation with support for various modes and intelligent generation.\n\n## Prerequisites\n- A KIE. ai account and API key: Create an account at [KIE.ai](https://kie.ai) and obtain your API key.\n- An active n8n instance (self-hosted or cloud-based) with support for HTTP requests and form submissions.\n- Familiarity with AI music prompts to optimize results, such as describing mood, instruments, and rhythm.\n\n## Setup Instructions\n1. **Get API Key**: Sign up at KIE. ai and generate your API key. Keep it secure and input it in the form—do not disclose it to others.\n2. **Import Workflow**: Copy the JSON from this template and import it into your n8n editor.\n3. **Configure the Form**: In the form node, set fields for:\n - `prompt`: Describe the music content (e.g., \"A calm and relaxing piano track with soft melodies\").\n - `style`: Specify the genre (e.g., \"Classical\", \"Jazz\", \"Pop\").\n - `title`: Provide a title for the generated music (max 80 characters).\n - `api_key`: Your KIE. ai key.\n4. **Test the Workflow**:\n - Click \"Execute Workflow\" in n8n to activate the form.\n - Access the form URL, fill in the parameters, and submit.\n - The workflow will send a POST request to the API, wait and poll every 10 seconds for status updates, and display the music file once ready.\n5. **View Results**: The output node formats the results, showing playable music files.\n\n## Customization Guidance\n- **Refine Prompts**: For better results, include detailed descriptions like emotions, rhythm, instruments, or lyrics. Example: `\"A peaceful piano meditation track with gentle waves in the background.\" `\n\n\n"
},
"typeVersion": 1
},
{
"id": "90dbb64f-cf81-4336-ab05-791d95a00bf9",
"name": "付箋6",
"type": "n8n-nodes-base.stickyNote",
"position": [
280,
-1060
],
"parameters": {
"width": 640,
"height": 120,
"content": "## STEP 1 - GET API KEY (YOURAPIKEY)\n- Create an account [here](https://kie.ai/) and obtain API KEY.\n- It will be used in on form submission.\n- Important: Please keep your key safe and do not disclose it to others."
},
"typeVersion": 1
},
{
"id": "3a1b8f97-5961-454b-bc07-e89592bdcd72",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
280,
-920
],
"parameters": {
"width": 640,
"height": 180,
"content": "## STEP 2 - Usage process\n1. **Start Workflow**: Click the \"Execute workflow\" button to begin the task.\n2. **Fill Form**: Complete all required fields in the popup form.\n3. **Submit**: Click the \"Submit\" button to send your request.\n4. **Close Window**: You can close the form window after successful submission.\n5. **Wait for Generation**: The system automatically checks status every 10 seconds.\n6. **Get Results**: Music files will be displayed automatically when generation is complete."
},
"typeVersion": 1
},
{
"id": "28acd80e-afe7-4b5e-9c6e-961ede22a0c5",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
280,
-720
],
"parameters": {
"width": 640,
"height": 500,
"content": "## STEP 3 - AI Music Generator - Parameter Usage Guide\n1. **Prompt** (Music Description)\n - Purpose: Describe the music content you want to generate.\n - Example: \"A calm and relaxing piano track with soft melodies\".\n - Character Limit: Maximum 3000 characters.\n - Tips:\n More detailed descriptions lead to better results.\n Include emotions, rhythm, instruments, etc.\n In current mode, this description will be used as lyrics content.\n2. **Style** (Music Style)\n - Purpose: Specify the music genre or style.\n - Example: \"Classical\", \"Jazz\", \"Pop\", \"Electronic\", \"Rock\".\n - Character Limit: Maximum 200 characters.\n - Common Styles: Classical,Jazz,Pop,Electronic,Rock,Hip-hop.\n3. **Title** (Music Title)\n - Purpose: Set a title for the generated music.\n - Example: \"Peaceful Piano Meditation\".\n - Character Limit: Maximum 80 characters.\n - Usage: Title will be displayed in player interfaces and filenames.\n4. **Api_key** (API Key)\n - This is what you get in the first step."
},
"typeVersion": 1
},
{
"id": "fabb015f-e732-46a0-b86e-696f3a9f6b70",
"name": "音楽生成パラメータを送信",
"type": "n8n-nodes-base.formTrigger",
"position": [
-320,
-140
],
"webhookId": "791b190b-2acc-4d10-b593-c1929e67686c",
"parameters": {
"options": {},
"formTitle": "AI music generator",
"formFields": {
"values": [
{
"fieldLabel": "prompt"
},
{
"fieldLabel": "style"
},
{
"fieldLabel": "title"
},
{
"fieldLabel": "api_key"
}
]
},
"formDescription": "Please fill in the following information to generate your music"
},
"typeVersion": 2.2
},
{
"id": "a9fbbb31-9479-4594-85bb-f0e5b2f57c82",
"name": "KIE.ai API に音楽生成リクエストを送信",
"type": "n8n-nodes-base.httpRequest",
"position": [
-100,
-140
],
"parameters": {
"url": "https://api.kie.ai/api/v1/generate",
"method": "POST",
"options": {},
"jsonBody": "{\n \"prompt\": \"{{$json.prompt}}\",\n \"style\": \"{{$json.style}}\",\n \"title\": \"{{$json.title}}\",\n \"customMode\": true,\n \"instrumental\": false,\n \"model\": \"V3_5\",\n \"callBackUrl\": \"https://api.example.com/callback\",\n \"negativeTags\": \"\"\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "=Bearer {{$json.api_key}}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "b6d1e752-d1ad-42fc-a1c5-ead97f4b39e9",
"name": "音楽処理を待機",
"type": "n8n-nodes-base.wait",
"position": [
140,
-140
],
"webhookId": "efca324d-e98a-469c-90f6-41082f44fb75",
"parameters": {
"amount": 10
},
"typeVersion": 1.1
},
{
"id": "48da77f5-6c09-46e6-a465-6a67040cbeb0",
"name": "音楽生成ステータスをポーリング",
"type": "n8n-nodes-base.httpRequest",
"position": [
500,
-140
],
"parameters": {
"url": "https://api.kie.ai/api/v1/generate/record-info",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"queryParameters": {
"parameters": [
{
"name": "taskId",
"value": "={{$json.data.taskId}}"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "=Bearer {{$node[\"Submit Music Generation Parameters\"].json[\"api_key\"]}}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "dbfa987d-7342-432a-97a5-078b7dc9d6d2",
"name": "音楽生成完了を確認",
"type": "n8n-nodes-base.if",
"position": [
320,
80
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "faf4bf4c-8a8e-49a3-b62a-14a4af0b7dfb",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "true",
"rightValue": "={{$json.data.status == \"SUCCESS\"}}"
}
]
},
"looseTypeValidation": true
},
"typeVersion": 2.2
},
{
"id": "239877dd-a026-45b2-a09a-de430c0bb982",
"name": "音楽結果を整形して表示",
"type": "n8n-nodes-base.set",
"position": [
600,
60
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "73bdb28d-6b86-47d5-98d2-4647600a11bd",
"name": "audioUrl1",
"type": "string",
"value": "={{$json.data.response.sunoData[0].audioUrl}}"
},
{
"id": "3f468fe2-189d-40a1-805d-9090b93bfe6e",
"name": "audioUrl2",
"type": "string",
"value": "={{ $json.data.response.sunoData[1].audioUrl }}"
}
]
}
},
"typeVersion": 3.4
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "a65abf3d-dfef-4b6d-ada0-399c9631d13d",
"connections": {
"b6d1e752-d1ad-42fc-a1c5-ead97f4b39e9": {
"main": [
[
{
"node": "48da77f5-6c09-46e6-a465-6a67040cbeb0",
"type": "main",
"index": 0
}
]
]
},
"48da77f5-6c09-46e6-a465-6a67040cbeb0": {
"main": [
[
{
"node": "dbfa987d-7342-432a-97a5-078b7dc9d6d2",
"type": "main",
"index": 0
}
]
]
},
"dbfa987d-7342-432a-97a5-078b7dc9d6d2": {
"main": [
[
{
"node": "239877dd-a026-45b2-a09a-de430c0bb982",
"type": "main",
"index": 0
}
],
[
{
"node": "b6d1e752-d1ad-42fc-a1c5-ead97f4b39e9",
"type": "main",
"index": 0
}
]
]
},
"fabb015f-e732-46a0-b86e-696f3a9f6b70": {
"main": [
[
{
"node": "a9fbbb31-9479-4594-85bb-f0e5b2f57c82",
"type": "main",
"index": 0
}
]
]
},
"a9fbbb31-9479-4594-85bb-f0e5b2f57c82": {
"main": [
[
{
"node": "b6d1e752-d1ad-42fc-a1c5-ead97f4b39e9",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - コンテンツ作成, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Veo
KIE.AI Veo3 を使ってテキストプロンプトから AI 動画を生成
If
Set
Wait
+
If
Set
Wait
10 ノードyichao zeng
コンテンツ作成
mj
KIE.AI Midjourney API を使用して AI 画像とビデオを生成する
If
Set
Wait
+
If
Set
Wait
10 ノードdamo
その他
バナナ
KIE.AI Nano Banana APIでキャラクター一貫のAI画像を生成
If
Set
Wait
+
If
Set
Wait
10 ノードdamo
その他
WordPressブログの自動化プロフェッショナル版(先端研究)v2.1マーケットプラグイン
GPT-4o、Perplexity AI、そして多言語対応を使ったSEO最適化ブログ作成の自動化
If
Set
Xml
+
If
Set
Xml
125 ノードDaniel Ng
コンテンツ作成
ローカルなリード検索とコールドメール送信の自動化
Apify、AI、Gmail を使って地元のリードを自動検出してブルーノートを送信する
If
Set
Wait
+
If
Set
Wait
18 ノードMeak
コンテンツ作成
Google Drive および Nano Banana API を使用したバッチ証明写真変換機・アップグレード機
Google Drive と Nano Banana API を使ったバッチ証明写真変換機とアップグレード機
If
Set
Code
+
If
Set
Code
16 ノードpanyanyany
コンテンツ作成