메인 콘텐츠로 건너뛰기

1. API 키 받기

platform.xhuoapi.ai에서 계정을 등록하고 API 자격 증명을 생성하세요.
1

계정 등록

platform.xhuoapi.ai에 접속하여 등록을 완료하세요.
2

서비스 구독

사용 가능한 서비스를 둘러보고 받기를 클릭하여 구독을 완료하세요. 대부분의 서비스는 무료 한도를 제공합니다.
3

자격 증명 생성

서비스의 자격 증명 페이지로 이동하여 API 토큰을 생성하세요.

2. 첫 번째 요청 보내기

모든 API는 Bearer Token 인증을 사용합니다:
curl -X POST https://api.xhuoapi.ai/v1/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-20250514",
    "messages": [{"role": "user", "content": "你好!"}]
  }'
import requests

response = requests.post(
    "https://api.xhuoapi.ai/v1/v1/chat/completions",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"},
    json={
        "model": "claude-sonnet-4-20250514",
        "messages": [{"role": "user", "content": "你好!"}],
    },
)
print(response.json())
const response = await fetch("https://api.xhuoapi.ai/v1/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: "Bearer YOUR_API_TOKEN",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "claude-sonnet-4-20250514",
    messages: [{ role: "user", content: "你好!" }],
  }),
});
const data = await response.json();
console.log(data);

3. 더 많은 API 탐색하기

API 참조

모든 API 엔드포인트를 탐색하고 인터랙티브 테스트하기

통합 가이드

각 서비스별 상세 통합 튜토리얼