Obtenir une tâche de génération d'image
Lit la tâche d'image persistante de l'appelant authentifié.
Paramètres de chemin
- Type: stringtask
_id obligatoireID de tâche renvoyé par POST /api/v1/videos/generations.
Réponses
- Type: object · ImageGenerationTask200
État actuel de la tâche
- enumkindconstante:imageobligatoirevaleurs
- image
- Type: array string[] Format: urioutputsobligatoire
- Type: string enumstatusobligatoirevaleurs
- queued
- running
- succeeded
- failed
- interrupted
- Type: stringtask
_id obligatoire - Type: objecterror
Présent lorsque la tâche a échoué.
- messageType: string
- typeType: string
application/json - Type: object · GenerationError401
Clé API Felo invalide ou manquante
Enveloppe d'erreur compatible OpenAI.
- Type: objecterror
- messageType: stringobligatoire
- typeType: string enumobligatoirevaleurs
- invalid
_request _error - server
_error
- codeType: string
- paramType: string nullable
application/json - Type: object · GenerationError404
Tâche introuvable pour ce compte
Enveloppe d'erreur compatible OpenAI.
- Type: objecterror
- messageType: stringobligatoire
- typeType: string enumobligatoirevaleurs
- invalid
_request _error - server
_error
- codeType: string
- paramType: string nullable
application/json - Type: object · GenerationError503
Service de génération temporairement indisponible
Enveloppe d'erreur compatible OpenAI.
- Type: objecterror
- messageType: stringobligatoire
- typeType: string enumobligatoirevaleurs
- invalid
_request _error - server
_error
- codeType: string
- paramType: string nullable
application/json
Request Example for get/api/v1/images/generations/{task_id}
curl 'https://openapi.felo.ai/api/v1/images/generations/{task_id}' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"task_id": "string",
"status": "queued",
"kind": "image",
"outputs": [
"https://example.com"
],
"error": {
"message": "string",
"type": "string"
}
}