Jimeng Official Format Query Task
Jimeng Image
Jimeng Official Format Query Task
Use POST /jm to query the status and result of Jimeng official format tasks.
POST
Jimeng Official Format Query Task
Jimeng Official Format Query Task
The task query API for Jimeng official format, used to query the status and result of image generation tasks.- The route entry is
POST /jm. ActionandVersionquery parameters are required in the URL.- Specify the task to query through
task_idin the Body. - Returns the task status (
generating,success,failed) and image download URLs.
Method and Path
Request Example
Response Example
Generating
Generation Successful
Generation Failed
Authentication
Query Parameters
Operation type. Fixed value:
CVSync2AsyncGetResult (query result).API version. Fixed value:
2022-08-31.Body
Service identifier. Fixed value:
jimeng_t2i_v40.Task ID. The
task_id returned when the task was created.A JSON-serialized string. Currently supports watermark configuration and whether to return image links; this can be added in the response result. For example:
{"return_url": true}.Response
Status code.
10000 indicates success.Response data container.
An array of Base64-encoded images.
An array of image URLs. Returned when
return_url: true is set in req_json.Task status. Possible values:
generating (generating), success (success), failed (failed).Status message.
Request ID.
Status code.
Request duration.