サウンドエフェクトジェネレーター

中級

これはAI分野の自動化ワークフローで、12個のノードを含みます。主にIf, Wait, FormTrigger, GoogleDrive, HttpRequestなどのノードを使用、AI技術を活用したスマート自動化を実現。 CassetteAI を使用してリアルなサウンド効果を生成し、Google ドライブに保存します

前提条件
  • Google Drive API認証情報
  • ターゲットAPIの認証情報が必要な場合あり

カテゴリー

ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "6MbJjFFQ8e6Lq8Rw",
  "meta": {
    "instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
    "templateCredsSetupCompleted": true
  },
  "name": "Sound Effects Generator",
  "tags": [],
  "nodes": [
    {
      "id": "4183ba34-e5a7-4ee1-866a-e6e725b51589",
      "name": "ステータス取得",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        800,
        660
      ],
      "parameters": {
        "url": "=https://queue.fal.run/cassetteai/sound-effects-generator/requests/{{ $('Create audio').item.json.request_id }}/status ",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "daOZafXpRXLtoLUV",
          "name": "Fal.run API"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "d2b00c1e-be8b-4aeb-8b56-85659be7b607",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -220,
        -100
      ],
      "parameters": {
        "color": 3,
        "width": 740,
        "height": 180,
        "content": "# Sound Effects Generator\n\nCreate stunningly realistic sound effects in seconds - CassetteAI's Sound Effects Model generates high-quality SFX up to 30 seconds long in just 1 second of processing time and save the audio file (.wav) on Google Drive\n\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "c3110e24-b0c1-440b-8971-fdfe3f065b72",
      "name": "完了?",
      "type": "n8n-nodes-base.if",
      "position": [
        1020,
        660
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "383d112e-2cc6-4dd4-8985-f09ce0bd1781",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.status }}",
              "rightValue": "COMPLETED"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "5ae7f107-0350-446b-90d3-13ea67969969",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -220,
        320
      ],
      "parameters": {
        "width": 740,
        "height": 100,
        "content": "## STEP 2 - MAIN FLOW\nStart the workflow and type the prompt and the duration (in seconds, max 30)."
      },
      "typeVersion": 1
    },
    {
      "id": "c3872c07-05fd-4124-97f2-843365cfeb3b",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -220,
        120
      ],
      "parameters": {
        "width": 740,
        "content": "## STEP 1 - GET API KEY (YOURAPIKEY)\nCreate an account [here](https://fal.ai/) and obtain API KEY.\nIn the node \"Create Image\" set \"Header Auth\" and set:\n- Name: \"Authorization\"\n- Value: \"Key YOURAPIKEY\""
      },
      "typeVersion": 1
    },
    {
      "id": "c3189915-a6a5-4a1e-973c-d0552d1b95cb",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        600
      ],
      "parameters": {
        "width": 180,
        "height": 200,
        "content": "Set API Key created in Step 2"
      },
      "typeVersion": 1
    },
    {
      "id": "2de370c0-4c08-4154-8f93-c2856b983466",
      "name": "フォーム送信時",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        80,
        660
      ],
      "webhookId": "960dd363-daa5-47d2-b5dc-660c93fb5b05",
      "parameters": {
        "options": {},
        "formTitle": "Sound Effects Generator",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Prompt",
              "requiredField": true
            },
            {
              "fieldType": "number",
              "fieldLabel": "Duration (max 30 sec.)",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Sound Effects Generator"
      },
      "typeVersion": 2.2
    },
    {
      "id": "83e7b9fa-13cd-48b2-81e3-2d9fd0f51410",
      "name": "10秒待機",
      "type": "n8n-nodes-base.wait",
      "position": [
        580,
        660
      ],
      "webhookId": "70185285-4ebd-45a3-9e49-bc0b99120fe9",
      "parameters": {
        "amount": 10
      },
      "typeVersion": 1.1
    },
    {
      "id": "8264d6a6-d174-474f-804c-17859327e2d1",
      "name": "オーディオ作成",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        320,
        660
      ],
      "parameters": {
        "url": "https://queue.fal.run/cassetteai/sound-effects-generator",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n     \"prompt\": \"{{ $json.Prompt }}\",\n     \"duration\": {{ $json['Duration (max 30 sec.)'] }}\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "daOZafXpRXLtoLUV",
          "name": "Fal.run API"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "8b00e3d3-9d8a-4d0d-8971-1666c3158c66",
      "name": "オーディオURL取得",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        100,
        1000
      ],
      "parameters": {
        "url": "=https://queue.fal.run/cassetteai/sound-effects-generator/requests/{{ $json.request_id }}",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "daOZafXpRXLtoLUV",
          "name": "Fal.run API"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "cda508d2-2f10-4d48-8196-f17e20dbb416",
      "name": "オーディオアップロード",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        560,
        1000
      ],
      "parameters": {
        "name": "={{ $now.format('yyyyLLddHHmmss') }}.{{ $json.audio_file.file_name }}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "1aHRwLWyrqfzoVC8HoB-YMrBvQ4tLC-NZ",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1aHRwLWyrqfzoVC8HoB-YMrBvQ4tLC-NZ",
          "cachedResultName": "Fal.run"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "HEy5EuZkgPZVEa9w",
          "name": "Google Drive account (n3w.it)"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "ca095dda-3ac1-4e08-ad67-c4cdea232271",
      "name": "オーディオファイル取得",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        320,
        1000
      ],
      "parameters": {
        "url": "={{ $json.audio_file.url }}",
        "options": {}
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "d6d655d2-8ec6-4807-b17e-fea5d18a9f80",
  "connections": {
    "c3110e24-b0c1-440b-8971-fdfe3f065b72": {
      "main": [
        [
          {
            "node": "8b00e3d3-9d8a-4d0d-8971-1666c3158c66",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "83e7b9fa-13cd-48b2-81e3-2d9fd0f51410",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4183ba34-e5a7-4ee1-866a-e6e725b51589": {
      "main": [
        [
          {
            "node": "c3110e24-b0c1-440b-8971-fdfe3f065b72",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8264d6a6-d174-474f-804c-17859327e2d1": {
      "main": [
        [
          {
            "node": "83e7b9fa-13cd-48b2-81e3-2d9fd0f51410",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cda508d2-2f10-4d48-8196-f17e20dbb416": {
      "main": [
        []
      ]
    },
    "83e7b9fa-13cd-48b2-81e3-2d9fd0f51410": {
      "main": [
        [
          {
            "node": "4183ba34-e5a7-4ee1-866a-e6e725b51589",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8b00e3d3-9d8a-4d0d-8971-1666c3158c66": {
      "main": [
        [
          {
            "node": "ca095dda-3ac1-4e08-ad67-c4cdea232271",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ca095dda-3ac1-4e08-ad67-c4cdea232271": {
      "main": [
        [
          {
            "node": "cda508d2-2f10-4d48-8196-f17e20dbb416",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2de370c0-4c08-4154-8f93-c2856b983466": {
      "main": [
        [
          {
            "node": "8264d6a6-d174-474f-804c-17859327e2d1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - 人工知能

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
中級
ノード数12
カテゴリー1
ノードタイプ6
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

作成者

Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34