跳转到主要内容
POST
/
grok
/
tasks
Retrieve the result of a Grok video generation task by its ID.
curl --request POST \
  --url https://api.acedata.cloud/grok/tasks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "ids": [
    "<string>"
  ],
  "action": "retrieve"
}
'
{
  "id": "<string>",
  "request": {},
  "response": {}
}

授权

Authorization
string
header
必填

请求头

accept
enum<string>

Grok Tasks Param Accept

可用选项:
application/json

请求体

application/json
id
string

Grok Tasks Id

ids
string[]

Grok Tasks Ids

action
enum<string>
默认值:retrieve

Grok Tasks Action

可用选项:
retrieve,
retrieve_batch

响应

Grok Tasks Response 200

id
string

Grok Tasks Response 200 Id

request
object

Grok Tasks Response 200 Request

response
object

Grok Tasks Response 200 Response