Texte vers parole (HTTP)
Clonage vocal - créer un modèle
Lip-sync - créer une tâche
Profil utilisateur
Texte vers parole (HTTP)
Clonage vocal - créer un modèle
Lip-sync - créer une tâche
Profil utilisateur
Lip-sync - créer une tâche
Créez une tâche de génération vidéo lip-sync.
API Créer une tâche de synchronisation labiale
Endpoint
POST /api/open/lip-sync/create
En-têtes de requête
Content-Type: application/json Authorization: Bearer YOUR_API_KEY // API key
Paramètres de requête
{
"video_url": string, // Required, publicly accessible video URL
"audio_url": string // Required, publicly accessible audio URL
}Réponse
// 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
}Exemple CURL
curl -X POST https://fishaudio.org/api/open/lip-sync/create \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"video_url": "https://example.com/video.mp4",
"audio_url": "https://example.com/audio.mp3"
}'Debug en ligne
Codes de statut
200: Success 400: Bad Request 401: Unauthorized 403: Forbidden 404: Not Found 429: Too Many Requests 500: Internal Server Error