Anthropic 메시지 생성
AnyInt Gateway를 통해 Anthropic 네이티브 메시지를 사용합니다.
Anthropic 메시지 요청 형식을 OpenAI 호환 페이로드로 번역하지 않고 보냅니다.
POST
/anthropic/v1/messages요청 본문
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
model | string | 예 | Anthropic 호환 모델 식별자입니다. |
messages | array | 예 | Anthropic 메시지 콘텐츠 블록입니다. |
max_tokens | integer | 예 | 생성할 최대 토큰 수입니다. |
system | string or array | 아니요 | 시스템 지침입니다. |
관련 작업
POST /anthropic/v1/messages/count_tokens은 입력 토큰 수를 계산합니다.GET /anthropic/v1/models은 사용 가능한 Anthropic 모델을 나열합니다.