Poll a video generation task
Returns the current task status. When status is succeeded, outputs contains signed media URLs (https://openapi.felo.ai/api/v1/media/{file_id}?exp=...&sig=...) that can be downloaded anonymously. Poll at 5-10 second intervals; the task itself continues in the background.
Path Parameters
- Type: stringtask
_id requiredTask id returned by POST /api/v1/videos/generations.
Responses
- Type: object · VideoGenerationTask200
Current task state
- enumkindconst:videorequiredvalues
- video
- Type: array string[] Format: urioutputsrequired
- Type: string enumstatusrequiredvalues
- queued
- running
- succeeded
- failed
- interrupted
- Type: stringtask
_id required - Type: objecterror
Present when the task failed.
- messageType: string
- typeType: string
application/json - Type: object · GenerationError401
Invalid or missing Felo API key
OpenAI-compatible error envelope.
- Type: objecterror
- messageType: stringrequired
- typeType: string enumrequiredvalues
- invalid
_request _error - server
_error
- codeType: string
- paramType: string nullable
application/json - Type: object · GenerationError404
Task not found for this account
OpenAI-compatible error envelope.
- Type: objecterror
- messageType: stringrequired
- typeType: string enumrequiredvalues
- invalid
_request _error - server
_error
- codeType: string
- paramType: string nullable
application/json - Type: object · GenerationError503
Generation service temporarily unavailable
OpenAI-compatible error envelope.
- Type: objecterror
- messageType: stringrequired
- typeType: string enumrequiredvalues
- invalid
_request _error - server
_error
- codeType: string
- paramType: string nullable
application/json
Request Example for get/api/v1/videos/generations/{task_id}
curl 'https://openapi.felo.ai/api/v1/videos/generations/{task_id}' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"task_id": "string",
"status": "queued",
"kind": "video",
"outputs": [
"https://example.com"
],
"error": {
"message": "string",
"type": "string"
}
}