Anthropic 메시지 생성

AnyInt Gateway를 통해 Anthropic 네이티브 메시지를 사용합니다.

Anthropic 메시지 요청 형식을 OpenAI 호환 페이로드로 번역하지 않고 보냅니다.

POST/anthropic/v1/messages

요청 본문

필드유형필수설명
modelstringAnthropic 호환 모델 식별자입니다.
messagesarrayAnthropic 메시지 콘텐츠 블록입니다.
max_tokensinteger생성할 최대 토큰 수입니다.
systemstring or array아니요시스템 지침입니다.

관련 작업

  • POST /anthropic/v1/messages/count_tokens은 입력 토큰 수를 계산합니다.
  • GET /anthropic/v1/models은 사용 가능한 Anthropic 모델을 나열합니다.