> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Kelly Kling 4.0을 Comfy Router와 함께 사용하기

> Comfy Router를 통해 kelly/kelly-kling-4.0을 호출합니다: 엔드포인트, 요청 형태, 그리고 Router가 반환하는 응답.

Kelly가 제공하고 Comfy Router가 서빙하는 `kelly/kelly-kling-4.0`의 API 레퍼런스입니다.

**입력:** 텍스트 · **출력:** 비디오

## 요청 설정

[Comfy 워크스페이스](https://platform.comfy.org/profile/api-keys?onboarding=router)에서 키를 생성하고 `COMFY_API_KEY`로 내보내세요. Python의 경우 `pip install comfy-sdk`를 실행하세요. TypeScript의 경우 `npm install @comfyorg/sdk`를 실행하세요. cURL은 원시 HTTP를 사용합니다.

**모델 ID:** `kelly/kelly-kling-4.0`

**엔드포인트:** `POST https://api.comfy.org/v2/models/kelly/kelly-kling-4.0`

> [!NOTE]
>
> Router는 이 모델에 대해 직접 작성된 입력 스키마를 게시하지 않았으므로, 스니펫을 생성할 요청 예시가 없습니다. Router는 본문을 Kelly로 변경 없이 전달합니다: Kelly 자체 API 문서를 바탕으로 본문을 구성한 뒤 [Router 퀵스타트](https://docs.comfy.org/ko/development/comfy-router/quickstart.md)를 사용해 전송하세요.

## 스키마

### 입력

> [!NOTE]
>
> Router는 이 모델에 대해 직접 작성된 입력 스키마를 아직 게시하지 않았습니다: `GET /v2/models/kelly/kelly-kling-4.0/openapi.json`은 `x-comfy-input-schema-authored: false`가 설정된 열린 객체를 반환합니다. Router는 본문을 Kelly로 변경 없이 전달하므로 요청 필드에 대해서는 Kelly 자체 API 문서가 기준이며, Router는 모델별 입력 검증을 수행하지 않습니다. 공급자 검증은 여전히 적용됩니다.

### 출력

*이 스키마는 명명된 속성을 선언하지 않습니다.*

## 배포 전 확인

SDK는 `Idempotency-Key`를 생성하고 자동 재시도에 재사용합니다. 수동으로 재시도할 때는 원본 키를 재사용하세요. Router는 연결을 최대 10분간 유지할 수 있습니다.

요청이 실패하면 Router는 그 이유를 설명하는 `X-Comfy-Error-Type` 응답 헤더를 보냅니다. `422`는 Router가 공급자를 호출하기 전에 입력을 거부했음을 의미하고, `413`은 요청 본문이 Router가 허용하는 크기보다 컸음을 의미합니다. [결과 URL이 만료](https://docs.comfy.org/ko/development/comfy-router/reference.md#결과-에셋)될 수 있으므로 생성된 에셋은 즉시 다운로드하세요.

위의 필드 설명에 명시된 크기 제한은 해당 필드에 대한 공급자 자체의 한도이며, 공급자 사양에서 인용한 것입니다. Router는 전체 요청 본문에 별도의 상한을 적용하며, base64로 인코딩된 미디어도 여기에 포함됩니다. [요청 본문 크기](https://docs.comfy.org/ko/development/comfy-router/limitations.md)를 참고하세요.

이 페이지는 Comfy Router를 통해 호출하는 하나의 파트너 모델을 설명합니다. 동일한 `comfy-sdk` / `@comfyorg/sdk` 패키지에는 Comfy Cloud에서 전체 ComfyUI 워크플로 그래프를 실행하기 위한 두 번째 클라이언트도 포함되어 있습니다: `Comfy(api_key=...)` / `new Comfy({ apiKey })`, 그리고 `client.workflows`, `client.assets`, `client.jobs`가 있습니다. [Comfy SDKs](https://docs.comfy.org/ko/development/api-development/sdks.md)를 참조하세요.

> [card] [헤더](https://docs.comfy.org/ko/development/comfy-router/headers.md)
>
> 인증, 멱등성, 요청 ID, 오류 분류, 재시도 간격, 지출 한도.

> [card] [Router API 사용](https://docs.comfy.org/ko/development/comfy-router/api.md)
>
> 모델 검색, 검증 오류, 재시도, 과금.

> [card] [제한 사항](https://docs.comfy.org/ko/development/comfy-router/limitations.md)
>
> Router가 현재 지원하지 않는 기능과 대신 사용할 방법.


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