텍스트 음성 변환 (HTTP)

음성 클론 - 모델 생성

립싱크 - 작업 생성

사용자 프로필

사용자 프로필

API 잔여량과 기본 계정 정보를 확인합니다.

사용자 프로필 API

엔드포인트

GET /api/open/profile

API 잔여량과 기본 계정 정보를 확인합니다.

요청 헤더

Authorization: Bearer YOUR_API_KEY  // API key

요청 파라미터

{
  "token": "YOUR_API_KEY"  // Optional if not provided in header
}

응답 데이터

// Success response - 200
{
  "user_id": "user_123",
  "api_quota_remaining": 1500,
  "tier": "free",
  "credits": 1000
}

// Error response
{
  "error": string  // Error message
}

응답 데이터

user_id: 사용자 프로필
api_quota_remaining: API 잔여량과 기본 계정 정보를 확인합니다.
tier: 사용자 프로필
credits: API 잔여량과 기본 계정 정보를 확인합니다.

CURL 예시

# GET request
curl -X GET https://fishaudio.org/api/open/profile \
  -H "Authorization: Bearer YOUR_API_KEY"

# POST request (via header)
curl -X POST https://fishaudio.org/api/open/profile \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{}'

# POST request (via body)
curl -X POST https://fishaudio.org/api/open/profile \
  -H "Content-Type: application/json" \
  -d '{
    "token": "YOUR_API_KEY"
  }'

온라인 디버그

API 잔여량과 기본 계정 정보를 확인합니다.

  • API 잔여량과 기본 계정 정보를 확인합니다.
  • 요청 헤더
  • 요청 파라미터
  • API 잔여량과 기본 계정 정보를 확인합니다.

상태 코드

200: Success
400: Bad Request
401: Unauthorized
403: Forbidden
404: Not Found
429: Too Many Requests
500: Internal Server Error