API Reference (Legacy)
Get Task Detail

Get Task Detail

Action GetGenerateTaskDetail



This interface is no longer maintained.

This interface is used to get the details and results of a task.


Parameter NameTypeDescriptionRequired
ActionStringThe corresponding API command name, which is GetGenerateTaskDetail for this API
PublicKeyStringUser's public key, which can be obtained from User Center (opens in a new tab)
SignatureStringUser's signature generated based on the public key and API command, see Signature
request_uuidStringRequest UUID, randomly generated using UUID generation method
TaskUIDStringTask UID

Request Example

    "Action":    "GetGenerateTaskDetail",
    "PublicKey": "ALLak9M4cNdHXKOJAJJ4k8Hh1hZS2EgJF1D0FlPwfl",
    "Signature": "fbe9cb6bad175e885e85b13f6a202bec59f48d90",
    "TaskUID": "cjr997tleg738lelk3n0"


Field NameTypeDescriptionRequired
RetCodeIntReturn status code. 0 indicates successful return, non-zero indicates failure
ActionStringOperation command name
MessageStringError message returned when RetCode is non-zero
TaskTypeStringTask type
TaskStatusStringCurrent task status, possible values: Queuing, Running, Finished, Error
FinalPictureUrls[]StringResult picture URLs
TaskErrorMsgStringError message when an error occurs
TaskErrorCodeIntError code when an error occurs, 0 indicates normal operation

Response Example

    "Action": "",
    "RetCode": 0,
    "Message": "",
    "TaskType": "TaskGeneratePicture",
    "TaskStatus": "Finished",
    "FinalPictureUrls": [
    "TaskErrorMsg": "",
    "TaskErrorCode": 0