curl --request POST \
--url https://api.videodb.io/compile/ \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"inputs": [
{
"media_id": "m-12345",
"start_time": 10,
"end_time": 30
}
],
"output_format": "mp4",
"callback_url": "https://webhook.example.com/callback"
}
'