텍스트 음성 변환

보이스 클론

립싱크

기타

모델 생성

보이스 모델 생성 API를 테스트합니다.

모델 생성 API

엔드포인트

POST /api/open/create-model

요청 헤더

Content-Type: multipart/form-data
Authorization: Bearer YOUR_API_TOKEN  // API 키

요청 파라미터

Form Data:
name: string        // undefined,모델 이름
description: string // undefined,모델 설명
visibility: string  // undefined,Model visibility,undefined 'private',undefined:'public' | 'private'
audioFiles: File  // undefined,오디오 파일,Format:wav/mp3

응답 데이터

// undefined - 200
{
  "modelId": string,    // Created model ID
  "title": string,     // 모델 이름
  "description": string, // 모델 설명
  "createdAt": string,  // Created at
  "message": string     // Success message
}

// undefined
{
  "error": string     // undefined
}

CURL 예시

curl -X POST https://fishaudio.org/api/open/create-model \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -F "name=모델 이름" \
  -F "description=모델 설명" \
  -F "visibility=private" \
  -F "audioFiles=@/path/to/audio1.wav"

온라인 디버그

상태 코드

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