8
n8n 한국어amn8n.com

바나나

중급

이것은Miscellaneous, Multimodal AI분야의자동화 워크플로우로, 10개의 노드를 포함합니다.주로 If, Set, Wait, FormTrigger, HttpRequest 등의 노드를 사용하며. KIE.AI Nano Banana API를 사용하여 역할 일관성 있는 AI 이미지 생성

사전 요구사항
  • 대상 API의 인증 정보가 필요할 수 있음
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "awXlFcUvfBcnAfxo",
  "meta": {
    "instanceId": "984a3a573b2ceefaa62e65118c88bad010712c3575386e48d0fa024f616c2747"
  },
  "name": "banana",
  "tags": [],
  "nodes": [
    {
      "id": "c9f57cdf-e8d4-4612-a015-005af994b753",
      "name": "스티커 메모6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1024,
        16
      ],
      "parameters": {
        "width": 780,
        "height": 152,
        "content": "## STEP 1 - GET API KEY (YOURAPIKEY)\n- Create an account [here](https://kie.ai/) and obtain API KEY.\n- It will be used in on form submission.\n- Important: Please keep your key safe and do not disclose it to others."
      },
      "typeVersion": 1
    },
    {
      "id": "42df80e0-3428-40f9-a951-9390723f4aaa",
      "name": "스티커 메모",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1024,
        256
      ],
      "parameters": {
        "width": 780,
        "height": 212,
        "content": "## STEP 2 - Usage Process\n1. **Start Workflow** - Click \"Execute workflow\" button to begin the task.\n2. **Fill Form** - Complete the required fields in the popup form.\n3. **Submit - Click** \"Submit\" button to send your request.\n4. **Close Window** - You can close the form window after successful submission.\n5. **Wait for Generation** - System automatically checks status every 5 seconds.\n6. **Get Results** - Video files will be displayed automatically when generation is complete."
      },
      "typeVersion": 1
    },
    {
      "id": "9dea92a7-21b2-42e7-96ce-714f5ea44024",
      "name": "스티커 메모3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "color": 3,
        "width": 956,
        "height": 1160,
        "content": "## Generate Character-Consistent Images with KIE.AI Nano Banana API\n### Overview\nGenerate high-quality, character-consistent AI images using KIE.AI's Nano Banana API through an intuitive form interface. This n8n workflow supports both text-to-image and image-to-image generation modes, delivering professional results at 50% lower cost than mainstream platforms.\n**Key Benefits:**\n- �� Dual generation modes (text-to-image & image-to-image).\n- 💰 20 free generations + $0.02 per additional request.\n- 🔄 Maintains character consistency across generations.\n- ⚡ Automated processing with 5-second polling.\n### Perfect for\nContent creators, designers, marketers, developers, and anyone who needs to quickly create diverse AI visual content while maintaining consistent character identity across multiple generations.\n### Prerequisites\n- KIE.AI account and API key ([Sign up here](https://kie.ai/nano-banana)).\n- Active n8n instance with form submission capabilities.\n- AI prompts for image generation.\n- Reference images (optional, for image-to-image mode).\n### Quick Setup\n#### 1. **Get API Key**\nRegister at [kie.ai/nano-banana](https://kie.ai/nano-banana) and generate your API key.\n#### 2. **Configure Form Fields**\nSet up these fields in your \"On Form Submission\" node:\n- **`model`** (Required): Choose between `google/nano-banana` for text-to-image or `google/nano-banana-edit` for image-to-image generation.\n- **`prompt`** (Required): Text description for your image generation.\n- **`img_url`** (Optional): Reference image URLs for image-to-image mode (up to 5 images, separate multiple URLs with commas).\n- **`api_key`** (Required): Your KIE.AI API key for authentication.\n#### 3. **Test & Use**\n1. Execute the workflow\n2. Access the generated form URL\n3. Fill in your details and submit\n4. Wait for processing (10-20 seconds)\n5. Results will be displayed automatically.\n### Usage Tips\n**Better Prompts:**\nInclude style (realistic, anime, cyberpunk), composition (close-up, wide shot), lighting (dramatic, soft), and mood (cheerful, mysterious).\n**Example:** \"Realistic cyberpunk character with neon blue lighting, close-up composition, dramatic shadows\"\n**Common Uses:**\n- Character design for games/stories\n- Social media content\n- Marketing materials\n- Product mockups\n### Troubleshooting\n- **API Key Invalid**: Verify key is correct and active.\n- **Generation Fails**: Check prompt length and content.\n**Keywords:** Nano Banana API, character-consistent images, text-to-image, image-to-image, KIE.AI, AI image generation, n8n template"
      },
      "typeVersion": 1
    },
    {
      "id": "5609cfa7-25e9-4f0e-908b-4fceb1fdd889",
      "name": "스티커 메모1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1024,
        544
      ],
      "parameters": {
        "width": 780,
        "height": 568,
        "content": "## STEP 3 - Form Parameters\n1. **Prompt** \n    - Purpose: Describe the video content you want to generate.\n    - Example: \"A dog playing in a park\".\n    - Tips:\n    Be detailed and specific in describing image content.\n    More detailed descriptions lead to better results.\n2. **img_url** (Image-to-Image, Optional)\n    - Purpose: Provide an image URL for image-to-image generation. Note: If you are using text-to-image generation (google/nano-banana), please do not fill in this parameter.\n    - Example: https://file.example.com/your-image.jpg (single image) or https://file1.com/img1.jpg,https://file2.com/img2.jpg (multiple images)\n    - Tips:\n    Required for: google/nano-banana-edit (image-to-image).\n    Not needed for: google/nano-banana (text-to-image) - leave this field empty.\n    Use a clear and relevant image to guide the generation.\n    You can upload up to 5 images by separating multiple URLs with commas.\n3. **model (Model Type)** \n    - Purpose: Select the type of AI generation task you want to perform.\n    - Options: google/nano-banana (text-to-image)\ngoogle/nano-banana-edit (image-to-image)\n    - Tips:Choose google/nano-banana for text-to-image generation. Choose google/nano-banana-edit for image-to-image generation.\n4. **api_key** (API Key)\n    - This is what you get in the first step.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "b41cc4b4-2927-4453-80fd-7252549af77e",
      "name": "생성 상태 확인",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        992,
        1184
      ],
      "parameters": {
        "url": "https://api.kie.ai/api/v1/playground/recordInfo",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "taskId",
              "value": "={{$json.data.taskId}}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            },
            {
              "name": "Authorization",
              "value": "=Bearer {{$node[\"Submit Text Prompt for image Generation\"].json[\"api_key\"]}}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "421dd0c7-92c9-439e-a157-70d6120b6282",
      "name": "이미지 생성을 위한 텍스트 프롬프트 제출",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        320,
        1184
      ],
      "webhookId": "791b190b-2acc-4d10-b593-c1929e67686c",
      "parameters": {
        "options": {},
        "formTitle": "AI image generator",
        "formFields": {
          "values": [
            {
              "fieldLabel": "prompt"
            },
            {
              "fieldLabel": "img_url"
            },
            {
              "fieldLabel": "model"
            },
            {
              "fieldLabel": "api_key"
            }
          ]
        },
        "formDescription": "Please fill in the following information to generate your video"
      },
      "typeVersion": 2.2
    },
    {
      "id": "e8209f72-eb14-40e2-a4fa-19da7d6d5e6f",
      "name": "KIE.AI API에 이미지 생성 요청 전송",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        544,
        1184
      ],
      "parameters": {
        "url": "https://api.kie.ai/api/v1/playground/createTask",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"model\": \"{{$json.model}}\",\n  \"callBackUrl\": \"https://your-domain.com/api/callback\",\n  \"input\": {\n    \"prompt\": \"{{$json.prompt}}\",\n    \"image_urls\": [{{$json.img_url ? $json.img_url.split(',').map(url => '\"' + url.trim() + '\"').join(',') : ''}}]\n  }\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            },
            {
              "name": "Authorization",
              "value": "=Bearer {{$json.api_key}}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "87befe8e-1318-44c6-8600-a30f7d629f87",
      "name": "이미지 처리 완료 대기",
      "type": "n8n-nodes-base.wait",
      "position": [
        784,
        1184
      ],
      "webhookId": "bb6c2821-9586-44b7-8606-2ee69a77ed75",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "63a42df0-8d20-47ac-a4f8-c8006ef985c7",
      "name": "이미지 생성 완료 여부 확인",
      "type": "n8n-nodes-base.if",
      "position": [
        832,
        1408
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "db9a5dec-997b-4c3f-9582-37c9bbeb19ff",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "=true",
              "rightValue": "={{ $json.data.state == 'success'}}"
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "a819dc4e-dcf2-463b-b0a5-daf38444edc9",
      "name": "이미지 결과 포맷팅 및 표시",
      "type": "n8n-nodes-base.set",
      "position": [
        1200,
        1392
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "e800cf57-0f11-448e-b86d-6454dced6c28",
              "name": "img",
              "type": "string",
              "value": "={{ $json.data.resultJson }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "5a03f781-5476-497a-a705-8cc42d77ddff",
  "connections": {
    "b41cc4b4-2927-4453-80fd-7252549af77e": {
      "main": [
        [
          {
            "node": "63a42df0-8d20-47ac-a4f8-c8006ef985c7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "87befe8e-1318-44c6-8600-a30f7d629f87": {
      "main": [
        [
          {
            "node": "b41cc4b4-2927-4453-80fd-7252549af77e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "63a42df0-8d20-47ac-a4f8-c8006ef985c7": {
      "main": [
        [
          {
            "node": "a819dc4e-dcf2-463b-b0a5-daf38444edc9",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "87befe8e-1318-44c6-8600-a30f7d629f87",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "421dd0c7-92c9-439e-a157-70d6120b6282": {
      "main": [
        [
          {
            "node": "e8209f72-eb14-40e2-a4fa-19da7d6d5e6f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e8209f72-eb14-40e2-a4fa-19da7d6d5e6f": {
      "main": [
        [
          {
            "node": "87befe8e-1318-44c6-8600-a30f7d629f87",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

중급 - 기타, 멀티모달 AI

유료인가요?

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

워크플로우 정보
난이도
중급
노드 수10
카테고리2
노드 유형6
난이도 설명

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

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34