Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
查询图片、视频以及后续音频等异步任务状态。
/v1/tasks/{task_id}
curl https://api.apiany.ai/v1/tasks/task_123 \ -H "Authorization: Bearer $APIANY_API_KEY"
pending
processing
completed
failed
expired
{ "task_id": "task_123", "status": "completed", "model": "nano-banana", "result": { "type": "image", "urls": ["https://.../result.png"] } }
{ "task_id": "task_123", "status": "failed", "error": { "type": "service_error", "message": "任务未能完成。" } }