cURL
curl --request POST \ --url https://api.acedata.cloud/kling/tasks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "id": "<string>", "ids": [ "<string>" ], "action": "generate" } '
{ "id": "<string>", "request": {}, "response": {} }
API token from https://platform.acedata.cloud
Specifies the format of the response from the server.
application/json
The ID of the Kling task.
The IDs of the Kling tasks.
Operation type. Use 'retrieve' to get the single task, and 'retrieve_batch' to get the batch of multiple tasks.
retrieve
retrieve_batch
Operation performed successfully.
The ID of the kling task.
The request of the kling task.
The response of the kling task.
這個頁面有幫助嗎?