Nero AI Business API を使用して画像強化 API エンドポイントを作成
中級
これはDesign, AI分野の自動化ワークフローで、8個のノードを含みます。主にIf, Wait, Webhook, HttpRequest, RespondToWebhookなどのノードを使用、AI技術を活用したスマート自動化を実現。 Nero AI Business APIを使って画像強化APIエンドポイントを作成
前提条件
- •HTTP Webhookエンドポイント(n8nが自動生成)
- •ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"meta": {
"instanceId": "a6e279c50a7024b3eb450d8593ec3a4b5453fd5a8763f02c0bc267684a7d6963"
},
"nodes": [
{
"id": "971a6566-192d-4ad8-acc1-e9e2f629151f",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-40,
0
],
"webhookId": "c9795945-7dbb-45cb-9082-d3629f15504a",
"parameters": {
"path": "c9795945-7dbb-45cb-9082-d3629f15504a",
"options": {},
"httpMethod": "POST",
"responseMode": "responseNode"
},
"typeVersion": 2
},
{
"id": "faef3c56-cfd9-407e-8118-8b41d8864c36",
"name": "Webhook への応答",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
1160,
0
],
"parameters": {
"options": {}
},
"typeVersion": 1.3
},
{
"id": "a30aaef1-8761-4b49-9b92-68922593feac",
"name": "待機",
"type": "n8n-nodes-base.wait",
"position": [
440,
0
],
"webhookId": "59a2e9e4-6c03-4672-815f-9c9093ce0828",
"parameters": {
"amount": 2
},
"typeVersion": 1.1
},
{
"id": "63bb4342-5d24-43c3-b632-5946cdc4c64b",
"name": "条件分岐",
"type": "n8n-nodes-base.if",
"position": [
880,
0
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "e2dbf1c1-d68c-4202-acf9-dab4624281f3",
"operator": {
"type": "number",
"operation": "equals"
},
"leftValue": "={{ $json.code }}",
"rightValue": 0
},
{
"id": "bc499e4c-8eed-40d8-b09f-eb57df6d301f",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.status }}",
"rightValue": "done"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "9ef7adc4-43cc-4e28-ad21-04681e5d3587",
"name": "タスク作成",
"type": "n8n-nodes-base.httpRequest",
"position": [
220,
0
],
"parameters": {
"url": "https://ai.nero.com/biz/api/task",
"method": "POST",
"options": {},
"jsonBody": "{\n \"type\": \"FaceDetection\",\n \"body\": {\n \"images\": [\n \"https://image.url\"\n ]\n }\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "x-neroai-api-key",
"value": "your API key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "17fd191a-de94-42ca-9bb3-e79aeca82f03",
"name": "タスク状態照会",
"type": "n8n-nodes-base.httpRequest",
"position": [
660,
0
],
"parameters": {
"url": "https://ai.nero.com/biz/api/task",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"queryParameters": {
"parameters": [
{
"name": "task_id",
"value": "={{ $json.data.task_id }}"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "x-neroai-api-key",
"value": "your API key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "ddf31898-d972-41ca-a6bb-552fdb07997b",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
280,
-460
],
"parameters": {
"width": 620,
"height": 140,
"content": "## Create an AI task API endpoint\n\nIn this workflow we show how to create an AI task API endpoint with `Webhook` and `Respond to Webhook` nodes"
},
"typeVersion": 1
},
{
"id": "08f7c363-1e06-4f4e-b1ee-60d6d43d6bf7",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
280,
-300
],
"parameters": {
"width": 620,
"height": 240,
"content": "### How to use it\n1. Apply for an API key from https://ai.nero.com/business\n2. Fill your key into the `Create task` and `Query task status` nodes\n3. Select an AI service and modify `Create task` node parameters, the API doc: https://ai.nero.com/ai-api/docs\n4. Execute the workflow so that the webhook starts listening\n5. Make a test request by postman or other tools, the test URL from the `Webhook` node\n\nYou will receive the output in the webhook response."
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"63bb4342-5d24-43c3-b632-5946cdc4c64b": {
"main": [
[
{
"node": "faef3c56-cfd9-407e-8118-8b41d8864c36",
"type": "main",
"index": 0
}
],
[
{
"node": "a30aaef1-8761-4b49-9b92-68922593feac",
"type": "main",
"index": 0
}
]
]
},
"a30aaef1-8761-4b49-9b92-68922593feac": {
"main": [
[
{
"node": "17fd191a-de94-42ca-9bb3-e79aeca82f03",
"type": "main",
"index": 0
}
]
]
},
"971a6566-192d-4ad8-acc1-e9e2f629151f": {
"main": [
[
{
"node": "9ef7adc4-43cc-4e28-ad21-04681e5d3587",
"type": "main",
"index": 0
}
]
]
},
"9ef7adc4-43cc-4e28-ad21-04681e5d3587": {
"main": [
[
{
"node": "a30aaef1-8761-4b49-9b92-68922593feac",
"type": "main",
"index": 0
}
]
]
},
"17fd191a-de94-42ca-9bb3-e79aeca82f03": {
"main": [
[
{
"node": "63bb4342-5d24-43c3-b632-5946cdc4c64b",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - デザイン, 人工知能
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
FLUX-fill スタンドアロン版
FLUX.1インペインティングツールを搭載した対話型画像エディタで画像修復
If
Set
Html
+
If
Set
Html
18 ノードEduard
デザイン
AI、ElevenLabs、マルチプラットフォーム公開を使ってPOVビデオの作成と承認
AI、ElevenLabs、そしてマルチプラットフォーム公開を使ったPOVビデオの作成と承認(TikTok/IG/YT)
If
Set
Code
+
If
Set
Code
60 ノードImmanuel
デザイン
OpenAIスクリプト、Leonardo画像、HeyGenバーチャルキャラを使ってAI動画を作成する
OpenAIスクリプト、Leonardoイメージ、HeyGenバーチャルアバターでAIビデオを作成
If
Set
Code
+
If
Set
Code
68 ノードAdam Crafts
デザイン
スクリプト、画像、HeyGenバーチャルキャラを使ってAI動画を作成する(🔥期限内特別価格)
スクリプト、イメージ、HeyGenバーチャルアバターでAIビデオを作成(🔥期間限定特典)
If
Set
Code
+
If
Set
Code
68 ノードAdam Crafts
デザイン
RetellAI を使った電話アイドルを構築してリード外提起格付と内向電話処理 -動画
RetellAI 電話アジェント、OpenAI GPT-4、Google Sheets を使った potential customer 資格認定の自動化
If
Wait
Gmail
+
If
Wait
Gmail
18 ノードDr. Firas
営業
Redditの投稿をAIで動画に変換
AIを使ってRedditの投稿を動画に変換する
If
Set
Code
+
If
Set
Code
43 ノードArtur
人工知能