Query Status and Download the Video (Jimeng Format)

Endpoint

POST /jimeng/?Action=CVSync2AsyncGetResult&Version=2022-08-31

Request Body

The query is a POST request with the task ID in the body:

FieldTypeRequiredNotes
task_idstringYesTask ID returned by the create endpoint

Request Examples

cURL
Python
Node.js
# Query the task result
curl -X POST "https://api-model.shuntianchuang.cn/jimeng/?Action=CVSync2AsyncGetResult&Version=2022-08-31" \
  -H "Authorization: Bearer sk-your-token" \
  -H "Content-Type: application/json" \
  -d '{ "task_id": "task_xxxxxxxx" }'

# After the task reaches SUCCESS, download from the data.result_url direct link
curl -o jimeng.mp4 "video URL returned in data"

Response Body

The query response is a unified task JSON with the key fields below:

data fieldNotes
task_idTask ID
statusStatus flow: NOT_START (submitted, pending) → QUEUED / SUBMITTED (queued, submitted) → IN_PROGRESS (generating) → SUCCESS or FAILURE
progressProgress percentage string, e.g. "50%"
result_urlDirect video download link after success; download and store it promptly
fail_reasonFailure reason

Response Example

{
  "code": "success",
  "data": {
    "task_id": "task_xxxxxxxx",
    "status": "SUCCESS",
    "progress": "100%",
    "result_url": "https://xxxx/video.mp4",
    "fail_reason": ""
  }
}
NOTE

Jimeng format parameters are mapped by the gateway before being forwarded upstream; availability, billing, and response fields are subject to this site's actual responses; model names and prices are subject to the Model Plaza. Billing is settled on actual usage at task completion (auto-refunded on failure).