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.
パスパラメーター
- 型: stringtask
_id 必須Task id returned by POST /api/v1/videos/generations.
レスポンス
- 型: object · VideoGenerationTask200
Current task state
- 列挙値kind定数:video必須値
- video
- 型: array string[] 形式: urioutputs必須
- 型: string 列挙値status必須値
- queued
- running
- succeeded
- failed
- interrupted
- 型: stringtask
_id 必須 - 型: objecterror
Present when the task failed.
- message型: string
- type型: string
application/json - 型: object · GenerationError401
Invalid or missing Felo API key
OpenAI-compatible error envelope.
- 型: objecterror
- message型: string必須
- type型: string 列挙値必須値
- invalid
_request _error - server
_error
- code型: string
- param型: string null 許容
application/json - 型: object · GenerationError404
Task not found for this account
OpenAI-compatible error envelope.
- 型: objecterror
- message型: string必須
- type型: string 列挙値必須値
- invalid
_request _error - server
_error
- code型: string
- param型: string null 許容
application/json - 型: object · GenerationError503
Generation service temporarily unavailable
OpenAI-compatible error envelope.
- 型: objecterror
- message型: string必須
- type型: string 列挙値必須値
- invalid
_request _error - server
_error
- code型: string
- param型: string null 許容
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"
}
}