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"
}
}