Get an image generation task
Read the persistent image task for the authenticated caller.
パスパラメーター
- 型: stringtask
_id 必須Task id returned by POST /api/v1/videos/generations.
レスポンス
- 型: object · ImageGenerationTask200
Current task state
- 列挙値kind定数:image必須値
- image
- 型: 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/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"
}
}