Vai al contenuto principale
POST
/
luma
/
tasks
Operate the tasks on the luma.
curl --request POST \
  --url https://api.acedata.cloud/luma/tasks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "ids": [
    "<string>"
  ],
  "action": "generate"
}
'
{
  "id": "<string>",
  "request": {},
  "response": {}
}

Autorizzazioni

Authorization
string
header
obbligatorio

Intestazioni

accept
enum<string>

Specifies the format of the response from the server.

Opzioni disponibili:
application/json

Corpo

application/json
id
string

The ID of the luma task.

ids
string[]

The IDs of the luma tasks.

action
enum<string>
predefinito:generate

Operation type. Use 'retrieve' to get the single task, and 'retrieve_batch' to get the batch of multiple tasks.

Opzioni disponibili:
retrieve,
retrieve_batch

Risposta

Operation performed successfully.

id
string

The ID of the luma task.

request
object

The request of the luma task.

response
object

The response of the luma task.