---
title: "Get Task Details"
method: GET
path: "/api/v1/nanobanana/record-info"
---

# Get Task Details

`GET /api/v1/nanobanana/record-info`

Query NanoBanana task execution details and status.

### Status Descriptions
- 0: GENERATING - Task is currently being processed
- 1: SUCCESS - Task completed successfully
- 2: CREATE_TASK_FAILED - Failed to create the task
- 3: GENERATE_FAILED - Task creation succeeded but generation failed

## Query parameters

- `taskId` string, required

## Response `200`

Request successful

- object
  - `code` 200 | 400 | 401 | 404 | 500 — Response status code - **200**: Success - **400**: Parameter error - **401**: Unauthorized - **404**: Task not found - **500**: Server internal error
  - `msg` string — Response message
  - `data` object
    - `taskId` string — Task ID
    - `paramJson` string — Request parameters in JSON format
    - `completeTime` string — Task completion time
    - `response` object — Generation result
      - `originImageUrl` string — BFL original image URL (valid for 10 minutes)
      - `resultImageUrl` string — Our server's image URL
    - `successFlag` 0 | 1 | 2 | 3 — Generation status: 0-generating, 1-success, 2-create task failed, 3-generation failed
    - `errorCode` integer — Error code
    - `errorMessage` string — Error message
    - `createTime` string — Task creation time

## Other responses

- `400` — Parameter error
- `401` — Unauthorized
- `404` — Task not found
- `500` — Server internal error

---

[API](https://skmtc.dev/nanobananaapi/apis/common-api.md) · [All operations](https://skmtc.dev/nanobananaapi/apis/common-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nanobananaapi/common-api/revisions/83dd71119edc/schema)
