> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/roboflow/roboflow-ko/workflows/workflow-blocks/run-a-model/anthropic-claude.md).

# Anthropic Claude

### 이 블록 정보

Anthropic Claude 블록을 사용하면 Workflow에서 Anthropic Claude API를 호출할 수 있습니다.

이 블록은 Workflows에서 지원하는 모든 멀티모달 작업에 사용할 수 있습니다.

그런 다음 API의 결과를 Workflow 출력에 직접 반환할 수 있습니다.

또한 결과를 다른 블록의 입력으로 사용할 수도 있습니다. 예를 들어 Claude에게 예/아니오 질문을 하고, VLM as Classifier 블록으로 결과를 처리한 다음, Continue-If 블록을 사용해 Workflow의 흐름을 제어하는 데 그 정보를 사용할 수 있습니다.

이 블록을 사용하려면 Anthropic API 키가 필요합니다. [Anthropic API 키를 만드는 방법을 알아보세요.](https://docs.anthropic.com/en/api/admin-api/apikeys/get-api-key)

<figure><img src="/files/a9c588f2ed701ce8c879b1f291beae243523d7c8" alt=""><figcaption><p>Single-Label Classification Model 블록.</p></figcaption></figure>

### 이 블록에 보낼 수 있는 항목

Object Detection Model 블록은 다음에서 실행할 수 있습니다:

1. Workflow로 전송하는 이미지
2. Workflow로 전송하는 비디오 프레임
3. Workflow에서 계산된 이미지의 잘라낸 영역(즉, Crop 블록 사용)

### 블록 설정 방법

이 블록을 설정할 때 다음 항목을 제공해야 합니다:

* 작업 유형.
* Claude에 보낼 프롬프트.
* Anthropic API 키

Open Prompt가 기본 작업 유형입니다. 이를 통해 자신만의 프롬프트를 Claude에 보낼 수 있습니다.

single-label 또는 multi-label classification과 같은 다른 작업 유형도 선택할 수 있습니다. 이러한 작업은 다른 Workflow 블록이 이해할 수 있는 형식으로 데이터를 반환하도록 구성되어 있습니다. Claude를 Workflow의 다른 블록과 함께 사용할 계획이라면 이것이 이상적입니다.

<figure><img src="/files/1db6460259f974cf9728e1b3fc6332edd93f0b4f" alt=""><figcaption></figcaption></figure>

또한 Additional Properties 섹션에서 사용할 모델 버전을 선택할 수 있습니다:

<figure><img src="/files/49c981c59417229a54e59ee779ba9d94f6db1e2c" alt=""><figcaption><p>모델 버전을 선택하세요.</p></figcaption></figure>

### 이 블록이 반환하는 항목

### 사용 사례

이 블록은 클라우드 비전 언어 모델(VLM)을 호출하려는 모든 Workflow에 유용합니다.

자체 하드웨어에서 실행되는 VLM이 필요하다면 Qwen-VL 2.5 블록을 사용해 보시기를 권장합니다.

### 예측 형식

아래 카드를 펼치면 이 블록이 반환하는 JSON 데이터를 볼 수 있습니다.

<details>

<summary>예측 형식</summary>

Open Prompt 요청의 경우, 이 블록은 다음 형식으로 데이터를 반환합니다:

```json
[
  {
    "output":  , 
    "anthropic_claude": {
      "output": "이미지에는 AI 모델 작업 설정을 위한 사용자 인터페이스가 보입니다. 인터페이스에는 \"Task Type\" 섹션이 있으며, 여기에서 \"Open Prompt\"가 선택되어 있습니다. 그 아래에는 \"Prompt\" 필드가 있고, 여기에 \"What is the dock number? Return like A1.\"라는 텍스트가 들어 있습니다."

또한 값이 마스킹된 상태로 채워진 것으로 보이는 \"API Key\" 필드도 있습니다(보안을 위해 점으로 표시됨).

이미지 자체에서는 도크 번호가 보이지 않습니다. Prompt 필드의 텍스트는 AI 모델이 도크 번호를 식별하고 응답을 특정 형식(예: \"A1\")으로 작성하도록 하는 지침처럼 보이지만, 실제 도크 번호는 공유해 주신 이미지에 포함되어 있지 않습니다.",
      "classes": null
    }
  }
]
```

</details>

### 배포 고려 사항

이 블록을 사용하려면 인터넷 연결이 필요합니다. 즉, 인터넷 연결이 없는 경우에는 이 블록을 엣지에 배포할 수 없습니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-ko/workflows/workflow-blocks/run-a-model/anthropic-claude.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
