public
means this task will be processed under PAYG mode.private
means this task will be processed under HYA mode.{
"model": "Qubico/video-toolkit",
"task_type": "background-remove",
"input": {
"video": "https://storage.theapi.app/images/playground/20250725/bf82h5de80b.mp4",
"invert_output": false
},
"config": {
"webhook_config": {
"endpoint": "https://webhook.site/8ed66cc5-8c97-4926-a452-08aed4b450a5",
"secret": ""
}
}
}
curl --location --request POST 'https://api.piapi.ai/api/v1/task' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "Qubico/video-toolkit",
"task_type": "background-remove",
"input": {
"video": "https://storage.theapi.app/images/playground/20250725/bf82h5de80b.mp4",
"invert_output": false
},
"config": {
"webhook_config": {
"endpoint": "https://webhook.site/8ed66cc5-8c97-4926-a452-08aed4b450a5",
"secret": ""
}
}
}'
{
"code": 200,
"data": {
"task_id": "ef501094-2039-402d-95cb-2e43af39fa03",
"model": "Qubico/video-toolkit",
"task_type": "background-remove",
"status": "pending",
"config": {
"service_mode": "",
"webhook_config": {
"endpoint": "https://webhook.site/8ed66cc5-8c97-4926-a452-08aed4b450a5",
"secret": ""
}
},
"input": {
"video": "https://storage.theapi.app/images/playground/20250725/bf82h5de80b.mp4",
"invert_output": false
},
"output": null,
"meta": {
"created_at": "2025-07-25T22:41:18.465048+08:00",
"started_at": "0001-01-01T00:00:00Z",
"ended_at": "0001-01-01T00:00:00Z",
"usage": {
"type": "llm",
"frozen": 0,
"consume": 280000
},
"is_using_private_pool": false
},
"detail": null,
"logs": [],
"error": {
"code": 0,
"raw_message": "",
"message": "",
"detail": null
}
},
"message": "success"
}