Saltar para o conteúdo principal
POST
/
seedance
/
tasks
Seedance Tasks
curl --request POST \
  --url https://api.acedata.cloud/seedance/tasks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "ids": [
    "<string>"
  ],
  "action": "generate"
}
'
{
  "id": "<string>",
  "request": {},
  "response": {}
}

Autorizações

Authorization
string
header
obrigatório

Cabeçalhos

accept
enum<string>

Specifies the format of the response from the server.

Opções disponíveis:
application/json

Corpo

application/json
id
string

The ID of the suno task.

ids
string[]

The IDs of the suno tasks.

action
enum<string>
padrão:generate

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

Opções disponíveis:
retrieve,
retrieve_batch

Resposta

Operation performed successfully.

id
string

The ID of the seedream task.

request
object

The request of the seedream task.

response
object

The response of the seedream task.