텍스트 음성 변환
보이스 클론
립싱크
기타
텍스트 음성 변환
보이스 클론
립싱크
기타
작업 생성
립싱크 작업 생성 API를 테스트합니다.
립싱크 생성 API
엔드포인트
POST /api/open/lip-sync/create
요청 헤더
Content-Type: application/json Authorization: Bearer YOUR_API_TOKEN // API key
요청 파라미터
{
"video_url": string, // Required, publicly accessible video URL
"audio_url": string // Required, publicly accessible audio URL
}응답 데이터
// Success response - 200
{
"success": true,
"message": "Task created successfully",
"data": {
"id": string, // Task ID
"status": string, // Task status: "pending" | "processing"
"created_at": string, // Created time
"credits_used": number, // Credits consumed
"remaining_credits": number // Remaining credits
}
}
// Error response
{
"error": string // Error message
}CURL 예시
curl -X POST https://fishaudio.org/api/open/lip-sync/create \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"video_url": "https://example.com/video.mp4",
"audio_url": "https://example.com/audio.mp3"
}'온라인 디버그
상태 코드
200: Success 400: Bad Request 401: Unauthorized 403: Forbidden 404: Not Found 429: Too Many Requests 500: Internal Server Error