alitas126/alitas2 - その他のジェネレーター
中級
これはContent Creation, Multimodal AI分野の自動化ワークフローで、15個のノードを含みます。主にIf, Set, Code, Wait, HttpRequestなどのノードを使用。 テキストプロンプトを使ってAlitas2モデルとReplicateで画像を作成
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"meta": {
"instanceId": "bc2378ad-20c9-4b57-8269-5f891906bccf",
"model_name": "alitas2",
"model_type": "other",
"version_id": "754ca44a4c14385a511b565efa1a19a04204b629738285b3de1ef94de578e5bd",
"model_owner": "alitas126",
"generated_at": "2025-08-01T14:50:46.697106"
},
"name": "alitas126/alitas2 - Other Generator",
"nodes": [
{
"id": "7aaa797f-a219-4a50-ba7c-009bc2c237af",
"name": "手動トリガー",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-896,
-176
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ed53f30e-1180-48f0-81a1-281b1ea06dab",
"name": "APIトークン設定",
"type": "n8n-nodes-base.set",
"position": [
-608,
-80
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "api_token",
"name": "api_token",
"type": "string",
"value": "YOUR_REPLICATE_API_TOKEN"
}
]
}
},
"typeVersion": 3.3
},
{
"id": "96cde11c-3266-4065-8ced-25785dbdce25",
"name": "その他パラメータ設定",
"type": "n8n-nodes-base.set",
"position": [
-288,
-128
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "api_token",
"name": "api_token",
"type": "string",
"value": "={{ $('Set API Token').item.json.api_token }}"
},
{
"id": "mask",
"name": "mask",
"type": "string",
"value": "https://via.placeholder.com/512x512/000000/FFFFFF.png"
},
{
"id": "seed",
"name": "seed",
"type": "number",
"value": -1
},
{
"id": "image",
"name": "image",
"type": "string",
"value": "https://picsum.photos/512/512"
},
{
"id": "model",
"name": "model",
"type": "string",
"value": "dev"
},
{
"id": "width",
"name": "width",
"type": "number",
"value": 512
},
{
"id": "height",
"name": "height",
"type": "number",
"value": 512
},
{
"id": "prompt",
"name": "prompt",
"type": "string",
"value": "Create something amazing"
},
{
"id": "go_fast",
"name": "go_fast",
"type": "boolean",
"value": false
},
{
"id": "extra_lora",
"name": "extra_lora",
"type": "string",
"value": ""
},
{
"id": "lora_scale",
"name": "lora_scale",
"type": "number",
"value": 1
},
{
"id": "megapixels",
"name": "megapixels",
"type": "string",
"value": "1"
},
{
"id": "num_outputs",
"name": "num_outputs",
"type": "number",
"value": 1
},
{
"id": "aspect_ratio",
"name": "aspect_ratio",
"type": "string",
"value": "1:1"
},
{
"id": "output_format",
"name": "output_format",
"type": "string",
"value": "webp"
},
{
"id": "guidance_scale",
"name": "guidance_scale",
"type": "number",
"value": 3
},
{
"id": "output_quality",
"name": "output_quality",
"type": "number",
"value": 80
},
{
"id": "prompt_strength",
"name": "prompt_strength",
"type": "number",
"value": 0.8
},
{
"id": "extra_lora_scale",
"name": "extra_lora_scale",
"type": "number",
"value": 1
},
{
"id": "replicate_weights",
"name": "replicate_weights",
"type": "string",
"value": ""
},
{
"id": "num_inference_steps",
"name": "num_inference_steps",
"type": "number",
"value": 28
},
{
"id": "disable_safety_checker",
"name": "disable_safety_checker",
"type": "boolean",
"value": false
}
]
}
},
"typeVersion": 3.3
},
{
"id": "dadb2605-2ba5-4031-9673-f5d600a8c71b",
"name": "その他予測作成",
"type": "n8n-nodes-base.httpRequest",
"position": [
-64,
-128
],
"parameters": {
"url": "https://api.replicate.com/v1/predictions",
"method": "POST",
"options": {
"response": {
"response": {
"neverError": true,
"responseFormat": "json"
}
}
},
"jsonBody": "={\n \"version\": \"alitas126/alitas2:754ca44a4c14385a511b565efa1a19a04204b629738285b3de1ef94de578e5bd\",\n \"input\": {\n \"mask\": \"{{ $json.mask }}\",\n \"seed\": {{ $json.seed }},\n \"image\": \"{{ $json.image }}\",\n \"model\": \"{{ $json.model }}\",\n \"width\": {{ $json.width }},\n \"height\": {{ $json.height }},\n \"prompt\": \"{{ $json.prompt }}\",\n \"go_fast\": {{ $json.go_fast }},\n \"extra_lora\": \"{{ $json.extra_lora }}\",\n \"lora_scale\": {{ $json.lora_scale }},\n \"megapixels\": \"{{ $json.megapixels }}\",\n \"num_outputs\": {{ $json.num_outputs }},\n \"aspect_ratio\": \"{{ $json.aspect_ratio }}\",\n \"output_format\": \"{{ $json.output_format }}\",\n \"guidance_scale\": {{ $json.guidance_scale }},\n \"output_quality\": {{ $json.output_quality }},\n \"prompt_strength\": {{ $json.prompt_strength }},\n \"extra_lora_scale\": {{ $json.extra_lora_scale }},\n \"replicate_weights\": \"{{ $json.replicate_weights }}\",\n \"num_inference_steps\": {{ $json.num_inference_steps }},\n \"disable_safety_checker\": {{ $json.disable_safety_checker }}\n }\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "=Bearer {{ $json.api_token }}"
},
{
"name": "Prefer",
"value": "wait"
}
]
}
},
"typeVersion": 4.1
},
{
"id": "329f091b-676c-4052-a316-923861ff51fd",
"name": "5秒待機",
"type": "n8n-nodes-base.wait",
"position": [
160,
-128
],
"webhookId": "d2c4ca16-0eb2-45b4-8a2d-eec2f99df89c",
"parameters": {
"unit": "seconds",
"amount": 5
},
"typeVersion": 1
},
{
"id": "5c0f8c90-06f7-4126-8e31-962d0edafe6e",
"name": "ステータス確認",
"type": "n8n-nodes-base.httpRequest",
"position": [
384,
-128
],
"parameters": {
"url": "=https://api.replicate.com/v1/predictions/{{ $('Create Other Prediction').item.json.id }}",
"options": {
"response": {
"response": {
"neverError": true,
"responseFormat": "json"
}
}
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "=Bearer {{ $('Set API Token').item.json.api_token }}"
}
]
}
},
"typeVersion": 4.1
},
{
"id": "2fceaae9-5c65-4605-b7f2-51244e6162a2",
"name": "完了済み?",
"type": "n8n-nodes-base.if",
"position": [
528,
-240
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 1,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "c93d7ba1-0ef9-4087-aa10-389cb2a2c6bd",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "succeeded"
}
]
}
},
"typeVersion": 2
},
{
"id": "28504156-71b0-4e66-8062-7a4174d95ce6",
"name": "失敗済み?",
"type": "n8n-nodes-base.if",
"position": [
848,
-80
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 1,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "d1bfd044-3a07-4c18-b55f-72d192596139",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "failed"
}
]
}
},
"typeVersion": 2
},
{
"id": "5368f57d-1e63-4f86-9ea8-a2edbd9ef7dc",
"name": "10秒待機",
"type": "n8n-nodes-base.wait",
"position": [
720,
128
],
"webhookId": "51a05aef-e220-406d-8c2c-e59c82c3e26e",
"parameters": {
"unit": "seconds",
"amount": 10
},
"typeVersion": 1
},
{
"id": "d67ca55d-98fe-40f4-9bfa-8037575f50dd",
"name": "成功レスポンス",
"type": "n8n-nodes-base.set",
"position": [
832,
-320
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "success-response",
"name": "response",
"type": "object",
"value": "={{ { success: true, result_url: $json.output, prediction_id: $json.id, status: $json.status, message: 'Other generated successfully' } }}"
}
]
}
},
"typeVersion": 3.3
},
{
"id": "7daec23a-183f-43d8-a873-63c517521be9",
"name": "エラーレスポンス",
"type": "n8n-nodes-base.set",
"position": [
1344,
144
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "error-response",
"name": "response",
"type": "object",
"value": "={{ { success: false, error: $json.error || 'Other generation failed', prediction_id: $json.id, status: $json.status, message: 'Failed to generate other' } }}"
}
]
}
},
"typeVersion": 3.3
},
{
"id": "3fc5c4b9-4ddc-45ef-a22e-10632d226884",
"name": "結果表示",
"type": "n8n-nodes-base.set",
"position": [
1552,
-144
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "final-result",
"name": "final_result",
"type": "object",
"value": "={{ $json.response }}"
}
]
}
},
"typeVersion": 3.3
},
{
"id": "89454bc1-ef59-41ab-ad85-21d35254774a",
"name": "リクエストログ",
"type": "n8n-nodes-base.code",
"position": [
160,
-320
],
"parameters": {
"jsCode": "// Log generation details for monitoring\nconst data = $input.all()[0].json;\n\nconsole.log('alitas126/alitas2 Request:', {\n timestamp: new Date().toISOString(),\n prediction_id: data.id,\n model_type: 'other'\n});\n\nreturn $input.all();"
},
"typeVersion": 2
},
{
"id": "a6b6573e-4df8-4568-ae25-5d592ea8e3d8",
"name": "付箋9",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1536,
-304
],
"parameters": {
"color": 4,
"width": 580,
"height": 320,
"content": "=======================================\n ALITAS2 GENERATOR\n=======================================\nFor any questions or support, please contact:\n Yaron@nofluff.online\n\nExplore more tips and tutorials here:\n - YouTube: https://www.youtube.com/@YaronBeen/videos\n - LinkedIn: https://www.linkedin.com/in/yaronbeen/\n======================================="
},
"typeVersion": 1
},
{
"id": "2ff28a8f-cf8f-49f9-9257-8aba3561ee3b",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1536,
48
],
"parameters": {
"color": 4,
"width": 589,
"height": 1958,
"content": "## 🤖 **ALITAS126/ALITAS2 - OTHER GENERATION WORKFLOW**\n\n**🔥 Powered by Replicate API and n8n Automation**\n\n---\n\n### 📝 **Model Overview**\n\n- **Owner**: alitas126\n- **Model**: alitas2\n- **Type**: Other Generation\n- **API Endpoint**: https://api.replicate.com/v1/predictions\n\n**🎯 What This Model Does:**\nNone\n\n---\n\n### 📋 **Parameter Reference**\n\n**🔴 Required Parameters:** prompt\n**🔵 Optional Parameters:** mask, seed, image, model, width, height, go_fast, extra_lora (and 12 more)\n\n**📖 Detailed Parameter Guide:**\n- **mask** (string): Image mask for image inpainting mode. If provided, aspect_ratio, width, and height inputs are ign...\n- **seed** (integer): Random seed. Set for reproducible generation\n- **image** (string): Input image for image to image or inpainting mode. If provided, aspect_ratio, width, and height i...\n- **model** (string): Which model to run inference with. The dev model performs best with around 28 inference steps but... (Default: dev)\n- **width** (integer): Width of generated image. Only works if `aspect_ratio` is set to custom. Will be rounded to neare...\n- **height** (integer): Height of generated image. Only works if `aspect_ratio` is set to custom. Will be rounded to near...\n- **prompt** (string): Prompt for generated image. If you include the `trigger_word` used in the training process you ar...\n- **go_fast** (boolean): Run faster predictions with model optimized for speed (currently fp8 quantized); disable to run i... (Default: False)\n- *...and 13 more parameters*\n\n---\n\n### 🔧 **Workflow Components Explained**\n\n**🎯 Manual Trigger**\n- Starts the workflow execution\n- Click to begin other generation process\n\n**🔐 Set API Token** \n- Configures your Replicate API authentication\n- Replace 'YOUR_REPLICATE_API_TOKEN' with your actual token\n- Essential for accessing the alitas126/alitas2 model\n\n**⚙️ Set Other Parameters**\n- Configures all input parameters for the model\n- Includes both required and optional parameters\n- Pre-filled with sensible defaults for testing\n\n**🚀 Create Other Prediction**\n- Sends the generation request to Replicate API\n- Uses the other parameters you configured\n- Returns a prediction ID for status tracking\n\n**⏳ Wait & Status Checking Loop**\n- Waits 5 seconds then checks prediction status\n- Continues checking until completion or failure\n- Implements intelligent retry logic with 10-second delays\n\n**✅ Success/Error Handling**\n- Routes successful completions to success response\n- Handles failures gracefully with error details\n- Returns structured JSON response with URLs/errors\n\n**📊 Logging & Monitoring**\n- Logs all requests for debugging and monitoring\n- Tracks timestamps and prediction IDs\n- Helps identify issues during development\n\n---\n\n### 🌟 **Key Benefits**\n\n- **🎨 Instant Other Generation**: Transform ideas into others using state-of-the-art AI\n- **🔄 Automated Workflow**: Handles the complete generation pipeline automatically\n- **🛡️ Error Resilience**: Built-in retry logic and comprehensive error handling\n- **📈 Production Ready**: Includes logging, monitoring, and structured responses\n- **🔧 Customizable**: Easy to modify parameters and extend functionality\n- **⚡ Efficient Processing**: Optimized API calls with intelligent status checking\n\n---\n\n### 🚀 **Quick Start Instructions**\n\n1. **🔑 Get Your API Key**\n - Sign up at https://replicate.com\n - Navigate to your account settings\n - Copy your API token\n\n2. **🔧 Configure the Workflow**\n - Replace 'YOUR_REPLICATE_API_TOKEN' with your actual token\n - Adjust parameters in the 'Set Other Parameters' node\n - Customize the prompt or other inputs as needed\n\n3. **▶️ Execute the Workflow**\n - Click the 'Manual Trigger' to start\n - Monitor the execution in the n8n interface\n - Check logs for detailed execution information\n\n4. **📥 Get Your Results**\n - Successful generations return a URL to your other\n - Download or use the generated content as needed\n - Results are available immediately upon completion\n\n---\n\n### 🔍 **Troubleshooting Guide**\n\n**Common Issues:**\n- **Invalid API Token**: Ensure your Replicate token is valid and has sufficient credits\n- **Parameter Validation**: Check that required parameters match expected types\n- **Generation Timeout**: Some others take longer - monitor the logs\n- **Output Format**: Verify the model returns the expected output format\n\n**Best Practices:**\n- Test with default parameters first\n- Monitor your Replicate usage and billing\n- Keep API tokens secure and never commit them to code\n- Use appropriate parameter values for your use case\n\n---\n\n**🔗 Additional Resources:**\n- Model Documentation: https://replicate.com/alitas126/alitas2\n- Replicate API Docs: https://replicate.com/docs\n- n8n Documentation: https://docs.n8n.io\n\n---"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"versionId": "1",
"connections": {
"329f091b-676c-4052-a316-923861ff51fd": {
"main": [
[
{
"node": "5c0f8c90-06f7-4126-8e31-962d0edafe6e",
"type": "main",
"index": 0
}
]
]
},
"5368f57d-1e63-4f86-9ea8-a2edbd9ef7dc": {
"main": [
[
{
"node": "5c0f8c90-06f7-4126-8e31-962d0edafe6e",
"type": "main",
"index": 0
}
]
]
},
"28504156-71b0-4e66-8062-7a4174d95ce6": {
"main": [
[
{
"node": "7daec23a-183f-43d8-a873-63c517521be9",
"type": "main",
"index": 0
}
],
[
{
"node": "5368f57d-1e63-4f86-9ea8-a2edbd9ef7dc",
"type": "main",
"index": 0
}
]
]
},
"89454bc1-ef59-41ab-ad85-21d35254774a": {
"main": [
[
{
"node": "329f091b-676c-4052-a316-923861ff51fd",
"type": "main",
"index": 0
}
]
]
},
"5c0f8c90-06f7-4126-8e31-962d0edafe6e": {
"main": [
[
{
"node": "2fceaae9-5c65-4605-b7f2-51244e6162a2",
"type": "main",
"index": 0
}
]
]
},
"2fceaae9-5c65-4605-b7f2-51244e6162a2": {
"main": [
[
{
"node": "d67ca55d-98fe-40f4-9bfa-8037575f50dd",
"type": "main",
"index": 0
}
],
[
{
"node": "28504156-71b0-4e66-8062-7a4174d95ce6",
"type": "main",
"index": 0
}
]
]
},
"ed53f30e-1180-48f0-81a1-281b1ea06dab": {
"main": [
[
{
"node": "96cde11c-3266-4065-8ced-25785dbdce25",
"type": "main",
"index": 0
}
]
]
},
"7daec23a-183f-43d8-a873-63c517521be9": {
"main": [
[
{
"node": "3fc5c4b9-4ddc-45ef-a22e-10632d226884",
"type": "main",
"index": 0
}
]
]
},
"7aaa797f-a219-4a50-ba7c-009bc2c237af": {
"main": [
[
{
"node": "ed53f30e-1180-48f0-81a1-281b1ea06dab",
"type": "main",
"index": 0
}
]
]
},
"d67ca55d-98fe-40f4-9bfa-8037575f50dd": {
"main": [
[
{
"node": "3fc5c4b9-4ddc-45ef-a22e-10632d226884",
"type": "main",
"index": 0
}
]
]
},
"96cde11c-3266-4065-8ced-25785dbdce25": {
"main": [
[
{
"node": "dadb2605-2ba5-4031-9673-f5d600a8c71b",
"type": "main",
"index": 0
}
]
]
},
"dadb2605-2ba5-4031-9673-f5d600a8c71b": {
"main": [
[
{
"node": "89454bc1-ef59-41ab-ad85-21d35254774a",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - コンテンツ作成, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
ByteDance/Seedream-3 - ポートレートジェネレーター
字节跳动 Seedream 3:テキストから画像への変換テンプレート
If
Set
Code
+
If
Set
Code
15 ノードYaron Been
コンテンツ作成
Dessix Moss Ttsd テキストジェネレーター
会話スクリプトを自然な音声に変換するReplicate Moss-TTSDの使用
If
Set
Code
+
If
Set
Code
9 ノードYaron Been
コンテンツ作成
ibm-granite/granite-speech-3.3-8b - テキストジェネレーター
IBM Granite 3.3 8BモデルをReplicate API経由で音声をテキストに変換する
If
Set
Code
+
If
Set
Code
15 ノードYaron Been
コンテンツ作成
moicarmonas/2ndmoises_generator - その他のジェネレーター
テキストプロンプトを使って2nd MoisesジェネレータとReplicateで画像を作成
If
Set
Code
+
If
Set
Code
15 ノードYaron Been
コンテンツ作成
moicarmonas/3rdmoises_generator_oldversion - その他のジェネレーター
テキストプロンプトを使って3rd MoisesジェネレータとReplicateで画像を作成
If
Set
Code
+
If
Set
Code
15 ノードYaron Been
コンテンツ作成
izzaanel/betia - その他のジェネレーター
テキストプロンプトを使ってBetiaとReplicateで画像を作成
If
Set
Code
+
If
Set
Code
15 ノードYaron Been
コンテンツ作成
ワークフロー情報
難易度
中級
ノード数15
カテゴリー2
ノードタイプ7
作成者
Yaron Been
@yaron-nofluffBuilding AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host If you need any help with Automations, feel free to reach out via linkedin: https://www.linkedin.com/in/yaronbeen/ And check out my Youtube channel: https://www.youtube.com/@YaronBeen/videos
外部リンク
n8n.ioで表示 →
このワークフローを共有