RunComfy API로 wan-ai/wan-2-1/lora을(를) 실행합니다. 허용되는 입력·출력은 모델 스키마.
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-1/lora \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "A vast circular library of glowing memory orbs stretches in all directions, with tall curved shelves extending upward. Each orb contains a different memory, glowing in various colors - yellow for joy, blue for sadness, red for anger, purple for fear, and green for disgust. In the foreground, two characters - a small blue figure with glasses and a tall slender yellow figure with bright blue hair - are examining a particularly bright memory orb. Light streams cascade through the enormous room, creating dramatic beams between the shelves. The space has a warm ambient glow with dramatic shadows. Small maintenance worker characters in uniform can be seen in the background, carefully organizing orbs on distant shelves. The rendering features Pixar's characteristic polished surfaces with subtle reflections and depth-of-field blur for distant elements.",
"lora_url": "https://playgrounds-storage-public.runcomfy.net/models/wan2.1/lora/Remade-AI/Pixar/pixar_10_epochs.safetensors"
}'환경 변수 YOUR_API_TOKEN 에 API 키를 설정하세요( 프로필에서 키 관리). 모든 요청에 Authorization 헤더로 Bearer 토큰을 포함: Authorization: Bearer $YOUR_API_TOKEN.
비동기 생성 작업을 제출하면 즉시 request_id와 상태 확인·결과 조회·취소용 URL을 받습니다.
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-1/lora \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "A vast circular library of glowing memory orbs stretches in all directions, with tall curved shelves extending upward. Each orb contains a different memory, glowing in various colors - yellow for joy, blue for sadness, red for anger, purple for fear, and green for disgust. In the foreground, two characters - a small blue figure with glasses and a tall slender yellow figure with bright blue hair - are examining a particularly bright memory orb. Light streams cascade through the enormous room, creating dramatic beams between the shelves. The space has a warm ambient glow with dramatic shadows. Small maintenance worker characters in uniform can be seen in the background, carefully organizing orbs on distant shelves. The rendering features Pixar's characteristic polished surfaces with subtle reflections and depth-of-field blur for distant elements.",
"lora_url": "https://playgrounds-storage-public.runcomfy.net/models/wan2.1/lora/Remade-AI/Pixar/pixar_10_epochs.safetensors"
}'request_id의 현재 상태를 가져옵니다("in_queue", "in_progress", "completed", "cancelled").
curl --request GET \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/status \
--header "Authorization: Bearer <token>"지정한 request_id의 최종 출력과 메타데이터를 가져옵니다. 작업이 완료되지 않았으면 현재 상태가 반환되어 폴링을 계속할 수 있습니다.
curl --request GET \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/result \
--header "Authorization: Bearer <token>"request_id로 대기 중인 작업을 취소합니다. 진행 중인 작업은 취소할 수 없습니다.
curl --request POST \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/cancel \
--header "Authorization: Bearer <token>"공개적으로 접근 가능한 HTTPS URL을 제공하세요. 서버 측 페치가 가능하고(로그인/쿠키 불필요) 속도 제한이나 봇 차단이 없어야 합니다. 권장: 이미지 ≤ 50MB(약 4K), 동영상 ≤ 100MB(720p 기준 약 2–5분). 비공개 자산은 안정적이거나 사전 서명 URL을 권장합니다.
{
"type": "object",
"title": "입력 스키마",
"required": [
"prompt",
"lora_url"
],
"properties": {
"lora_url": {
"title": "Wan 2.1 LoRA URL",
"description": "필수 Hugging Face 또는 Civitai 링크입니다. 한 번 생성할 때 LoRA 하나만 사용할 수 있습니다.",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/models/wan2.1/lora/Remade-AI/Pixar/pixar_10_epochs.safetensors"
},
"model": {
"title": "Wan 2.1 기본 모델",
"description": "1.3b 또는 14b를 선택합니다. 기본값은 14b입니다.",
"type": "string",
"enum": [
"1.3b",
"14b"
],
"default": "14b"
},
"prompt": {
"title": "프롬프트",
"description": "영상 대상, 장면, 동작, 스타일, 카메라 움직임을 설명하는 필수 텍스트입니다.",
"type": "string",
"default": "A vast circular library of glowing memory orbs stretches in all directions, with tall curved shelves extending upward. Each orb contains a different memory, glowing in various colors - yellow for joy, blue for sadness, red for anger, purple for fear, and green for disgust. In the foreground, two characters - a small blue figure with glasses and a tall slender yellow figure with bright blue hair - are examining a particularly bright memory orb. Light streams cascade through the enormous room, creating dramatic beams between the shelves. The space has a warm ambient glow with dramatic shadows. Small maintenance worker characters in uniform can be seen in the background, carefully organizing orbs on distant shelves. The rendering features Pixar's characteristic polished surfaces with subtle reflections and depth-of-field blur for distant elements."
},
"image": {
"title": "입력 이미지",
"description": "이미지에서 영상을 만들 때 쓰는 선택 사항입니다. 텍스트만으로 생성하려면 비워 두세요.",
"type": "string"
},
"resolution": {
"title": "해상도",
"description": "480p 또는 720p를 선택합니다. 기본값은 480p입니다.",
"type": "string",
"enum": [
"480p",
"720p"
],
"default": "480p"
},
"aspect_ratio": {
"title": "화면 비율(너비:높이)",
"description": "16:9, 1:1, 9:16 중에서 선택합니다. 기본값은 16:9입니다.",
"type": "string",
"enum": [
"16:9",
"1:1",
"9:16"
],
"default": "16:9"
},
"negative_prompt": {
"title": "네거티브 프롬프트",
"description": "영상에서 제외할 요소를 설명하는 선택 사항입니다.",
"type": "string",
"default": ""
},
"sample_guide_scale": {
"title": "프롬프트 강도",
"description": "결과가 프롬프트를 따르는 정도를 0~10으로 조절합니다. 기본값은 5입니다.",
"maximum": 10,
"minimum": 0,
"type": "float",
"default": 5
},
"lora_strength_model": {
"title": "LoRA 강도",
"description": "LoRA가 결과에 미치는 정도를 조절합니다. 값을 높일수록 효과가 강해집니다. 범위는 0~1, 기본값은 1입니다.",
"maximum": 1,
"minimum": 0,
"type": "float",
"default": 1
},
"sample_steps": {
"title": "샘플링 단계",
"description": "1~60 범위에서 설정합니다. 기본값은 30이며 단계를 늘리면 크레딧 비용도 증가합니다.",
"type": "integer",
"default": 30,
"maximum": 60,
"minimum": 1
},
"seed": {
"title": "시드",
"description": "결과를 비슷하게 재현하거나 다른 변형을 만들 때 쓰는 정수입니다. 기본값은 80682279입니다.",
"type": "integer",
"default": 80682279
},
"frames": {
"title": "프레임 수",
"description": "17, 33, 49, 65, 81프레임 중에서 선택합니다.",
"type": "integer",
"enum": [
17,
33,
49,
65,
81
]
},
"sample_shift": {
"title": "샘플링 시프트",
"description": "0~10 범위의 샘플링 시프트 설정입니다.",
"maximum": 10,
"minimum": 0,
"type": "float"
},
"fast_mode": {
"title": "고속 모드",
"description": "Off, Balanced, Fast 중에서 선택합니다. 처리 속도를 높이면 정확도가 낮아질 수 있습니다.",
"type": "string",
"enum": [
"Off",
"Balanced",
"Fast"
]
}
}
}{
"output": {
"type": "object",
"properties": {
"image": {
"type": "string",
"format": "uri",
"description": "단일 이미지 URL"
},
"video": {
"type": "string",
"format": "uri",
"description": "단일 동영상 URL"
},
"images": {
"type": "array",
"description": "여러 이미지 URL",
"items": {
"type": "string",
"format": "uri"
}
},
"videos": {
"type": "array",
"description": "여러 동영상 URL",
"items": {
"type": "string",
"format": "uri"
}
}
}
}
}RunComfy는 최고의 ComfyUI 플랫폼으로서 ComfyUI 온라인 환경과 서비스를 제공하며 ComfyUI 워크플로우 멋진 비주얼을 제공합니다. RunComfy는 또한 제공합니다 AI Models, 예술가들이 최신 AI 도구를 활용하여 놀라운 예술을 창조할 수 있도록 지원합니다.