API 参考Endpoints
Batch get generation tasks
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/tasks/batch" \ -H "Content-Type: application/json" \ -d '{ "taskIds": [ 0 ] }'{ "code": 1000, "data": [ { "id": "img_44160", "taskId": 0, "model": "nano-banana-pro", "type": "image", "status": "pending", "progress": 0, "error": "string", "images": [ "http://example.com" ], "videoUrl": "http://example.com", "coverUrl": "http://example.com" } ]}{ "code": 0, "message": "string"}{ "code": 0, "message": "string"}