跳轉到主要內容
POST
/
gemini
/
tasks
Retrieve the result of a Gemini video generation task by its ID.
curl --request POST \
  --url https://api.acedata.cloud/gemini/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>

Gemini Tasks Param Accept

可用選項:
application/json

主體

application/json
id
string

Gemini Tasks Id

ids
string[]

Gemini Tasks Ids

action
enum<string>
預設值:retrieve

Gemini Tasks Action

可用選項:
retrieve,
retrieve_batch

回應

Gemini Tasks Response 200

id
string

Gemini Tasks Response 200 Id

request
object

Gemini Tasks Response 200 Request

response
object

Gemini Tasks Response 200 Response