Fish Model Get API
GEThttps://api.01ai.cloud/fish/model/{id}
Fish Audio 모델 상세 API, 모델 ID에 따라 단일 음성 모델의 상세 정보를 가져옵니다.
경로 매개변수
idstring
얻고자 하는 음성 모델의 고유 식별자.
요청 헤더
acceptstring
지정 서버가 반환하는 응답 형식.
선택해 주세요
authorizationstring
Bearer token
응답
성공200
요청 성공, 음성 모델 상세 정보 반환.
응답 본문
_idstring
음성 모델의 고유 식별자.
tagsarray
모델에 추가된 자유 형식 태그 목록.
배열
string
typestring
음성 모델의 유형(예: `tts`, `svc`).
statestring
모델의 현재 상태(예: `trained`, `training`).
titlestring
음성 모델의 표시 이름.
authorobject
모델 저자의 공개 자료 정보.
object <string, unknown>
samplesarray
해당 음성 모델의 미리보기 오디오 샘플 목록.
배열
object <string, unknown>
languagesarray
해당 음성 모델이 지원하는 언어 목록.
배열
string
created_atstring
모델의 생성 시간.
train_modestring
해당 모델을 구축하는 데 사용된 훈련 모드.
updated_atstring
모델의 마지막 업데이트 시간.
visibilitystring
모델의 가시 범위: `public`(공개) 또는 `private`(비공개).
cover_imagestring
모델 커버 이미지의 URL 주소.
descriptionstring
음성 모델의 상세 설명 정보.
예시
{
"_id": "d7900c21663f485ab63ebdb7e5905036",
"tags": [
"historical"
],
"type": "tts",
"liked": false,
"state": "trained",
"title": "Marcus Aurelius",
"author": {
"_id": "8e0b7add9a474db4b46abe51ef64b3c0",
"nickname": "AceDataCloud"
},
"marked": false,
"samples": [
{
"text": "Hello, this is a sample.",
"audio": "https://cdn.acedata.cloud/assets/examples/fish/5ade0339-5f11-487e-aacc-06a908271706-8e3fcb0e5547.mp3",
"title": "sample 1",
"task_id": "ad1c50e6f1a4474d96a17a91da93dac2"
}
],
"unliked": false,
"languages": [
"en"
],
"created_at": "2024-09-01T07:53:39.476000Z",
"like_count": 12,
"mark_count": 3,
"task_count": 5,
"train_mode": "fast",
"updated_at": "2024-09-01T07:53:39.476000Z",
"visibility": "public",
"cover_image": "https://cdn.acedata.cloud/4hfydw.jpg",
"description": "고전 녹음 훈련에 기반한 역사적 음성 모델.",
"shared_count": 0,
"lock_visibility": false
}실패400token_mismatched
요청 오류, 매개변수가 누락되었거나 유효하지 않을 수 있습니다.
응답 본문
errorobject
codestring
응답의 오류 코드.
messagestring
응답의 오류 정보.
trace_idstring
이번 요청의 추적 ID.
예시
{
"error": {
"code": "token_mismatched",
"message": "The specified token is not matched with API."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}실패400api_not_implemented
요청 오류, 매개변수가 누락되었거나 유효하지 않을 수 있습니다.
응답 본문
errorobject
codestring
응답의 오류 코드.
messagestring
응답의 오류 정보.
trace_idstring
이번 요청의 추적 ID.
예시
{
"error": {
"code": "api_not_implemented",
"message": "The API is not implemented."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}실패400disabled
요청 오류, 매개변수가 누락되었거나 유효하지 않을 수 있습니다.
응답 본문
errorobject
codestring
응답의 오류 코드.
messagestring
응답의 오류 정보.
trace_idstring
이번 요청의 추적 ID.
예시
{
"error": {
"code": "disabled",
"message": "Your application has been disabled by Ace Data Cloud due to abnormal usage behavior, please contact our support to get more information."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}실패400bad_request
요청 오류, 매개변수가 누락되었거나 유효하지 않을 수 있습니다.
응답 본문
errorobject
codestring
응답의 오류 코드.
messagestring
응답의 오류 정보.
trace_idstring
이번 요청의 추적 ID.
예시
{
"error": {
"code": "bad_request",
"message": "model is invalid."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}실패400no_token
요청 오류, 매개변수가 누락되었거나 유효하지 않을 수 있습니다.
응답 본문
errorobject
codestring
응답의 오류 코드.
messagestring
응답의 오류 정보.
trace_idstring
이번 요청의 추적 ID.
예시
{
"error": {
"code": "no_token",
"message": "No token specified for the request."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}실패401invalid_token
미승인, 인증 토큰이 유효하지 않거나 누락되었습니다.
응답 본문
errorobject
codestring
응답의 오류 코드.
messagestring
응답의 오류 정보.
trace_idstring
이번 요청의 추적 ID.
예시
{
"error": {
"code": "invalid_token",
"message": "The specified token is invalid or wrong."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}실패401token_expired
미승인, 인증 토큰이 유효하지 않거나 누락되었습니다.
응답 본문
errorobject
codestring
응답의 오류 코드.
messagestring
응답의 오류 정보.
trace_idstring
이번 요청의 추적 ID.
예시
{
"error": {
"code": "token_expired",
"message": "token expired."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}실패401token_mismatched
미승인, 인증 토큰이 유효하지 않거나 누락되었습니다.
응답 본문
errorobject
codestring
응답의 오류 코드.
messagestring
응답의 오류 정보.
trace_idstring
이번 요청의 추적 ID.
예시
{
"error": {
"code": "token_mismatched",
"message": "token and api does not match."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}실패403used_up
미승인, 인증 토큰이 유효하지 않거나 누락되었습니다.
응답 본문
errorobject
codestring
응답의 오류 코드.
messagestring
응답의 오류 정보.
trace_idstring
이번 요청의 추적 ID.
실패404no_api
미승인, 인증 토큰이 유효하지 않거나 누락되었습니다.
응답 본문
errorobject
codestring
응답의 오류 코드.
messagestring
응답의 오류 정보.
trace_idstring
이번 요청의 추적 ID.
실패429too_many_requests
요청이 너무 많아 속도 제한을 초과했습니다.
응답 본문
errorobject
codestring
응답의 오류 코드.
messagestring
응답의 오류 정보.
trace_idstring
이번 요청의 추적 ID.
실패500api_error
서버 내부 오류, 서버에서 예외가 발생했습니다.
응답 본문
errorobject
codestring
응답의 오류 코드.
messagestring
응답의 오류 정보.
trace_idstring
이번 요청의 추적 ID.

Integration workbench
Shell
Python
JavaScript
Java
Go
PHP
참고: 스트리밍 요청의 경우 위의 코드가 완전히 적용되지 않을 수 있습니다. 변경 사항은 통합 문서를 참조하십시오.
Fish 음성 생성
공용 잔액 사용 허용
‘일반 잔액 허용’을 활성화하면 전용 잔액이 부족할 경우 자동으로 일반 잔액을 사용합니다.

