GET
/
api
/
v1
/
gpt4o-image
/
record-info
Get 4o Image Details
curl --request GET \
  --url https://api.kie.ai/api/v1/gpt4o-image/record-info \
  --header 'Authorization: Bearer <token>'
{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "task12345",
    "paramJson": "{\"prompt\":\"A beautiful sunset over the mountains\",\"size\":\"1:1\",\"isEnhance\":false}",
    "completeTime": 1672574400000,
    "response": {
      "resultUrls": [
        "https://example.com/result/image1.png"
      ]
    },
    "successFlag": 1,
    "status": "SUCCESS",
    "errorCode": null,
    "errorMessage": "",
    "createTime": 1672561200000,
    "progress": "1.00"
  }
}

Status Descriptions

  • GENERATING: Generating in progress
  • SUCCESS: Generation successful
  • CREATE_TASK_FAILED: Failed to create task
  • GENERATE_FAILED: Generation failed

Important Notes

  • Maximum query rate is 3 times per second per task

Authorizations

Authorization
string
header
required

All APIs require authentication via Bearer Token.

Get API Key:

  1. Visit API Key Management Page to get your API Key

Usage: Add to request header: Authorization: Bearer YOUR_API_KEY

Note:

  • Keep your API Key secure and do not share it with others
  • If you suspect your API Key has been compromised, reset it immediately in the management page

Query Parameters

taskId
string
required

Unique identifier of the 4o image generation task

Response

200
application/json

Request successful

The response is of type object.