curl --request GET \
--url https://api.maxapi.io/api/v1/task/9db7d1ed-d1e5-4d11-9f3a-61f653b905ad \
--header 'Authorization: Bearer <token>'
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "9db7d1ed-d1e5-4d11-9f3a-61f653b905ad",
"status": "SUCCESS",
"input": {
"model": "nano-banana",
"prompt": "赛博朋克风格的东京街景",
"ratio": "16:9",
"resolution": "2k"
},
"result": {
"type": "image",
"urls": [
"https://example.com/output/image1.png",
"https://example.com/output/image2.png"
]
},
"created_at": "2026-02-10T21:54:46.686768Z",
"updated_at": "2026-02-10T21:55:04.039815Z"
}
}
Query task status and results
curl --request GET \
--url https://api.maxapi.io/api/v1/task/9db7d1ed-d1e5-4d11-9f3a-61f653b905ad \
--header 'Authorization: Bearer <token>'
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "9db7d1ed-d1e5-4d11-9f3a-61f653b905ad",
"status": "SUCCESS",
"input": {
"model": "nano-banana",
"prompt": "赛博朋克风格的东京街景",
"ratio": "16:9",
"resolution": "2k"
},
"result": {
"type": "image",
"urls": [
"https://example.com/output/image1.png",
"https://example.com/output/image2.png"
]
},
"created_at": "2026-02-10T21:54:46.686768Z",
"updated_at": "2026-02-10T21:55:04.039815Z"
}
}
Query the current status and generation results of a task byDocumentation Index
Fetch the complete documentation index at: https://docs.maxapi.io/llms.txt
Use this file to discover all available pages before exploring further.
taskId.
0 indicates success.Show properties
PENDING, PROCESSING, SUBMITTED, SUCCESS, FAILURE, TIMEOUT, CANCELLED.SUCCESS; for other terminal states it is null.null when no specific actionable reason applies.| Value | Meaning | Recommended Action |
|---|---|---|
CONTENT_MODERATION | Prompt or image rejected due to real human faces, copyrighted characters or public figures, or NSFW content | Notify the user; do not retry |
INVALID_PARAMETERS | Submitted parameters are invalid | Fix request parameters; do not retry until corrected |
INSUFFICIENT_POINTS | Account has insufficient credits | Prompt user to recharge; do not retry |
null | No specific actionable reason | May retry if appropriate |
curl --request GET \
--url https://api.maxapi.io/api/v1/task/9db7d1ed-d1e5-4d11-9f3a-61f653b905ad \
--header 'Authorization: Bearer <token>'
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "9db7d1ed-d1e5-4d11-9f3a-61f653b905ad",
"status": "SUCCESS",
"input": {
"model": "nano-banana",
"prompt": "赛博朋克风格的东京街景",
"ratio": "16:9",
"resolution": "2k"
},
"result": {
"type": "image",
"urls": [
"https://example.com/output/image1.png",
"https://example.com/output/image2.png"
]
},
"created_at": "2026-02-10T21:54:46.686768Z",
"updated_at": "2026-02-10T21:55:04.039815Z"
}
}