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 - consulter une tâche
Consultez l’état et le résultat par ID.
API Requête de tâche de synchronisation labiale
Endpoint
GET /api/open/lip-sync/query?id=YOUR_TASK_ID // Or use POST request POST /api/open/lip-sync/query
En-têtes de requête
Authorization: Bearer YOUR_API_KEY // API key
Paramètres de requête
{
"id": string // Required, task ID returned at task creation
}Réponse
// Success response - 200
{
"success": true,
"data": {
"id": string, // Task ID
"status": string, // Task status: "pending" | "processing" | "completed" | "failed"
"progress": number, // Progress percentage (0-100)
"result_url": string, // Result video URL (returned when completed)
"error_message": string, // Error message (returned when failed)
"created_at": string, // Created time
"updated_at": string, // Updated time
"completed_at": string, // Completed time
"credits_used": number // Credits consumed
}
}
// Error response
{
"error": string // Error message
}Lip-sync - consulter une tâche
Consultez l’état et le résultat par ID.
Exemple CURL
curl -X GET "https://fishaudio.org/api/open/lip-sync/query?id=YOUR_TASK_ID" \ -H "Authorization: Bearer YOUR_API_KEY"
Debug en ligne
Lip-sync - consulter une tâche
Consultez l’état et le résultat par ID.
Codes de statut
200: Success 400: Bad Request 401: Unauthorized 403: Forbidden 404: Not Found 429: Too Many Requests 500: Internal Server Error