Replicate APIを使用してGoogle Imagen 3でテキストプロンプトから画像を生成
上級
これは自動化ワークフローで、19個のノードを含みます。主にIf, Set, Wait, HttpRequest, StopAndErrorなどのノードを使用。 Replicate APIを通じてGoogle Imagen 3でテキストプロンプトから画像を生成
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
カテゴリー
-
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"meta": {
"instanceId": "568298fde06d3db80a2eea77fe5bf45f0c7bb898dea20b769944e9ac7c6c5a80",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "c8352756-4848-4a5f-8300-c1d8f5b25f50",
"name": "「Test workflow」クリック時",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-20,
-100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e4271dac-0119-493d-a481-286fa95c8920",
"name": "停止とエラー",
"type": "n8n-nodes-base.stopAndError",
"position": [
2160,
200
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4ce20910-01f0-48c2-927a-e8588f7a2fcf",
"name": "待機",
"type": "n8n-nodes-base.wait",
"position": [
1860,
280
],
"webhookId": "59d47606-522a-4eab-8baf-c0d67ec771be",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "21c0e61a-3d0f-4669-9875-077c7f6822da",
"name": "エラーチェック",
"type": "n8n-nodes-base.if",
"position": [
1660,
120
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "7aeaa726-cbc9-4d10-90b2-8d2c7e729f02",
"name": "画像URLを取得",
"type": "n8n-nodes-base.set",
"position": [
1920,
-220
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "2167258a-f51b-425b-ae8d-ca6e6c25623f",
"name": "予測ステータスを確認",
"type": "n8n-nodes-base.httpRequest",
"position": [
1000,
-100
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "da3b4773-d505-4526-8af7-289284302a34",
"name": "予測用フィールドを設定",
"type": "n8n-nodes-base.set",
"position": [
800,
-100
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "4bfdadb4-0db8-45b9-b27c-e856a27d9725",
"name": "一時停止",
"type": "n8n-nodes-base.wait",
"position": [
600,
-100
],
"webhookId": "2008b7e9-6fbb-48b6-843a-c477d74fc319",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "7d4c2649-b444-4dbc-8401-ac89b98cd5cf",
"name": "予測を作成",
"type": "n8n-nodes-base.httpRequest",
"position": [
380,
-100
],
"parameters": {},
"notesInFlow": false,
"typeVersion": 4.2
},
{
"id": "52ef99ec-6fcc-4ca1-9f5e-0cd550e129a3",
"name": "プロンプトを設定",
"type": "n8n-nodes-base.set",
"position": [
180,
-100
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "925f4691-3da6-46c5-93c9-66a180ed7faf",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
160,
-200
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2a176375-a1ce-49d0-b74d-287b31b60b75",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
740,
-200
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "010a33a7-d815-46b0-b618-3d67b0e04808",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1180,
-200
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "be727fe6-6c2d-4084-987a-61c6e1c5dad2",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1620,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "c2f0605f-02f4-46fb-8971-6136a99e5c1e",
"name": "成功を確認",
"type": "n8n-nodes-base.if",
"position": [
1240,
-80
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "741515e3-fe77-408f-8b69-ccb202241853",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
2080,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "c9c03037-f315-4691-886c-ec5f0fcc9812",
"name": "付箋5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1620,
-280
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "01a34517-52f1-4960-b425-af528854bacd",
"name": "付箋6",
"type": "n8n-nodes-base.stickyNote",
"position": [
160,
-600
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "90864709-1be1-4af9-9625-4b7d159414df",
"name": "付箋7",
"type": "n8n-nodes-base.stickyNote",
"position": [
1180,
-600
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"4ce20910-01f0-48c2-927a-e8588f7a2fcf": {
"main": [
[
{
"node": "da3b4773-d505-4526-8af7-289284302a34",
"type": "main",
"index": 0
}
]
]
},
"4bfdadb4-0db8-45b9-b27c-e856a27d9725": {
"main": [
[
{
"node": "da3b4773-d505-4526-8af7-289284302a34",
"type": "main",
"index": 0
}
]
]
},
"52ef99ec-6fcc-4ca1-9f5e-0cd550e129a3": {
"main": [
[
{
"node": "7d4c2649-b444-4dbc-8401-ac89b98cd5cf",
"type": "main",
"index": 0
}
]
]
},
"21c0e61a-3d0f-4669-9875-077c7f6822da": {
"main": [
[
{
"node": "e4271dac-0119-493d-a481-286fa95c8920",
"type": "main",
"index": 0
}
],
[
{
"node": "4ce20910-01f0-48c2-927a-e8588f7a2fcf",
"type": "main",
"index": 0
}
]
]
},
"c2f0605f-02f4-46fb-8971-6136a99e5c1e": {
"main": [
[
{
"node": "7aeaa726-cbc9-4d10-90b2-8d2c7e729f02",
"type": "main",
"index": 0
}
],
[
{
"node": "21c0e61a-3d0f-4669-9875-077c7f6822da",
"type": "main",
"index": 0
}
]
]
},
"7d4c2649-b444-4dbc-8401-ac89b98cd5cf": {
"main": [
[
{
"node": "4bfdadb4-0db8-45b9-b27c-e856a27d9725",
"type": "main",
"index": 0
}
]
]
},
"2167258a-f51b-425b-ae8d-ca6e6c25623f": {
"main": [
[
{
"node": "c2f0605f-02f4-46fb-8971-6136a99e5c1e",
"type": "main",
"index": 0
}
]
]
},
"da3b4773-d505-4526-8af7-289284302a34": {
"main": [
[
{
"node": "2167258a-f51b-425b-ae8d-ca6e6c25623f",
"type": "main",
"index": 0
}
]
]
},
"c8352756-4848-4a5f-8300-c1d8f5b25f50": {
"main": [
[
{
"node": "52ef99ec-6fcc-4ca1-9f5e-0cd550e129a3",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Stripe顧客を作成または検索し、自動のに請求書を生成する
Stripe顧客の作成・検索と自動発注書生成
If
Set
Http Request
+
If
Set
Http Request
10 ノードAudun
財務
ウェブページ内リンクの抽出
Web ページから内部リンクを抽出する
If
Set
Html
+
If
Set
Html
13 ノードAudun
エンジニアリング
AI スマートアシスタント: Supabase ストレージと Google Drive ファイルとの対話
AIワンチャットボット:SupabaseストレージとGoogle Driveのファイルと対話
If
Set
Wait
+
If
Set
Wait
62 ノードMark Shcherbakov
エンジニアリング
AI生成されたPDFファイルの改訂职场自動化方案提出
Google Mapsを使ってリードを生成する
If
Set
Code
+
If
Set
Code
42 ノードAlex Kim
営業
YouTube 字幕を youtube-transcript.io で無料で取得し、Supabase に保存
youtube-transcript.io を使用して無料の YouTube 字幕を取得して Supabase に保存
If
Set
Code
+
If
Set
Code
37 ノードautomedia
サイトマップを読み込みURLをフィルタリング
sitemap.xmlから特定のリンクをクロールして処理
Set
Xml
Filter
+
Set
Xml
Filter
10 ノードAudun
エンジニアリング