cURL
curl --request POST \ --url https://api.videodb.io/download \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "stream_link": "https://stream.videodb.io/v/12345", "name": "my_download.mp4" } '
{ "success": true, "status": "processing", "data": { "id": "job-123", "output_url": "https://api.videodb.io/async-response/job-123" } }
Create a new video download job to generate a downloadable file
import videodb conn = videodb.connect(api_key="your_api_key") # Create a download job result = conn.download( stream_link="https://stream.videodb.io/v/abc123def", name="my_export.mp4" ) print(f"Download ID: {result.get('download_id')}")
download_id
generateStream()
name
API key for authentication (sk-xxx format)
"https://stream.videodb.io/v/12345"
"my_download.mp4"
Download initiated
true
processing
done
failed
"processing"
Show child attributes