Task Management

Get task status

Query the execution status of image and video generation tasks and retrieve results when complete

get/api/v1/task/status/{taskId}

Request

  • Base URL: https://api.api-stock.com
  • URL: https://api.api-stock.com/api/v1/task/status/{taskId}
  • Auth: HTTP bearer

Path parameters

taskIdstring required
Example:task-unified-1757165031-uyujaw3d

Unique task identifier returned from the submit endpoint

Response

Task status retrieved successfully

codenumber required

HTTP status code

Example response

{
  "code": 200,
  "data": {
    "taskId": "019ca881-9503-7270-a560-f00fc2b15785",
    "status": "finished",
    "files": [
      {
        "file_url": "https://s3.api-stock.com/generated/image-abc123.jpg",
        "file_type": "image"
      }
    ],
    "createdTime": "2025-11-12T10:30:00"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.