页面简介
This endpoint is used to query the result of an asynchronous request.
正文摘录
cURLcURLcurl --request GET \ --url https://api.z.ai/api/paas/v4/async-result/{id} \ --header 'Authorization: Bearer <token>'200default{ "model": "<string>", "task_status": "<string>", "video_result": [ { "url": "<string>", "cover_image_url": "<string>" } ], "request_id": "<string>" }GET/paas/v4/async-result/{id}Try itcURLcURLcurl --request GET \ --url https://api.z.ai/api/paas/v4/async-result/{id} \ --header 'Authorization: Bearer <token>'200default{ "model": "<string>", "task_status": "<string>", "video_result": [ { "url": "<string>", "cover_image_url": "<string>" } ], "request_id": "<string>" }AuthorizationsAuthorizationstringheaderrequiredUse the following format for authentication: Bearer HeadersAccept-Languageenum<string>default:en-US,enConfig desired response language for HTTP requests.Available options: en-US,en Example:"en-US,en"Path ParametersidstringrequiredTask id.Response200application/jsonProcessing successfulVideo GenerationImage GenerationmodelstringModel name.task_statusstringProcessing status, PROCESSING (processing), SUCCESS (success), FAIL (failure). Note: Processing status needs to be obtained via query.video_resultobject[]Video generation results.Hide child attributesvideo_result.urlstringVideo URL.video_result.cover_image_urlstringVideo cover URL.request_idstringTask number submitted by the user during the client request or generated by the platform.Was this page helpful?YesNo