8
n8n 한국어amn8n.com

AI 쿡

중급

이것은Miscellaneous, AI Chatbot, Multimodal AI분야의자동화 워크플로우로, 12개의 노드를 포함합니다.주로 Set, Telegram, HttpRequest, ConvertToFile, Agent 등의 노드를 사용하며. 사용자 Telegram 봇을 통해 사용자 정의 요리 및 레스토랑 스타일美食 이미지 생성

사전 요구사항
  • Telegram Bot Token
  • 대상 API의 인증 정보가 필요할 수 있음
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "Qhd5ZE0WdsOiFQqj",
  "meta": {
    "instanceId": "a419abc01bb0423bd41f1b0c0b1dc4e0a3c69d0074efa38bd450d30bc82d13ad",
    "templateCredsSetupCompleted": true
  },
  "name": "AI Chef",
  "tags": [],
  "nodes": [
    {
      "id": "525c226c-d024-4e37-8052-a2b3a0996bf1",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        48,
        240
      ],
      "parameters": {
        "model": "openai/gpt-4o-mini",
        "options": {}
      },
      "credentials": {
        "openRouterApi": {
          "id": "9hdN4saNpFu3PPCh",
          "name": "Ai chef"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "1bd83992-eb8c-4aea-8888-878cd67f8a50",
      "name": "Window Buffer Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        208,
        240
      ],
      "parameters": {
        "sessionKey": "={{ $json.message.chat.id }}",
        "sessionIdType": "customKey",
        "contextWindowLength": 200
      },
      "typeVersion": 1.3
    },
    {
      "id": "77562a10-731c-4c6a-a938-5f61c8e74266",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        0,
        0
      ],
      "webhookId": "e7c9b1ad-f1ce-4ce5-a23e-63e9fd24b9e1",
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "OxDi4W0V8EvRRA2F",
          "name": "AI Chef Assistant"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "dfc79eec-88ac-4c6f-b189-4c07f782c0fa",
      "name": "텍스트 메시지 전송",
      "type": "n8n-nodes-base.telegram",
      "position": [
        512,
        0
      ],
      "webhookId": "e8c60f4d-74e3-4875-934a-043cf5e5815e",
      "parameters": {
        "text": "={{ $json.output }}",
        "chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "OxDi4W0V8EvRRA2F",
          "name": "AI Chef Assistant"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "a09f687d-3943-4787-a19e-5163be6bdf75",
      "name": "Nano 🍌",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1056,
        0
      ],
      "parameters": {
        "url": "https://openrouter.ai/api/v1/chat/completions",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"model\": \"google/gemini-2.5-flash-image-preview:free\",\n  \"messages\": [\n    {\n      \"role\": \"user\",\n      \"content\": [\n        {\n          \"type\": \"text\",\n          \"text\": \"Generate a photorealistic image of {{ $json.output }}\"\n        }\n      ]\n    }\n  ]\n}\n",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "predefinedCredentialType",
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer $OPENROUTER_API_KEY"
            }
          ]
        },
        "nodeCredentialType": "openRouterApi"
      },
      "credentials": {
        "openRouterApi": {
          "id": "7pnW2IfzgeEN8qVd",
          "name": "OpenRouter account"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "a51cdb6b-d997-4f6a-a75a-12f6e249a680",
      "name": "필드 편집",
      "type": "n8n-nodes-base.set",
      "position": [
        1248,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "6355ac9e-1f4c-42a3-8167-8bb8298cd369",
              "name": "data",
              "type": "string",
              "value": "={{ $json.choices[0].message.images[0].image_url.url }}"
            },
            {
              "id": "dc98bc1c-4048-4fcb-80c5-73dc99b78ddd",
              "name": "base",
              "type": "string",
              "value": "={{ $json.choices[0].message.images[0].image_url.url.split(',')[1] }}"
            },
            {
              "id": "8033a47e-f50c-43ae-b404-99d0fb5cf4eb",
              "name": "mime",
              "type": "string",
              "value": "={{ $json.choices[0].message.images[0].image_url.url.split(';')[0].split(':')[1] }}"
            },
            {
              "id": "0e516163-02cc-4242-ba70-ac2bce94d2dd",
              "name": "fileName",
              "type": "string",
              "value": ".png"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "bf15ba16-f228-4df1-a5f2-48dd3eceb2af",
      "name": "파일로 변환",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1152,
        240
      ],
      "parameters": {
        "options": {},
        "operation": "toBinary",
        "sourceProperty": "base"
      },
      "typeVersion": 1.1
    },
    {
      "id": "0b449fab-316d-4379-88cc-5ff4136149e0",
      "name": "OpenRouter Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        592,
        272
      ],
      "parameters": {
        "model": "openai/gpt-4o-mini",
        "options": {}
      },
      "credentials": {
        "openRouterApi": {
          "id": "9hdN4saNpFu3PPCh",
          "name": "Ai chef"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "d02178f2-962f-4dcd-978a-fffa8564ae1c",
      "name": "사진 메시지 전송",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1360,
        240
      ],
      "webhookId": "358204d7-18d1-4486-bbc7-b75abdd0bd97",
      "parameters": {
        "chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
        "operation": "sendPhoto",
        "binaryData": true,
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "OxDi4W0V8EvRRA2F",
          "name": "AI Chef Assistant"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "24ceeec0-77af-441b-b479-62a3608effd8",
      "name": "AI 레시피",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        208,
        0
      ],
      "parameters": {
        "text": "={{ $json.message.text }}",
        "options": {
          "systemMessage": "You are a friendly and professional Virtual Chef Assistant. \nYour role is to help users with cooking, recipes, meal planning, food substitutions, nutrition tips, and step-by-step cooking guidance.  \n\nGuidelines:\n- Always reply in a clear, simple, and conversational tone.  \n- Suggest recipes based on available ingredients, dietary preferences, or cuisine styles.  \n- Provide step-by-step cooking instructions when asked.  \n- Offer ingredient substitutions if something is missing.  \n- Give nutrition advice when relevant, but do not provide medical advice.  \n- Be creative, encouraging, and make cooking feel fun and easy.  \n- If the user asks for meal plans, suggest balanced options (breakfast, lunch, dinner, snacks).  \n- If the user asks general questions about food or cooking techniques, explain in an easy-to-understand way.  \n- Do not provide unsafe cooking practices or harmful instructions.  \n\nYour personality:\n- Warm, supportive, and encouraging like a personal chef.  \n- Use a mix of professional cooking knowledge and friendly conversation.  \n- Adapt tone depending on user: beginner = simple steps, experienced = more advanced techniques."
        },
        "promptType": "define"
      },
      "typeVersion": 2.2
    },
    {
      "id": "9d5b6784-261d-41a7-8f51-87298625ec2e",
      "name": "레스토랑 스타일 플레이팅 프롬프트",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        688,
        0
      ],
      "parameters": {
        "text": "={{ $('AI Recipe').item.json.output }}",
        "options": {
          "systemMessage": "You are an expert AI prompt generator for text-to-image models. \nYour task is to read the recipe text provided and generate a single, clear, and detailed prompt suitable for a photorealistic image generation AI. \nDo not explain the recipe, do not add extra commentary, and do not output anything else except the image prompt. \n\nFocus only on visual details:\n- How the dish looks on a plate\n- Plating style and arrangement\n- Colors, textures, garnishes\n- Lighting and perspective\n- Use only plates and dishware typically found in professional restaurants (white ceramic, slate, glass, or elegant serving dishes)\n- Make it look like a high-end restaurant presentation\n\nThe output should be concise, a single paragraph of text, fully descriptive, ready to feed directly into an image generation model and output should be in English."
        },
        "promptType": "define"
      },
      "typeVersion": 2.2
    },
    {
      "id": "3a28861d-d7cb-490a-b8a5-aa48c0846a43",
      "name": "스티커 노트",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -592,
        -272
      ],
      "parameters": {
        "width": 496,
        "height": 464,
        "content": "## AI Chef Bot – Recipe + Food Image Generator \nImport this workflow into your n8n instance.\n\nConfigure your Telegram Bot Token (from BotFather).\n\nConfigure your OpenRouter API Key for AI text + image generation.\n\nSave and activate the workflow.\n\nGo to Telegram and send any dish name (e.g., Polpette di pesce).\n\nThe bot replies with:\n\n📖 A full recipe.\n\n📸 A restaurant-plated realistic food image."
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "4c3ecc19-e40d-4dfd-ba47-4c66aaade24e",
  "connections": {
    "24ceeec0-77af-441b-b479-62a3608effd8": {
      "main": [
        [
          {
            "node": "dfc79eec-88ac-4c6f-b189-4c07f782c0fa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a09f687d-3943-4787-a19e-5163be6bdf75": {
      "main": [
        [
          {
            "node": "a51cdb6b-d997-4f6a-a75a-12f6e249a680",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a51cdb6b-d997-4f6a-a75a-12f6e249a680": {
      "main": [
        [
          {
            "node": "bf15ba16-f228-4df1-a5f2-48dd3eceb2af",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bf15ba16-f228-4df1-a5f2-48dd3eceb2af": {
      "main": [
        [
          {
            "node": "d02178f2-962f-4dcd-978a-fffa8564ae1c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "77562a10-731c-4c6a-a938-5f61c8e74266": {
      "main": [
        [
          {
            "node": "24ceeec0-77af-441b-b479-62a3608effd8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dfc79eec-88ac-4c6f-b189-4c07f782c0fa": {
      "main": [
        [
          {
            "node": "9d5b6784-261d-41a7-8f51-87298625ec2e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1bd83992-eb8c-4aea-8888-878cd67f8a50": {
      "ai_memory": [
        [
          {
            "node": "24ceeec0-77af-441b-b479-62a3608effd8",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "525c226c-d024-4e37-8052-a2b3a0996bf1": {
      "ai_languageModel": [
        [
          {
            "node": "24ceeec0-77af-441b-b479-62a3608effd8",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "0b449fab-316d-4379-88cc-5ff4136149e0": {
      "ai_languageModel": [
        [
          {
            "node": "9d5b6784-261d-41a7-8f51-87298625ec2e",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "9d5b6784-261d-41a7-8f51-87298625ec2e": {
      "main": [
        [
          {
            "node": "a09f687d-3943-4787-a19e-5163be6bdf75",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

중급 - 기타, AI 챗봇, 멀티모달 AI

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수12
카테고리3
노드 유형9
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34