Midjourney와 Kling API를 사용하여 운동 일러스트 작업 플로우 생성
중급
이것은Design, AI, Marketing분야의자동화 워크플로우로, 13개의 노드를 포함합니다.주로 If, Code, Wait, HttpRequest, ManualTrigger 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. Midjourney와 Kling API를 통해 텍스트 힌트로 애니메이션 일러스트 생성
사전 요구사항
- •대상 API의 인증 정보가 필요할 수 있음
사용된 노드 (13)
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "HBUhVkSsjslXAojw",
"meta": {
"instanceId": "1e003a7ea4715b6b35e9947791386a7d07edf3b5bf8d4c9b7ee4fdcbec0447d7"
},
"name": "Motion-illustration Workflow Generated with Midjourney and Kling API",
"tags": [],
"nodes": [
{
"id": "963603c8-dbe5-4d07-bd1e-74518ddd7a4c",
"name": "'워크플로 테스트' 클릭 시",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-1780,
-80
],
"parameters": {},
"typeVersion": 1
},
{
"id": "76717322-4eee-483b-9ab9-dd4e9b0f510a",
"name": "Kling Video Generator",
"type": "n8n-nodes-base.httpRequest",
"position": [
-820,
-180
],
"parameters": {
"url": "https://api.piapi.ai/api/v1/task",
"method": "POST",
"options": {},
"jsonBody": "={\n \"model\": \"kling\",\n \"task_type\": \"video_generation\",\n \"input\": {\n \"version\": \"1.6\",\n \n \"image_url\":\"{{ $json.random_temp_url }}\",\n\n \"prompt\": \"A young girl sits on a sunlit grassy meadow, gently petting a fluffy white rabbit\"\n \n }\n} ",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "x-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "842c1874-47ab-4efb-baad-155071fd29bb",
"name": "비디오 가져오기",
"type": "n8n-nodes-base.httpRequest",
"position": [
-620,
-60
],
"parameters": {
"url": "=https://api.piapi.ai/api/v1/task/{{ $json.data.task_id }}",
"options": {},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "9f36d2ba-ea56-48b8-9c83-60d741c394cb",
"name": "이미지 가져오기",
"type": "n8n-nodes-base.code",
"position": [
-1000,
-180
],
"parameters": {
"jsCode": "// JavaScript Code for Function Node\nreturn {\n random_temp_url: $input.all()[0].json.data.output.temporary_image_urls[\n Math.floor(Math.random() * $input.all()[0].json.data.output.temporary_image_urls.length)\n ]\n};"
},
"typeVersion": 2
},
{
"id": "14995fd1-937a-4e82-a2bb-19dbb65773c4",
"name": "기본 프롬프트",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1560,
-80
],
"parameters": {
"url": "https://api.piapi.ai/api/v1/task",
"method": "POST",
"options": {},
"jsonBody": "{\n \"model\": \"midjourney\",\n \"task_type\": \"imagine\",\n \"input\": {\n \"prompt\": \"A gentle girl and a fluffy rabbit explore a sunlit forest together, playing by a sparkling stream. Butterflies flutter around them as golden sunlight filters through green leaves. Warm and peaceful atmosphere, 4K nature documentary style. --s 500 --sref 4028286908 --niji 6\",\n \"aspect_ratio\": \"1:1\",\n \"process_mode\": \"turbo\",\n \"skip_prompt_check\": false\n }\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "x-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "791dae4a-4d99-4bdf-a259-20d3df12b92c",
"name": "데이터 상태 확인",
"type": "n8n-nodes-base.if",
"position": [
-1180,
-80
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "a0f8758e-d6fd-44f8-bd79-bc3c4dceddcf",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.status }}",
"rightValue": "completed"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "adb13639-1dd9-45af-be7e-c99b6b1219f3",
"name": "이미지 생성 대기",
"type": "n8n-nodes-base.wait",
"position": [
-1220,
200
],
"webhookId": "f3bcf634-8c4b-4bf9-a7f2-d4ee369f5349",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "58ad9c2d-fad7-471b-ad5d-f248b3cfbe29",
"name": "스티커 노트",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1820,
-300
],
"parameters": {
"width": 280,
"content": "## Motion-illustration\nThis workflow is primarily designed to generate dynamic illustrations for content creators and social media professionals with APIs provided by PiAPI."
},
"typeVersion": 1
},
{
"id": "2571d9ea-1f32-49b0-84da-ad12177714f3",
"name": "Midjourney Image Generator",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1360,
-80
],
"parameters": {
"url": "=https://api.piapi.ai/api/v1/task/{{ $json.data.task_id }}",
"options": {},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "159df2d3-6c5d-436d-b229-1b3d527daf48",
"name": "스티커 노트1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1820,
160
],
"parameters": {
"width": 360,
"height": 200,
"content": "## Step-by-step Instruction\n1. Fill in your x-api-key of your PiAPI account in the Midjourney Image Generator and Kling Video Generator nodes.\n2. Enter your desired image prompt in **Basic Prompt** node.\n3. Click Test workflow."
},
"typeVersion": 1
},
{
"id": "00de8ec3-102b-41b4-9839-e8fc8cd48253",
"name": "비디오 생성 대기",
"type": "n8n-nodes-base.wait",
"position": [
-440,
200
],
"webhookId": "c7b2590d-96a3-4c7c-8821-3023fead254b",
"parameters": {
"amount": 20
},
"typeVersion": 1.1
},
{
"id": "75531dff-04d5-4439-ae04-3291ef9cfcde",
"name": "최종 비디오 URL 가져오기",
"type": "n8n-nodes-base.code",
"position": [
-140,
80
],
"parameters": {
"jsCode": "// Process the entire response\nreturn {\n video_url: $input.all()[0].json.data.output.video_url,\n watermark_free_url: $input.all()[0].json.data.output.works[0].video.resource_without_watermark\n};"
},
"typeVersion": 2
},
{
"id": "1fe883e9-64ee-4bec-8b12-238251089df3",
"name": "데이터 상태 검증",
"type": "n8n-nodes-base.if",
"position": [
-440,
-60
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "f36fa981-22e0-46db-af8c-c2ac55242c27",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.status }}",
"rightValue": "completed"
}
]
}
},
"typeVersion": 2.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "7f0854bb-7c13-4e67-ba32-809959f47647",
"connections": {
"9f36d2ba-ea56-48b8-9c83-60d741c394cb": {
"main": [
[
{
"node": "76717322-4eee-483b-9ab9-dd4e9b0f510a",
"type": "main",
"index": 0
}
]
]
},
"842c1874-47ab-4efb-baad-155071fd29bb": {
"main": [
[
{
"node": "1fe883e9-64ee-4bec-8b12-238251089df3",
"type": "main",
"index": 0
}
]
]
},
"14995fd1-937a-4e82-a2bb-19dbb65773c4": {
"main": [
[
{
"node": "2571d9ea-1f32-49b0-84da-ad12177714f3",
"type": "main",
"index": 0
}
]
]
},
"791dae4a-4d99-4bdf-a259-20d3df12b92c": {
"main": [
[
{
"node": "9f36d2ba-ea56-48b8-9c83-60d741c394cb",
"type": "main",
"index": 0
}
],
[
{
"node": "adb13639-1dd9-45af-be7e-c99b6b1219f3",
"type": "main",
"index": 0
}
]
]
},
"1fe883e9-64ee-4bec-8b12-238251089df3": {
"main": [
[
{
"node": "75531dff-04d5-4439-ae04-3291ef9cfcde",
"type": "main",
"index": 0
}
],
[
{
"node": "00de8ec3-102b-41b4-9839-e8fc8cd48253",
"type": "main",
"index": 0
}
]
]
},
"76717322-4eee-483b-9ab9-dd4e9b0f510a": {
"main": [
[
{
"node": "842c1874-47ab-4efb-baad-155071fd29bb",
"type": "main",
"index": 0
}
]
]
},
"adb13639-1dd9-45af-be7e-c99b6b1219f3": {
"main": [
[
{
"node": "2571d9ea-1f32-49b0-84da-ad12177714f3",
"type": "main",
"index": 0
}
]
]
},
"00de8ec3-102b-41b4-9839-e8fc8cd48253": {
"main": [
[
{
"node": "842c1874-47ab-4efb-baad-155071fd29bb",
"type": "main",
"index": 0
}
]
]
},
"2571d9ea-1f32-49b0-84da-ad12177714f3": {
"main": [
[
{
"node": "791dae4a-4d99-4bdf-a259-20d3df12b92c",
"type": "main",
"index": 0
}
]
]
},
"963603c8-dbe5-4d07-bd1e-74518ddd7a4c": {
"main": [
[
{
"node": "14995fd1-937a-4e82-a2bb-19dbb65773c4",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 디자인, 인공지능, 마케팅
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
GPT-4o-mini, Midjourney, Kling, Creatomate API를 사용하여 애니메이션 이야기 생성
GPT-4o-mini, Midjourney, Kling, Creatomate API로 애니메이션 이야기 생성
If
Set
Code
+
If
Set
Code
51 노드PiAPI
엔지니어링
Midjourney, GPT-4o-mini, Canvas API를 사용하여 그래픽 배경 이미지 생성
사용하여 Midjourney, GPT-4o-mini 및 Canvas API로 그래픽 배경화면 생성
If
Set
Code
+
If
Set
Code
14 노드PiAPI
디자인
Kling API를 사용하여 의복에 360° 가상 시험 착용 영상 생성
Kling API를 사용하여 의류를 위해 360° 가상 시험 착용 비디오 생성(비공식)
If
Set
Wait
+
If
Set
Wait
16 노드PiAPI
디자인
Midjourney 및 GPT-4o-Image API를 사용한 3D 모델 3면도 생성
3D模型正交视图생성워크플로우
If
Code
Wait
+
If
Code
Wait
10 노드PiAPI
디자인
(미출시) 세视图 정교한 투영을 동적 비디오 변환으로
GPT-4o-Image 및 Kling API를 사용하여 3면视图를 360° 비디오로 변환
If
Set
Code
+
If
Set
Code
13 노드PiAPI
디자인
키워드를 사용한 X 및 기타 소셜 미디어 플랫폼 최신 뉴스 게시
키워드 및 Bright Data를 통해 AI 콘텐츠 생성으로 최신 뉴스를 X에 자동 게시
If
Code
Wait
+
If
Code
Wait
16 노드Dvir Sharon
디자인