> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-claude-comfy-concurrency-limits-page-s84u33.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Comfy API 빠른 시작

> AI 코딩 에이전트와 comfy-cli를 사용해 로컬 ComfyUI 환경을 관리형 엔드포인트로 빌드, 릴리스, 배포합니다.

## 에이전트로 시작하기(권장)

배포하려는 로컬 ComfyUI 설치 폴더에서 코딩 에이전트를 시작하세요. 다음 프롬프트를 붙여넣습니다:

```text theme={null}
Install or update comfy-cli, then read its Build and Deploy skills:

pip install -U comfy-cli
comfy skills show comfy-build
comfy skills show comfy-deploy

Use comfy-build to inspect this local ComfyUI install and package its models, custom nodes, and pinned dependencies into a Comfy API Build. Show me what will be included and create a Linux/NVIDIA release. Then use comfy-deploy to show the available GPU and region options, worker bounds, and current rates. Wait for my approval before creating a deployment. After approval, deploy it and explain how to run a workflow.
```

## 빠른 시작

로컬 설치와 `workflow_api.json`으로 저장한 [API 형식 워크플로](/ko/development/api-development/workflow-api-format)가 준비되었을 때 다음 명령을 사용하세요.

<Steps>
  <Step title="초기화">
    ```bash theme={null}
    comfy build init --name "my-comfy-build" --models-dir ./models --custom-nodes-dir ./custom_nodes
    ```
  </Step>

  <Step title="푸시 및 릴리스 생성">
    Build와 해당 에셋을 푸시하고, 사용 가능한 대상을 확인한 다음, Linux/NVIDIA 릴리스가 완료될 때까지 기다립니다:

    ```bash theme={null}
    comfy build push
    comfy build refs build-targets
    comfy build release create --target linux/nvidia --watch
    ```
  </Step>

  <Step title="배포 시작">
    카탈로그에서 사용 가능한 GPU와 리전 조합을 확인한 다음, GPU, 리전, 워커 한도 자리 표시자를 사용자의 설정으로 바꾸세요:

    ```bash theme={null}
    comfy deploy refs compute
    comfy deploy up --gpu <gpu> --region <region> --min <min-workers> --max <max-workers> --watch
    ```
  </Step>

  <Step title="워크플로 실행">
    `comfy deploy up`이 출력한 배포 ID를 `--deployment`와 함께 사용하세요:

    ```bash theme={null}
    comfy deploy run \
      --workflow workflow_api.json \
      --deployment <deployment-id> \
      --output-dir ./results
    ```
  </Step>
</Steps>

## 다른 시작 방법

환경이나 워크플로가 이미 Comfy Desktop 또는 워크플로 파일에 존재한다면 다음 경로를 사용하세요.

<CardGroup cols={2}>
  <Card title="Comfy Desktop 스냅숏" icon="camera" href="/ko/development/serverless/build-sources#comfy-desktop-스냅샷">
    Desktop에서 스냅숏을 내보낸 다음 Build Wizard로 가져옵니다.
  </Card>

  <Card title="워크플로 JSON 가져오기" icon="file-import" href="/ko/development/serverless/build-sources#워크플로-json">
    저장된 워크플로를 Build Wizard로 가져와 Build를 시작합니다.
  </Card>
</CardGroup>

## 다음 단계

<CardGroup cols={2}>
  <Card title="Comfy 워크플로" icon="magnifying-glass" href="https://comfy.org/models?type=workflows">
    커뮤니티가 공유한 ComfyUI 워크플로를 둘러보세요.
  </Card>

  <Card title="앱" icon="grid-2" href="https://comfy.org/models?type=apps">
    ComfyUI로 만든 커뮤니티 앱을 살펴보세요.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.